Skip to content

[action] [PR:12871] [Feat] Enhance upgrade image script to support chassis devices#12879

Merged
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/12871
May 17, 2024
Merged

[action] [PR:12871] [Feat] Enhance upgrade image script to support chassis devices#12879
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/12871

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Enhance upgrade image script to support chassis device.
For chassis device, we need to firstly upgrade the image for supervisor cards, then upgrade the image for line cards.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

Enhance the upgrade_image script to support chassis devices.

How did you do it?

  1. Upgrade image on the supervisor cards, then wait 900s for the supervisor card to be ready.
  2. Upgrade image on the line cards, then wait 300s for the line cards to be ready.
  3. The sonichosts defautly run commands on all supervisor cards and line cards at the same time, enhance the framework to be able to upgrade specific hosts.

How did you verify/test it?

Run upgrade image script on the chassis device and pizzbox device, both of them works well

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

…-net#12871)

Description of PR
Summary:
Enhance upgrade image script to support chassis device.
For chassis device, we need to firstly upgrade the image for supervisor cards, then upgrade the image for line cards.

Approach
What is the motivation for this PR?
Enhance the upgrade_image script to support chassis devices.

How did you do it?
Upgrade image on the supervisor cards, then wait 900s for the supervisor card to be ready.
Upgrade image on the line cards, then wait 300s for the line cards to be ready.
The sonichosts defautly run commands on all supervisor cards and line cards at the same time, enhance the framework to be able to upgrade specific hosts.
How did you verify/test it?
Run upgrade image script on the chassis device and pizzbox device, both of them works well

co-authorized by: [email protected]
@mssonicbld
Copy link
Collaborator Author

Original PR: #12871

@mssonicbld mssonicbld merged commit 71edef4 into sonic-net:202305 May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants