sonic-net / sonic-buildimage

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

[portsorch] Port status notifications is not processed if there is only one port connected #7594

Open vganesan-nokia opened 3 years ago

vganesan-nokia commented 3 years ago

Description

If there is only port is connected, the port's operational status is not detected correctly.

Steps to reproduce the issue:

  1. Remove connection to all the front panel ports.
  2. Pick any one front panel port and connect to a device to make the link up
  3. Reboot the box. Note: This problem is not always reproducible. This problem occurs intermittently due to timing issues as described below in "additional information" section.

Describe the results you received:

After box comes and operational, even if the only port is connected to a live device, the operational status of that port is still shows as "down".

Describe the results you expected:

After reboot, operational status of the only port connected to an external device should be "up"

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

anshuv-mfst commented 3 years ago

@abdosi - could you please take a look, thanks.