-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[chassis][nokia][202405.17]: Chassisd crashes when updating moduledb #21131
Closed
liamkearney-msft opened this issue
Dec 11, 2024
· 2 comments
· Fixed by sonic-net/sonic-platform-daemons#573
Closed
[chassis][nokia][202405.17]: Chassisd crashes when updating moduledb #21131
liamkearney-msft opened this issue
Dec 11, 2024
· 2 comments
· Fixed by sonic-net/sonic-platform-daemons#573
Comments
@mlok-nokia for viz... |
Just for documentation purposes I believe this causes iBGP neighbours not to come up so tests generally fail (when .17 is on sup card), whole host of other issues as well |
Merged
10 tasks
mssonicbld
pushed a commit
to mssonicbld/sonic-platform-daemons
that referenced
this issue
Dec 20, 2024
…net#573) Description On Nokia platform, slot name of Supervisor is string "A" instead of a number. Using "int" to convert it could cause issue backtrace. We should use slot value to any checking without any conversion. This will fixes sonic-net/sonic-buildimage#21131 Motivation and Context Modify the _get_module_info not to convert "slot" to a string value. And also modify the code not to convert slot value to an to do any checking. Just directly use the returned value of get_slot(). Also add UT test_moduleupdater_check_slot_string() to valid it. How Has This Been Tested? Tested on 202405 branch Signed-off-by: mlok <[email protected]>
mssonicbld
pushed a commit
to sonic-net/sonic-platform-daemons
that referenced
this issue
Dec 20, 2024
Description On Nokia platform, slot name of Supervisor is string "A" instead of a number. Using "int" to convert it could cause issue backtrace. We should use slot value to any checking without any conversion. This will fixes sonic-net/sonic-buildimage#21131 Motivation and Context Modify the _get_module_info not to convert "slot" to a string value. And also modify the code not to convert slot value to an to do any checking. Just directly use the returned value of get_slot(). Also add UT test_moduleupdater_check_slot_string() to valid it. How Has This Been Tested? Tested on 202405 branch Signed-off-by: mlok <[email protected]>
vvolam
pushed a commit
to vvolam/sonic-platform-daemons
that referenced
this issue
Jan 3, 2025
…net#573) Description On Nokia platform, slot name of Supervisor is string "A" instead of a number. Using "int" to convert it could cause issue backtrace. We should use slot value to any checking without any conversion. This will fixes sonic-net/sonic-buildimage#21131 Motivation and Context Modify the _get_module_info not to convert "slot" to a string value. And also modify the code not to convert slot value to an to do any checking. Just directly use the returned value of get_slot(). Also add UT test_moduleupdater_check_slot_string() to valid it. How Has This Been Tested? Tested on 202405 branch Signed-off-by: mlok <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Chassisd fails on supervisor on Nokia 7250, leading to syncd/swss not starting up. Backtrace seen on the syslog is as follows:
This is due to this PR : sonic-net/sonic-platform-daemons#560 , and the fact that nokia uses characters (eg. A, B, C etc.) for its slot name.
Steps to reproduce the issue:
Describe the results you received:
No syncd containers running
Describe the results you expected:
syncd starts as expected
Output of
show version
:20240510.17
Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: