]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 28 Jan 2020 01:42:39 +0000 (02:42 +0100)
commitcd76054f76fa4ce618335a3693c6c0f95d9209e6
tree9ec8fe99554162bc8aee11cdbece5aa59e961307
parent3e7dbb4b16dc7de3b46c18db4c00e7f2c2a50453
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>
infrastructure-playbooks/filestore-to-bluestore.yml