B&R: Running 'wipedisk' before a restore breaks Ceph OSDs leading to data loss
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Mihnea Saracin |
Bug Description
Brief Description
-----------------
Running wipedisk before a restore leads to jorunal data getting wiped. W/o a valid journal Ceph fails to restore.
Severity
--------
Major: System/Feature is usable but degraded
Steps to Reproduce
------------------
1. Configure an AIO-SX
2. Backup the system
3. Run wipedisk
4. Reinstall ISO
5. Run ansible restore playbook
Expected Behavior
------------------
Ansible should finish
Actual Behavior
----------------
Ansible fails with:
Error message:
2020-06-24 15:12:20,711 p=11425 u=sysadmin | TASK [recover-ceph-data : Bring up ceph Monitor and OSDs] *******
2020-06-24 15:12:22,963 p=11425 u=sysadmin | fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/etc/
[….]
Reproducibility
---------------
Reproducible
System Configuration
-------
SX, DX, Standard with Ceph enabled.
Branch/Pull Time/Commit
-------
master
Test Activity
-------------
Developer Testing
Workaround
----------
avoid running wipedisk during B&R
summary: |
- Running wipedisk before a restore breaks Ceph OSDs leading to data loss + B&R: Running 'wipedisk' before a restore breaks Ceph OSDs leading to + data loss |
tags: | added: stx.storage |
description: | updated |
Changed in starlingx: | |
assignee: | nobody → Mihnea Saracin (msaracin) |
Discussion + solution: https:/ /review. opendev. org/#/c/ 737292/ 1/mtce/ src/scripts/ wipedisk@ 77