sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
737 stars 1.43k forks source link

BMP_STATE_DB database breaks Smart Switch database service #20694

Open oleksandrivantsiv opened 1 week ago

oleksandrivantsiv commented 1 week ago

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 #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 commented 1 week ago

@prsunny FYI