When N3000 is used by an app, an N3000 reset will be triggered
during upgrade. If the system is AIO-SX, the migration will fail
because a certain image is required, because image are not available
at this point in the upgrade.
The N3000 reset can be skipped by created a volatile flag.
This flag is cleared on reboot so the N3000 reset will be
executed after unlock.
TEST PLAN
* AIO-SX optimized upgrade, stx6 to stx8, with FEC app
* AIO-SX optimized upgrade, stx6 to stx8, without FEC app
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/910236 /opendev. org/starlingx/ ansible- playbooks/ commit/ e3257ebfbab2f16 ad4f9f32e815735 64ef1a9695
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit e3257ebfbab2f16 ad4f9f32e815735 64ef1a9695
Author: Joshua Kraitberg <email address hidden>
Date: Mon Feb 26 10:03:05 2024 -0500
Skip N3000 reset during AIO-SX upgrade migration
When N3000 is used by an app, an N3000 reset will be triggered
during upgrade. If the system is AIO-SX, the migration will fail
because a certain image is required, because image are not available
at this point in the upgrade.
The N3000 reset can be skipped by created a volatile flag.
This flag is cleared on reboot so the N3000 reset will be
executed after unlock.
TEST PLAN
* AIO-SX optimized upgrade, stx6 to stx8, with FEC app
* AIO-SX optimized upgrade, stx6 to stx8, without FEC app
Closes-Bug: 2055049 183555b73eeadc8 4e3ab180ffa
Change-Id: Ia026cc6ed05bd3
Signed-off-by: Joshua Kraitberg <email address hidden>