Is it platform specific
generic
Importance or Severity
High
Description of the bug
After System.SetPackage, image may be installed and marked as next, but reboot may not reliably boot the intended target unless sonic-installer set-next-boot is explicitly called.
Fix used:
images = _get_images_from_sonic_installer_list(duthost)
if images.get("next") == cfg.to_version:
duthost.shell(f"sudo sonic-installer set-next-boot '{cfg.to_version}'")
Steps to Reproduce
Run full SmartSwitch DPU+NPU gNOI upgrade.
Actual Behavior and Expected Behavior
Actual:
Device can reboot into old image.
Expected:
After SetPackage, next boot target should be explicitly validated/enforced before reboot.
Relevant log output
Output of show version
Attach files (if any)
No response
Is it platform specific
generic
Importance or Severity
High
Description of the bug
After System.SetPackage, image may be installed and marked as next, but reboot may not reliably boot the intended target unless sonic-installer set-next-boot is explicitly called.
Fix used:
images = _get_images_from_sonic_installer_list(duthost)
if images.get("next") == cfg.to_version:
duthost.shell(f"sudo sonic-installer set-next-boot '{cfg.to_version}'")
Steps to Reproduce
Run full SmartSwitch DPU+NPU gNOI upgrade.
Actual Behavior and Expected Behavior
Actual:
Device can reboot into old image.
Expected:
After SetPackage, next boot target should be explicitly validated/enforced before reboot.
Relevant log output
Output of
show versionAttach files (if any)
No response