Backup & Restore fails to restore on Standard Storage lab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Ovidiu Poncea |
Bug Description
Brief Description
-----------------
Perform a backup:
ansible-playbook /usr/share/
Re-install the lab and perform the restore:
ansible-playbook /usr/share/
The restore fails with error
TASK [restore-
TASK [restore-
ok: [localhost]
TASK [restore-
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["tar", "-C", "/opt/platform/
PLAY RECAP *******
localhost : ok=333 changed=192 unreachable=0 failed=1
Severity
--------
Major
Steps to Reproduce
------------------
See Brief Description
Expected Behavior
------------------
Restore should complete successfully
Actual Behavior
----------------
Restore fails
Reproducibility
---------------
Always
System Configuration
-------
Standard Storage lab
Last Pass
---------
Unknown
Branch/Pull Time/Commit
-------
BUILD_ID=
JOB="STX_
<email address hidden>"
BUILD_NUMBER="313"
BUILD_HOST=
BUILD_DATE=
Timestamp/Logs
--------------
NA
Test Activity
-------------
Developer Testing
summary: |
- Backup & Restore fails to restore on Storage lab + Backup & Restore fails to restore on Standard Storage lab |
Changed in starlingx: | |
assignee: | nobody → Ovidiu Poncea (ovidiu.poncea) |
Issue most likely happens because sysinv subfolder of /opt/platform doesn't exists. Before https:/ /review. opendev. org/691713 it was created by sysinv, but no longer happens.
Therefore, this seems to be a duplicate of: https:/ /bugs.launchpad .net/starlingx/ +bug/1852065 . I'm not going to mark it as duplicate as it will hide it from search.