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 Seastone DX010-C32: show platform firmware updates #11317

Closed
FunForNOS opened this issue Jul 2, 2022 · 5 comments
Closed

Celestica Seastone DX010-C32: show platform firmware updates #11317

FunForNOS opened this issue Jul 2, 2022 · 5 comments

Comments

@FunForNOS
Copy link

Description

the command show platform firmware updates fails with a chassis names mismatch instead of listing updates.

Steps to reproduce the issue:

  1. Install Sonic 202111 or 202205
  2. log in as admin
  3. issue command show platform firmware updates

Describe the results you received:

Output:

admin@sonic:~$ show platform firmware updates
Error: Chassis names mismatch: keys=['Celestica-DX010-C32', 'Seastone-DX010']. Aborting...
Aborted!

Describe the results you expected:

The command shows available updates, e.g. works as designed.

Output of show version:

admin@sonic:~$ show version

SONiC Software Version: SONiC.202111.114441-e8daeacd3
Distribution: Debian 11.3
Kernel: 5.10.0-8-2-amd64
Build commit: e8daeacd3
Build date: Sat Jun 25 20:00:32 UTC 2022
Built by: AzDevOps@sonic-build-workers-001OKA

Platform: x86_64-cel_seastone-r0
HwSKU: Seastone-DX010
ASIC: broadcom
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 08:39:01 up 30 min,  4 users,  load average: 0.83, 0.75, 0.63

Docker images:
REPOSITORY                    TAG                       IMAGE ID       SIZE
docker-syncd-brcm             202111.114441-e8daeacd3   4e27432ac89d   798MB
docker-syncd-brcm             latest                    4e27432ac89d   798MB
docker-gbsyncd-credo          202111.114441-e8daeacd3   c5b0c92c4048   474MB
docker-gbsyncd-credo          latest                    c5b0c92c4048   474MB
docker-dhcp-relay             latest                    cce38ba00022   433MB
docker-orchagent              202111.114441-e8daeacd3   796c0264eafe   452MB
docker-orchagent              latest                    796c0264eafe   452MB
docker-nat                    202111.114441-e8daeacd3   34369d8e429f   437MB
docker-nat                    latest                    34369d8e429f   437MB
docker-fpm-frr                202111.114441-e8daeacd3   eb901261db6f   452MB
docker-fpm-frr                latest                    eb901261db6f   452MB
docker-macsec                 202111.114441-e8daeacd3   d281120d993c   437MB
docker-macsec                 latest                    d281120d993c   437MB
docker-teamd                  202111.114441-e8daeacd3   9b811857fff6   434MB
docker-teamd                  latest                    9b811857fff6   434MB
docker-sonic-telemetry        202111.114441-e8daeacd3   e52bf76682eb   508MB
docker-sonic-telemetry        latest                    e52bf76682eb   508MB
docker-snmp                   202111.114441-e8daeacd3   39ca86f575d8   463MB
docker-snmp                   latest                    39ca86f575d8   463MB
docker-platform-monitor       202111.114441-e8daeacd3   523fd8aacfdb   684MB
docker-platform-monitor       latest                    523fd8aacfdb   684MB
docker-sonic-mgmt-framework   202111.114441-e8daeacd3   896fb274c5a8   574MB
docker-sonic-mgmt-framework   latest                    896fb274c5a8   574MB
docker-sflow                  202111.114441-e8daeacd3   f31496b8f1ea   435MB
docker-sflow                  latest                    f31496b8f1ea   435MB
docker-router-advertiser      202111.114441-e8daeacd3   179f73576642   420MB
docker-router-advertiser      latest                    179f73576642   420MB
docker-lldp                   202111.114441-e8daeacd3   2ce7f21a190c   460MB
docker-lldp                   latest                    2ce7f21a190c   460MB
docker-mux                    202111.114441-e8daeacd3   e4a843de630d   472MB
docker-mux                    latest                    e4a843de630d   472MB
docker-database               202111.114441-e8daeacd3   bbfb5876af97   420MB
docker-database               latest                    bbfb5876af97   420MB

Output of show techsupport:

[sonic_dump_sonic_20220702_083918.tar.gz](https://github.com/Azure/sonic-buildimage/files/9032791/sonic_dump_sonic_20220702_083918.tar.gz)
@salvadorb
Copy link

I'm facing exactly the same problem

@qnos
Copy link
Contributor

qnos commented Jan 13, 2023

PR #13356 fix this issue.

lguohan pushed a commit that referenced this issue Jan 19, 2023
Why I did it
Fix the following issues for Seastone platform:

- system-health issue: show system-health detail will not complete #9530, Celestica Seastone DX010-C32: show system-health detail fails with 'Chassis' object has no attribute 'initizalize_system_led' #11322
- show platform firmware updates issue: Celestica Seastone DX010-C32: show platform firmware updates #11317
- other platform optimization

How I did it
Modify and optimize the platform implememtation.

How to verify it
Manual run the test commands described in these issues.
qiluo-msft pushed a commit that referenced this issue Jan 19, 2023
Why I did it
Fix the following issues for Seastone platform:

- system-health issue: show system-health detail will not complete #9530, Celestica Seastone DX010-C32: show system-health detail fails with 'Chassis' object has no attribute 'initizalize_system_led' #11322
- show platform firmware updates issue: Celestica Seastone DX010-C32: show platform firmware updates #11317
- other platform optimization

How I did it
Modify and optimize the platform implememtation.

How to verify it
Manual run the test commands described in these issues.
@prgeor
Copy link
Contributor

prgeor commented Jan 20, 2023

with PR 13356 this issue is now broken @assrinivasan FYI

root@str2-dx010-acs-7:~# show platform firmware updates
Error: Chassis names mismatch: keys=['Seastone-DX010', 'Celestica-DX010-C32']. Aborting...
Aborted!
root@str2-dx010-acs-7:~# 
root@str2-dx010-acs-7:~# 
root@str2-dx010-acs-7:~# show platform summary
Platform: x86_64-cel_seastone-r0
HwSKU: Celestica-DX010-C32
ASIC: broadcom
ASIC Count: 1
root@str2-dx010-acs-7:~#

@qnos
Copy link
Contributor

qnos commented Jan 20, 2023

with PR 13356 this issue is now broken @assrinivasan FYI

root@str2-dx010-acs-7:~# show platform firmware updates
Error: Chassis names mismatch: keys=['Seastone-DX010', 'Celestica-DX010-C32']. Aborting...
Aborted!
root@str2-dx010-acs-7:~# 
root@str2-dx010-acs-7:~# 
root@str2-dx010-acs-7:~# show platform summary
Platform: x86_64-cel_seastone-r0
HwSKU: Celestica-DX010-C32
ASIC: broadcom
ASIC Count: 1
root@str2-dx010-acs-7:~#

Hi prgeor,

Seems your build customized the default SKU to Celestica-DX010-C32, but community default SKU is Seastone-DX010. All SKUs shared the same platform.json, so the chassis name in platform.json could not match every SKU. If so, I think some additional mechanisms should be introduced for the mismatch issue. How do you think about it?

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue Jan 23, 2023
Why I did it
Fix the following issues for Seastone platform:

- system-health issue: show system-health detail will not complete sonic-net#9530, Celestica Seastone DX010-C32: show system-health detail fails with 'Chassis' object has no attribute 'initizalize_system_led' sonic-net#11322
- show platform firmware updates issue: Celestica Seastone DX010-C32: show platform firmware updates sonic-net#11317
- other platform optimization

How I did it
Modify and optimize the platform implememtation.

How to verify it
Manual run the test commands described in these issues.
@FunForNOS
Copy link
Author

Can confirm this bug is fixed. Tested with build id 207726.

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue Feb 3, 2023
Why I did it
Fix the following issues for Seastone platform:

- system-health issue: show system-health detail will not complete sonic-net#9530, Celestica Seastone DX010-C32: show system-health detail fails with 'Chassis' object has no attribute 'initizalize_system_led' sonic-net#11322
- show platform firmware updates issue: Celestica Seastone DX010-C32: show platform firmware updates sonic-net#11317
- other platform optimization

How I did it
Modify and optimize the platform implememtation.

How to verify it
Manual run the test commands described in these issues.
mssonicbld pushed a commit that referenced this issue Feb 4, 2023
Why I did it
Fix the following issues for Seastone platform:

- system-health issue: show system-health detail will not complete #9530, Celestica Seastone DX010-C32: show system-health detail fails with 'Chassis' object has no attribute 'initizalize_system_led' #11322
- show platform firmware updates issue: Celestica Seastone DX010-C32: show platform firmware updates #11317
- other platform optimization

How I did it
Modify and optimize the platform implememtation.

How to verify it
Manual run the test commands described in these issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants