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

[Celestica] Fix Seastone2 LED init script to not break port status #10827

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukasstockner
Copy link
Contributor

Why I did it

Fixes #10103.

The LED init script that was added in #9769 enables the port LEDs, but it turns out that the linkscan change combined with Broadcom SAI 6.0 breaks detection of port status on boot.

How I did it

Without the linkscan and sleep, the LEDs still work as expected, and the port status is correct again.

Fixed script was provided by @jonwhaley: #10103 (comment)

How to verify it

Apply the change on a Seastone2 switch, reboot, observe that port LEDs work and link status is detected.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

#9769 is only included in 202111.

Description for the changelog

Fix Seastone2 port status detection on boot.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

image (6)

@lukasstockner lukasstockner requested a review from a team as a code owner June 10, 2022 02:01
@lukasstockner lukasstockner force-pushed the seastone-2-port-status-led-fix branch from 736a524 to 55b15c3 Compare November 10, 2022 15:14
Fixes sonic-net#10103.

The LED init script that was added in sonic-net#9769 enables the port LEDs, but
it turns out that the linkscan change combined with Broadcom SAI 6.0
breaks detection of port status on boot.

Without the linkscan and sleep, the LED still work as expected, and
the port status is correct again.

Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
@lukasstockner lukasstockner force-pushed the seastone-2-port-status-led-fix branch from 55b15c3 to d67e5ee Compare April 22, 2023 10:39
@lukasstockner
Copy link
Contributor Author

@gechiang @prsunny I'm not really sure who to ping for a review here, any help would be appreciated.

@lguohan lguohan added the device label Sep 23, 2023
bluecmd added a commit to kamelnetworks/sonic-buildimage that referenced this pull request Feb 3, 2024
bluecmd added a commit to kamelnetworks/sonic-buildimage that referenced this pull request Feb 19, 2024
bluecmd added a commit to kamelnetworks/sonic-buildimage that referenced this pull request Feb 19, 2024
bluecmd added a commit to kamelnetworks/sonic-buildimage that referenced this pull request Mar 3, 2024
bluecmd added a commit to kamelnetworks/sonic-buildimage that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broadcom SAI 6.0.0.13 breaks Seastone2 port status on boot
3 participants