You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Root cause is this https://github.com/sonic-net/sonic-utilities/blob/master/pfc/main.py file does not take any namespace as input, thus all the config db in this file is the host's config db, so the execution of all PFC commands in this file are incorrect if it depends on asic's config db.. e.g. config pfc priority is finding table 'PORT_QOS_MAP' which only exists in asic's config db.
The solution is hard to achieve, because the file itself is called by utilities_common.cli, need to find a way to pass additional arguments such as ctx or namespace
Description
Issue:
Root cause is this https://github.com/sonic-net/sonic-utilities/blob/master/pfc/main.py file does not take any namespace as input, thus all the config db in this file is the host's config db, so the execution of all PFC commands in this file are incorrect if it depends on asic's config db.. e.g. config pfc priority is finding table 'PORT_QOS_MAP' which only exists in asic's config db.
The solution is hard to achieve, because the file itself is called by utilities_common.cli, need to find a way to pass additional arguments such as
ctx
ornamespace
Workaround:
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
Additional information you deem important (e.g. issue happens only occasionally)
Output of
show version
The text was updated successfully, but these errors were encountered: