Backups taken after Sept 15 are failing to be restored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Al Bailey |
Bug Description
Brief Description
-----------------
When invoking the 'backup' operation of a backup/restore after Sept 15, it no longer
contains /opt/platform/
Severity
--------
Minor
Steps to Reproduce
------------------
Boot an AIO-SX load that is built with code merged after Sept 15, 2022
namely this commit
https:/
Run a backup
ansible-playbook -v /usr/share/
Boot the fresh ISO, and attempt a restore
ansible-playbook /usr/share/
-e "initial_
-e "backup_
-e "registry_
Expected Behavior
------------------
It should succeed
Actual Behavior
----------------
It fails with a resolv.conf error
Reproducibility
---------------
100%
System Configuration
-------
AIO-SX (Debian)
Branch/Pull Time/Commit
-------
Sept 18, 2022
Last Pass
---------
Sept 14, 2022
Timestamp/Logs
--------------
TASK [restore-
Sunday 18 September 2022 18:19:24 +0000 (0:00:00.702) 0:32:42.299 ******
fatal: [localhost]: FAILED! => changed=true
cmd:
- tar
- -C
- /opt/platform/
- -xpf
- /opt/platform-
- --overwrite
- --transform=s,.*/,,
- opt/platform/
delta: '0:00:00.153427'
end: '2022-09-18 18:19:25.312428'
msg: non-zero return code
rc: 2
start: '2022-09-18 18:19:25.159001'
stderr: |-
tar: opt/platform/
tar: Exiting with failure status due to previous errors
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
Test Activity
-------------
Feature Testing
Workaround
----------
None. The file no longer exists at that location.
The restore code needs to remove the requirement of restoring that file, since it is no longer used
tags: | added: stx.8.0 stx.update |
Changed in starlingx: | |
importance: | Undecided → Medium |
assignee: | nobody → Al Bailey (albailey1974) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/858406
Review: https:/