mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: do not run lvm batch tasks during update
When performing a rolling update do not try to create any new osds with `ceph-volume lvm batch`. This is troublesome because when upgrading to nautilus the devices list might contain devices that are currently being used by ceph-disk and have GPT headers on them, which will cause ceph-volume to fail when trying to use such a device. Any devices originally created by ceph-disk will need to be removed from the devices list before any new osds can be created. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/3882/head
parent
399a821439
commit
5e3dfe5021
|
@ -50,6 +50,7 @@
|
|||
include_tasks: scenarios/lvm.yml
|
||||
when:
|
||||
- lvm_volumes|length > 0
|
||||
- not rolling_update|default(False)
|
||||
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
||||
static: False
|
||||
|
||||
|
@ -57,6 +58,7 @@
|
|||
include_tasks: scenarios/lvm-batch.yml
|
||||
when:
|
||||
- devices|length > 0
|
||||
- not rolling_update|default(False)
|
||||
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
||||
static: False
|
||||
|
||||
|
|
Loading…
Reference in New Issue