ceph-ansible/infrastructure-playbooks
Dimitri Savineau f982a70f02 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 cd76054f76)
2020-01-28 22:21:49 -05:00
..
untested-by-ci ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
vars osd: remove variable osd_scenario 2019-04-12 00:45:21 +00:00
README.md rolling_update: fix wrong indent 2016-10-26 12:51:08 -05:00
add-mon.yml add-{mon,osd}: run raw install python tasks 2019-12-04 10:59:39 +01:00
add-osd.yml osd: support scaling up using --limit 2020-01-14 09:12:34 -05:00
ansible.cfg Cleanup plugins directories and references 2018-03-14 11:15:39 +01:00
ceph-keys.yml rename docker_exec_cmd variable 2019-05-17 16:05:58 +02:00
docker-to-podman.yml docker2podman: use set_fact to override variables 2020-01-10 17:41:27 +01:00
filestore-to-bluestore.yml filestore-to-bluestore: fix undefine osd_fsid_list 2020-01-28 22:21:49 -05:00
gather-ceph-logs.yml remove ceph restapi references 2019-06-20 15:15:10 -04:00
lv-create.yml lv-create: fix a typo 2019-09-26 16:21:54 +02:00
lv-teardown.yml improve coding style 2019-05-06 15:09:06 +00:00
purge-cluster.yml purge-cluster: add podman support 2019-12-04 18:00:07 -05:00
purge-container-cluster.yml purge-cluster: add podman support 2019-12-04 18:00:07 -05:00
purge-docker-cluster.yml purge: rename playbook (container) 2019-12-04 09:12:41 -05:00
purge-iscsi-gateways.yml purge-iscsi-gateways: don't run all ceph-facts 2020-01-10 16:21:53 +01:00
rgw-add-users-buckets.yml Example ceph_add_users_buckets playbook 2018-12-20 14:23:25 +01:00
rolling_update.yml rolling_update: support upgrading 3.x + ceph-metrics on a dedicated node 2020-01-22 18:28:54 +01:00
shrink-mds.yml shrink-mds: fix condition on fs deletion 2020-01-15 11:28:12 +01:00
shrink-mgr.yml infra-playbooks: rewite a condition for better readability 2019-07-29 15:52:29 +02:00
shrink-mon.yml shrink-mon: search mon in the quorum_names list 2019-09-18 14:47:40 +00:00
shrink-osd.yml shrink-osd: support fqdn in inventory 2020-01-08 16:16:21 -05:00
shrink-rbdmirror.yml infra-playbooks: rewite a condition for better readability 2019-07-29 15:52:29 +02:00
shrink-rgw.yml shrink-rgw: refact global workflow 2020-01-09 21:39:23 +01:00
storage-inventory.yml improve coding style 2019-05-06 15:09:06 +00:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml switch_to_containers: fix umount ceph partitions 2019-12-03 15:58:36 +01:00
take-over-existing-cluster.yml remove ceph-agent role and references 2019-06-17 15:56:00 -04:00

README.md

Infrastructure playbooks

This directory contains a variety of playbooks that can be used independently of the Ceph roles we have. They aim to perform infrastructure related tasks that would help use managing a Ceph cluster or performing certain operational tasks.

To use them, you must move them to ceph-ansible's root directory, then run using ansible-playbook <playbook>.