Skip to content
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

chassisdb.conf path has to be sourced from platform directory in docker-database #5631

Closed
BrynXu opened this issue Oct 14, 2020 · 0 comments · Fixed by #5632
Closed

chassisdb.conf path has to be sourced from platform directory in docker-database #5631

BrynXu opened this issue Oct 14, 2020 · 0 comments · Fixed by #5632

Comments

@BrynXu
Copy link
Contributor

BrynXu commented Oct 14, 2020

Description
On a linecard, chassisdb.conf will not be present in /etc/sonic because
this is a condition to start docker-database-chassis. However we still
want to source this file and proceed to create database_global.json, add
redis_chassis.server to the container and to not call
update_chassisdb_config.
This is a bug on VoQ modular switch only.

Steps to reproduce the issue:
The problem will happen on VoQ modular switch linecard once Sonic boots up.

Describe the results you received:
Missing chassis_db info in database_config.json in VoQ linecard.

Describe the results you expected:
database_config.json in VoQ linecard should be the same as the database_config.json in supervisor.

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@lguohan lguohan linked a pull request Oct 18, 2020 that will close this issue
3 tasks
lguohan pushed a commit that referenced this issue Oct 21, 2020
use correct chassisdb.conf path while bringing up chassis_db service on VoQ modular switch.chassis_db service on VoQ modular switch.

resolves #5631

Signed-off-by: Honggang Xu <hxu@arista.com>
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this issue Feb 25, 2021
use correct chassisdb.conf path while bringing up chassis_db service on VoQ modular switch.chassis_db service on VoQ modular switch.

resolves sonic-net#5631

Signed-off-by: Honggang Xu <hxu@arista.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant