sonic-net / sonic-buildimage

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

DASH smartswitch DPU orchagent zmq listens to wrong midplane IP #20295

Open mukeshmv opened 1 day ago

mukeshmv commented 1 day ago

Description

On the DASH Smartswitch, the orchagent is started on DPU with -q option to enable zmq listen. With midplane IP support it is set to listen to a specific IP rather than wildcard. But the DPU midplane IP is obtained by DHCP and changes after init. Hence the zmq channel configurations are not received by DPU orchagent.

Steps to reproduce the issue:

  1. Boot the switch and DPU with midplane IP support
  2. Push configurations
  3. Configurations do not show up in DPU swss.rec

Workaround

Edit orchagent.sh to start listen on wildcard and restart DPU ORCHAGENT_ARGS+=" -q tcp://0.0.0.0:8100"

prsunny commented 1 day ago

@prabhataravind , @qiluo-msft , @theasianpianist , @Pterosaur for viz