[Mellanox] When 40G optic is in PLUGGED-ERR state, no amber LED is activated
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- embedded-iot
Research direction
Reproduce the issue on the x86_64-mlnx_msn2100-r0 platform using the documented optic swap and compare the output of docker exec -it syncd sx_api_ports_dump.py for 100G and 40G PLUGGED-ERR states. Trace the platform code that maps this state to LED behavior; done means a non-Mellanox 40G optic activates the same amber LED indication as the 100G case.
Written by the indexing model from the issue text.
Description
Setup:
admin@sonic:~$ show version | head
SONiC Software Version: SONiC.HEAD.763-a7701fe
Distribution: Debian 9.5
Kernel: 4.9.0-7-amd64
Build commit: a7701fe
Build date: Mon Oct 15 12:47:09 UTC 2018
Built by: johnar@jenkins-worker-3
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-orchagent-mlnx HEAD.763-a7701fe 73031690b2e6 259.7 MB
admin@sonic:~$ show platform summary
Platform: x86_64-mlnx_msn2100-r0
HwSKU: ACS-MSN2100
ASIC: mellanox
Issue:
I observed that once I put 100G optic in the switch which is unsupported it starts blinking with an amber LED to indicate that.
However, with exactly the same situation with 40G optics, the LED is not activated at all.
I think the latter case should start an orange LED as well.
admin@sonic:~$ docker exec -it syncd sx_api_ports_dump.py
=================================================================================================================
| log_port|local_port|label_port| mtu| admin_s| oper_s| module_s| pvid| oper_speed| fec_mode|
=================================================================================================================
| 0x10100| 1| 7| 9122| UP| DOWN| PLUGGED-ERR| 1| N/A| None|
| 0x10500| 5| 8| 9122| UP| DOWN| UNPLUGGED| 1| N/A| None|
| 0x10900| 9| 5| 9122| UP| UP| PLUGGED| 1| 100GB_CR4| RS|
| 0x10d00| 13| 6| 9122| UP| DOWN| UNPLUGGED| 1| N/A| None|
| 0x11100| 17| 3| 9122| UP| DOWN| PLUGGED| 1| N/A| None|
| 0x11500| 21| 4| 9122| UP| DOWN| UNPLUGGED| 1| N/A| None|
| 0x11900| 25| 1| 9122| UP| DOWN| PLUGGED| 1| N/A| None|
| 0x11d00| 29| 2| 9122| UP| DOWN| UNPLUGGED| 1| N/A| None|
| 0x12100| 33| 10| 9122| UP| DOWN| UNPLUGGED| 1| N/A| None|
| 0x12500| 37| 9| 9122| UP| DOWN| PLUGGED-ERR| 1| N/A| None|
| 0x12900| 41| 12| 9122| UP| DOWN| UNPLUGGED| 1| N/A| None|
| 0x12d00| 45| 11| 9122| UP| DOWN| PLUGGED-ERR| 1| N/A| None|
| 0x13100| 49| 14| 9122| UP| UP| PLUGGED| 1| 40GB_CR4| None|
| 0x13500| 53| 13| 9122| UP| DOWN| PLUGGED-ERR| 1| N/A| None|
| 0x13900| 57| 16| 9122| UP| DOWN| PLUGGED| 1| N/A| None|
| 0x13d00| 61| 15| 9122| UP| DOWN| UNPLUGGED| 1| N/A| None|
=================================================================================================================
Reproduce steps:
Put a non-mellanox optic in the switch. Compare LED behaviour for 100G and 40G types.
- Dominant language
- Python
- Stars
- 58
- Forks
- 241
- Avg merge
- 5d 12h
- Merged PRs (30d)
- 8
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sonic-net/sonic-platform-common
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
sonic-net/sonic-platform-common#760 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
sonic-net/sonic-platform-common#543 · 2 comments ·
All issues in sonic-net/sonic-platform-common
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100