TASK [restore-platform/restore-more-data : Restore sysinv default configuration file] ******************************************************************************************************************************************************
Wednesday 08 November 2023 18:48:06 +0000 (0:00:00.551) 0:29:52.355 ****
fatal: [localhost]: FAILED! => changed=true
cmd:
- tar
- -C
- /opt/platform/sysinv/22.12
- -xpf
- /opt/platform-backup/localhost_platform_backup_2023_11_08_23_01_40.tgz
- --wildcards
- --transform=s,.*/,,
- '*/sysinv.conf.default'
delta: '0:00:00.150347'
end: '2023-11-08 18:48:07.367373'
msg: non-zero return code
rc: 2
start: '2023-11-08 18:48:07.217026'
stderr: |-
tar: */sysinv.conf.default: Not found in archive
tar: Exiting with failure status due to previous errors
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
By default in upgrade we are following "optimized restore" so the file "sysinv.conf.default" never gets restored during upgrade, so if legacy restore is performed it fails. But this may be needed for legacy restore performed on an non-upgraded system?
Re-opening as an additional fix is required...
The restore still failed with the following error
TASK [restore- platform/ restore- more-data : Restore sysinv default configuration file] ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* *** sysinv/ 22.12 backup/ localhost_ platform_ backup_ 2023_11_ 08_23_01_ 40.tgz conf.default' conf.default: Not found in archive
Wednesday 08 November 2023 18:48:06 +0000 (0:00:00.551) 0:29:52.355 ****
fatal: [localhost]: FAILED! => changed=true
cmd:
- tar
- -C
- /opt/platform/
- -xpf
- /opt/platform-
- --wildcards
- --transform=s,.*/,,
- '*/sysinv.
delta: '0:00:00.150347'
end: '2023-11-08 18:48:07.367373'
msg: non-zero return code
rc: 2
start: '2023-11-08 18:48:07.217026'
stderr: |-
tar: */sysinv.
tar: Exiting with failure status due to previous errors
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
By default in upgrade we are following "optimized restore" so the file "sysinv. conf.default" never gets restored during upgrade, so if legacy restore is performed it fails. But this may be needed for legacy restore performed on an non-upgraded system?