Restore stx-openstack fails due to application-apply not supported mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Thales Elero Cervi |
Bug Description
Brief Description
-----------------
After performing a platform backup with stx-openstack applied, when trying to restore the application it fails due to an unsupported apply mode.
Severity
--------
Critical: stx-openstack can not be restored after a backup.
Steps to Reproduce
------------------
* Apply the stx-openstack application to your system (system application-apply)
* Perform a platform backup: ansible-playbook /usr/share/
* Remove the stx-openstack application from your system (system application-remove) for enabling the backup restore
* Restore the stx-openstack application backup: ansible-playbook /usr/share/
Expected Behavior
------------------
stx-openstack application should be restored successfully.
Actual Behavior
----------------
stx-openstack application fails to be restored due to a not supported application-apply mode.
Reproducibility
---------------
100% reproducible
System Configuration
-------
Tested on One node system but should apply to any system configuration.
Branch/Pull Time/Commit
-------
Branch: master
COMPILER_
COMPILER_
<email address hidden>"
COMPILER_
COMPILER_
COMPILER_
app_name: stx-openstack
app_version: 1.0-173-
build_date: 2022-02-17 06:27:39 +0000
Last Pass
---------
N/A
Timestamp/Logs
--------------
TASK [restore-
Friday 18 February 2022 16:28:51 +0000 (0:00:03.867) 0:00:19.002 *******
fatal: [localhost]: FAILED! => changed=true
cmd: source /etc/platform/
delta: '0:00:01.824747'
end: '2022-02-18 16:28:53.940805'
msg: non-zero return code
rc: 1
start: '2022-02-18 16:28:52.116058'
stderr: 'Application-apply rejected: Mode is not supported for app stx-openstack.'
stderr_lines:
- 'Application-apply rejected: Mode is not supported for app stx-openstack.'
stdout: ''
stdout_lines: <omitted>
TASK [restore-
Friday 18 February 2022 16:28:53 +0000 (0:00:02.012) 0:00:21.014 *******
changed: [localhost]
PLAY RECAP *******
localhost : ok=23 changed=14 unreachable=0 failed=1
Friday 18 February 2022 16:28:54 +0000 (0:00:00.180) 0:00:21.195 *******
=======
Test Activity
-------------
Feature Testing
Workaround
----------
None.
This was probably introduced after the Story: https:/
Changed in starlingx: | |
assignee: | nobody → Thales Elero Cervi (tcervi) |
tags: | added: stx.7.0 stx.distro.openstack |
Changed in starlingx: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/829972
Review: https:/