Open dgsudharsan opened 1 year ago
@abdosi can you take a look
@abdosi could you please share an eta for such a fix?
@abdosi Any progress on this issue?
@abdosi Recently MSFT reported that COFIG_DB shouldn't be updated at runtime - https://github.com/sonic-net/sonic-buildimage/issues/20462 and this issue is related to that, do you have an ETA for a fix ?
Description
The below PRs introduced the concept of has_asic_per_scope field present as a template and when hostcfgd reads, it renders the template and write value back to redis CONFIG_DB.
https://github.com/sonic-net/sonic-host-services/blob/7ab097843ead1376e9eed28f07f36670ebbb4066/scripts/hostcfgd#L326
https://github.com/sonic-net/sonic-host-services/pull/14 https://github.com/sonic-net/sonic-buildimage/pull/11796
However, in our testing we rarely see an issue where the jina template is not rendered.
These are the sequence of events inferred from the logs May 15 21:16:43.647038 r-boxer-sw01 NOTICE sudo: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/local/bin/config ztp disable -y May 15 21:16:46.644863 r-boxer-sw01 NOTICE sudo: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/local/bin/config save -y May 15 21:17:51.619898 r-boxer-sw01 NOTICE sudo: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/local/bin/config qos reload May 15 21:17:53.671974 r-boxer-sw01 INFO hostcfgd: Feature lldp is enabled and started May 15 21:18:06.864260 r-boxer-sw01 NOTICE sudo: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/local/bin/config save -y
Steps to reproduce the issue:
1. 2. 3.
Describe the results you received:
has_per_asic_scope is not rendered
Describe the results you expected:
has_per_asic_scope should be rendered in running configuration.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
log.tar.gz