sonic-buildimage
sonic-buildimage copied to clipboard
BMP_STATE_DB database breaks Smart Switch database service
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.
Steps to reproduce the issue:
- Compile an image from the latest master branch that includes PR #19016
- Install image on the Smart Switch device
- 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 )