System Allows Upgrade while a restore is not marked complete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Dipankar Kar |
Bug Description
Brief Description
If an upgrade initiated without marking the restore complete, then the upgrade will fail because sysinv will skip downloading images in a restore setting.
Customer facing Backup & Restore documentation does indicate that the restore should be marked complete, so no documentation updates are required.
Severity
Major - An upgrade can fail if the operator fails to mark the restore as complete.
Steps to Reproduce
Install centos version of stx
Upgrade to any other later version.
Restore the lab.
Do not mark the restore completed.
Upgrade controllers
Run activation-upgrade
At this point there will be a failure.
Expected Behavior
There should be a Symantec check that the restore is marked complete in two locations:
The output of "system health-
Running "system upgrade-upgrade <controller>" should not run in the event a restore is in progress.
Actual Behavior
The system allows the upgrade to proceed, during the upgrade sysinv starts and skips downloading required images, and then upgrade-activate step fails.
Reproducibility
100%
Last Pass
This scenario has not been identified before.
Workaround
Make sure to run "system restore-show" and do not proceed with any upgrade step unless the output is "Restore procedure not in progress"
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.update |
Changed in starlingx: | |
assignee: | nobody → Dipankar Kar (dipkar) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/906271
Review: https:/