-
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
[master] sonic-db-cli was not able to connect to CHASSIS DB when namespace is provided. #18733
Comments
This seems a regression introduced by sonic-net/sonic-swss-common#797. Before this PR, sonic-db-cli use tcp socket to connect to CHASSIS DBs by default. But with this PR, now it always uses unix socket when namespace is provided. |
Add @kenneth-arista @arista-nwolfe @arlakshm for viz. |
Afte PR797, behaviours has been changed.
I have fixed one case with PR sonic-net/sonic-swss-common#866 : "sonic-db-cli -n asic0 PING" which is in the database.sh. In our private branch, we temporarily address this issue by modifying the swss.sh to use sonic-db-cli without asic instance when it wants to access CHASSIS DB. |
The issue will be discussed in chassis meeting. |
Some related history: #7002 |
Additional related history: #17962 |
sonic-net/sonic-swss-common#883 also merged |
Description
sonic-db-cli
was not able to connect to CHASSIS DB in host namespace when namespace is provided:It worked fine within asic namespace (without providing namespace):
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
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: