]> 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 09:06:17 +0000 (10:06 +0100)
commit0abea70e29bb44675dfe4df1965ca2a831d20300
tree4db1afb661123c324452f50ca498e4c906eae9aa
parente4965e9ea9b68075d33f7c67a2130c45d391b229
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>
(cherry picked from commit bb3eae0c8033dc0ffbee44f490f6ad483bd109b9)
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