We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The issue is caused by:
commit 365afbb3f031ab3e5e5aa0f4a2104b62ddb9d8c2 (HEAD -> 202205, origin/202205) Author: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Thu Jul 13 05:01:14 2023 +0800 Move /var/log to RAM for Mellanox SN2700, Nokia 7215 and Dell S6100 (#15077) (#15804)
It blocks verification of warm/fast reboot flows, since loganalyzer loses it's markers.
loganalyzer
Before:
root@sonic:/home/admin# df -h /var/log Filesystem Size Used Avail Use% Mounted on /dev/loop1 3.9G 8.9M 3.7G 1% /var/log
After:
root@sonic:/home/admin# df -h /var/log Filesystem Size Used Avail Use% Mounted on tmpfs 790M 2.8M 788M 1% /var/log
/var/log/syslog
Logs are removed
Logs should be stored/rotated
show version
show techsupport
The text was updated successfully, but these errors were encountered:
This is not an image issue. Moving logs to tmpfs is done to minimize risk to the disk. Disappearing log files is expected after reboot.
As for test issues related to missing logs for LogAnalyzer -- we have a way to detect if logs are in tmpfs and take a backup for loagnalyzer to work - https://github.com/sonic-net/sonic-mgmt/blob/a29ea09e6d707f0dd233a8b0e17d9dbb8c1f7ccf/tests/platform_tests/conftest.py#L489
If there is an issue w/ sonic-mgmt code, then let's raise a bug there, attach failure logs. You can assign that to me.
@nazariig please close this buildimage issue if you agree w/ my analysis.
Sorry, something went wrong.
[advanced-reboot] Handle logs on tmpfs for all new platforms (#9094)
dbe13bc
Fix the tests failing on newly addded platforms where logs are moved to tmpfs. Related PR: sonic-net/sonic-buildimage#15077 Fixes: sonic-net/sonic-buildimage#15895 This change updates the check from hwsku match to platform match
[advanced-reboot] Handle logs on tmpfs for all new platforms (sonic-n…
e8ca075
…et#9094) Fix the tests failing on newly addded platforms where logs are moved to tmpfs. Related PR: sonic-net/sonic-buildimage#15077 Fixes: sonic-net/sonic-buildimage#15895 This change updates the check from hwsku match to platform match
prgeor
Successfully merging a pull request may close this issue.
Description
The issue is caused by:
It blocks verification of warm/fast reboot flows, since
loganalyzer
loses it's markers.Before:
After:
Steps to reproduce the issue:
/var/log/syslog
file content/var/log/syslog
file content (syslog.1, etc.)Describe the results you received:
Logs are removed
Describe the results you expected:
Logs should be stored/rotated
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: