Lock a host during a backup in progress causes future upgrades to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Luis Eduardo Angelini Marquitti |
Bug Description
Brief Description
-----------------
Orchestrated upgrade failed on a subcloud because the last backup run did not complete correctly.
The /etc/platform/
Severity
--------
Major
Steps to Reproduce
------------------
Start a backup process
Lock the host before the backup process ends
Try performing an upgrade or another backup on the host
Expected Behavior
------------------
Prevent the user from locking the host while the backup is running
Actual Behavior
----------------
User can lock host while backup is running, causing future backups and upgrades to fail
Reproducibility
---------------
Reproducible
System Configuration
-------
AIO-SX
SX Subcloud
Branch/Pull Time/Commit
-------
-
Last Pass
---------
-
Timestamp/Logs
--------------
TASK [backup/prepare-env : Check if backup is in progress] *******
ok: [localhost]TASK [backup/prepare-env : Fail if backup is already in progress] **************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Backup is already in progress!"}PLAY RECAP *******
localhost : ok=6 changed=2 unreachable=0 failed=1
sysinv 2022-08-11 04:04:26.135 12124 INFO sysinv.
sysinv 2022-08-11 04:04:26.136 12124 ERROR sysinv.
2022-08-11 04:04:26.136 12124 ERROR sysinv.
2022-08-11 04:04:26.136 12124 ERROR sysinv.
2022-08-11 04:04:26.136 12124 ERROR sysinv.
2022-08-11 04:04:26.136 12124 ERROR sysinv.
2022-08-11 04:04:26.136 12124 ERROR sysinv.
2022-08-11 04:04:26.136 12124 ERROR sysinv.
2022-08-11 04:04:26.136 12124 ERROR sysinv.
Test Activity
-------------
Backup or Upgrade execution
Workaround
----------
Manually delete the /etc/platform/
Changed in starlingx: | |
assignee: | nobody → Luis Eduardo Angelini Marquitti (leduard1) |
tags: | added: stx.8.0 stx.update |
Changed in starlingx: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/859441
Review: https:/