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>
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
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