-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
[Z9332][202012]: "FLEX_COUNTER_TABLE" is missing from config_db.json after fast-reboot #9597
Comments
@vaibhavhd Can you please help take a look at this issue raised by DELL? |
@chitra-raghavan We have a question in regard to the PFC, PFCWD issue that you observed.
|
@gechiang , PFCWD functions after few minutes when flex counters get initiated. The configs are written back to config_db.json in /etc/sonic/ only after config save -y. |
@chitra-raghavan I have discussed with @vaibhavhd about this and the changes that he made was needed to reduce the fast-reboot down time. The problem you observed is in-line with what was expected. For post 202012 and master image a more "complete" solution is in place, so we do not expect to see what you observed here in 202012. As for the config-db.json is not matching that of the running config it is also expected. If user performed additional con figuration at that time it will perform config save which will take care of ensuring that the FLEX COUNTER config will be applied into config-db.json file. Even if let's say somehow the switch rebooted explicitly/implicitly, upon reboot completes, the FLEX COUNTER config will be in the running config and will not be lost. |
@gechiang , if this expected issue , we can close this issue. |
Description
"FLEX_COUNTER_TABLE" is missing from config_db.json after fast-reboot.
The Configs are added back to config_db.json after config save , Once the system settles down after few minutes ,
Steps to reproduce the issue:
Describe the results you received:
When device comes up after fastboot FLEX_COUNTER_TABLE configs are re-initiated in the device only after few minutes
FLEX_COUNTER_TABLE is missing in config_db.json and re-added only upon config save -y ( Need to wait for few min for FLEX counters to get started)
Until the flex counters get initiated , PFC,PFCWD doesnt work for initial few minutes.
Logs
Output of
show version
:Output of
show techsupport
:sonic_dump_sonic_20211220_124940.tar.gz
config_db files
config_db-Before_FastReboot.txt
config_db-AfterFastReboot.txt
config_db-AfterConfigSave.txt
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: