]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
filestore-to-bluestore: fix undefine osd_fsid_list
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 27 Jan 2020 14:36:56 +0000 (09:36 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 29 Jan 2020 03:21:49 +0000 (22:21 -0500)
commitf982a70f02839155fecd0acf3ba94d739ebd3fa1
treed163fba5bb2e946c1a1b646de6f7bf29c04e7652
parentd5dca5087af0fab6953abf11e5c8980c328a2722
filestore-to-bluestore: fix undefine osd_fsid_list

If the playbook is used on a host running bluestore OSDs then the
osd_fsid_list won't be filled because the bluestore OSDs are reported
with 'type: block' via ceph-volume lvm list command but we are looking
for 'type: data' (filestore).

TASK [zap ceph-volume prepared OSDs] *********
fatal: [xxxxx]: FAILED! =>
  msg: '''osd_fsid_list'' is undefined

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1729267
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit cd76054f76fa4ce618335a3693c6c0f95d9209e6)
infrastructure-playbooks/filestore-to-bluestore.yml