-
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
["SFLOW"] | after reload config_db.json sflow going to disabled state #9473
Comments
Nvidia team will debug further according to comments from issue tirage meeting |
config reload -y In the above execution from latest master sonic-cfggen is taking config_db.json first followed by init_cfg.json which will make default values in init_cfg.json override user configuration values. In 202106 we find below is the order if [ "$(systemctl is-enabled swss.service)" == "enabled" ]; then echo "hello"; fi
However, the order was reversed in this PR sonic-net/sonic-utilities#1781. Is there any specific reason for it? If not, can you please make the order as earlier so user config takes precedence over default? |
What I did Fixes sonic-net/sonic-buildimage#9473 How I did it Preserve the old order of the config reload Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
What I did Fixes sonic-net/sonic-buildimage#9473 How I did it Preserve the old order of the config reload Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
What I did Fixes sonic-net/sonic-buildimage#9473 How I did it Preserve the old order of the config reload Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
Description
After reload config_db.json sflow going to disabled state.
Command
show feature status
shows sflow in disabled state afterconfig reload -y
Steps to reproduce the issue:
*if it has
"state": "disabled"
change to"enabled"
show feature status
config reload -y
show feature status
Actual result
Command
show feature status
shows sflow in disabled state afterconfig reload -y
Expected result
Command
show feature status
shows sflow in enabled state afterconfig reload -y
Output of show version:
SONiC.master.51908-dirty-20211117.173456
Output of show techsupport:
sonic_dump_r-tigon-11_20211208_150029.tar.gz
The text was updated successfully, but these errors were encountered: