]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
filestore-to-bluestore: fix osd_auto_discovery
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 21 Jan 2020 21:37:10 +0000 (16:37 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 22 Jan 2020 08:36:09 +0000 (09:36 +0100)
commitbb3eae0c8033dc0ffbee44f490f6ad483bd109b9
treeb257bcda1afcbb1fded0ca2373575cfdf1d71d79
parent483adb5d790ea74db01154b7dacbbf2bef030acc
filestore-to-bluestore: fix osd_auto_discovery

When osd_auto_discovery is set then we need to refresh the
ansible_devices fact between after the filestore OSD purge
otherwise the devices fact won't be populated.
Also remove the gpt header on ceph_disk_osds_devices because
the devices is empty at this point for osd_auto_discovery.
Adding the bool filter when needed.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1729267
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
infrastructure-playbooks/filestore-to-bluestore.yml
tests/functional/filestore-to-bluestore/container/hosts
tests/functional/filestore-to-bluestore/container/vagrant_variables.yml
tests/functional/filestore-to-bluestore/hosts
tests/functional/filestore-to-bluestore/vagrant_variables.yml