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

BMP_STATE_DB database breaks Smart Switch database service #20694

Closed
oleksandrivantsiv opened this issue Nov 4, 2024 · 5 comments
Closed

BMP_STATE_DB database breaks Smart Switch database service #20694

oleksandrivantsiv opened this issue Nov 4, 2024 · 5 comments
Assignees
Labels

Comments

@oleksandrivantsiv
Copy link
Collaborator

Description

The addition of the BMP_STATE_DB database in PR #19016 breaks the Smart Switch database service and fully blocks SONiC startup on the Smart Switch NPU. In the Smart Switch, we have a DPU DB instance running on the NPU in a separate container for each DPU available in the system. With the implementation in PR #19016, each container tries to run the redis_bmp process, which listens on the same port 6400. Since multiple applications cannot listen on the same port, the start of the DPU containers fails, blocking the SONiC startup.

image

image

Steps to reproduce the issue:

  1. Compile an image from the latest master branch that includes PR Add new redis database instance for BMP_STATE_DB. #19016
  2. Install image on the Smart Switch device
  3. Check DPU DB status

Describe the results you received:

DPU DB fails to start

Describe the results you expected:

DPU DB starts with no issue

Output of show version:

The image is based on 47a4e04307052d0fb850df98922e54be967f6414 hash

Output of show techsupport:

(paste your output here or download and attach the file here )

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

@oleksandrivantsiv
Copy link
Collaborator Author

@prsunny FYI

@arlakshm arlakshm added the Triaged this issue has been triaged label Nov 6, 2024
@FengPan-Frank
Copy link
Contributor

#20863, fix PR is out for review.

@wdoekes
Copy link
Contributor

wdoekes commented Nov 20, 2024

And so is #20726.

@FengPan-Frank
Copy link
Contributor

FengPan-Frank commented Nov 21, 2024

@oleksandrivantsiv I've made a fix PR #20863, and verified on local KVM. Thanks.

@FengPan-Frank
Copy link
Contributor

PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants