Before the ansible restore playbook is executed,
we don't know that the system is doing the
B&R procedure so we can't avoid wiping Ceph journals
even if `wipe_ceph_osds` variable is set to false.
So we fix this by moving the code that
is handling the removal of the Ceph journals
in the kickstart files because there
we can check if the system is doing B&R.
Reviewed: https:/ /review. opendev. org/741413 /git.openstack. org/cgit/ starlingx/ metal/commit/ ?id=ff4ba7f84fa 4627413af4b5099 212b7791d75d77
Committed: https:/
Submitter: Zuul
Branch: master
commit ff4ba7f84fa4627 413af4b5099212b 7791d75d77
Author: Mihnea Saracin <email address hidden>
Date: Thu Jul 16 12:03:07 2020 +0300
Fix wipedisk to not break Ceph OSDs during B&R
Before the ansible restore playbook is executed,
we don't know that the system is doing the
B&R procedure so we can't avoid wiping Ceph journals
even if `wipe_ceph_osds` variable is set to false.
So we fix this by moving the code that
is handling the removal of the Ceph journals
in the kickstart files because there
we can check if the system is doing B&R.
Closes-Bug: 1885560 3868db724f04f64 7b33660b842
Change-Id: Ie9676de1eb4b6e
Signed-off-by: Mihnea Saracin <email address hidden>