Backup & Restore: wipe_ceph_osds should not be mandatory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Dan Voiculeasa |
Bug Description
Brief Description
-----------------
For wipe_ceph_osd the default value is set to false when we don't specify in CLI. But the restore operation fails with the following error if wipe_ceph_osd is not specified in CLI.
TASK [restore-
fatal: [sm5]: FAILED! => {"msg": "The conditional check '(not wipe_ceph_osds | type_debug == 'bool') and (wipe_ceph_osds != 'true') and (wipe_ceph_osds != 'false')' failed. The error was: error while evaluating conditional ((not wipe_ceph_osds | type_debug == 'bool') and (wipe_ceph_osds != 'true') and (wipe_ceph_osds != 'false')): 'wipe_ceph_osds' is undefined\n\nThe error appears to be in '/localdisk/
PLAY RECAP *******
sm5 : ok=6 changed=2 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0
Severity
--------
Minor - User can still proceed with install by specifying in CLI
Steps to Reproduce
------------------
1. Create an environment for ansible remote host
2. Bring up the AIO-DX system
3. Backup the system using ansible remotely
4. Re-install the controller with the same load
5. Restore the system using ansible remotely.
Expected Behavior
------------------
The active controller is successfully restored without wipe_ceph_osds parameter in CLI
Actual Behavior
----------------
Active controller failed to restore, expecting the parameter wipe_ceph_osds as mandate
Reproducibility
---------------
Reproducible
System Configuration
-------
Any IPV4 system
Branch/Pull Time/Commit
-------
BUILD_
Test Activity
-------------
Feature Testing
Changed in starlingx: | |
assignee: | Ovidiu Poncea (ovidiu.poncea) → Dan Voiculeasa (dvoicule) |
tags: | added: stx.retestneeded |
Marking as stx.3.0 / medium priority - related to B&R which is an stx.3.0 feature deliverable