ceph-ansible/infrastructure-playbooks
Guillaume Abrioux e66f12d138 fs2bs: skip migration when a mix of fs and bs is detected
Since the default of `osd_objectstore` has changed as of 3.2, some
deployments might have a mix of filestore and bluestore OSDs on a same
node. In some specific cases, there's a possibility that a filestore OSD
shares a journal/db device with a bluestore OSD. We shouldn't try to
redeploy in this context because ceph-volume will complain. (either
because in lvm batch you can't pass partition or about gpt header).
The safest option is to skip the migration on the node when such a mix
is detected or force all osds including those already using bluestore
(option `force_filestore_to_bluestore=True` has to be passed as an extra var).
If all OSDs are using filestore, then they will be migrated to
bluestore.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1875777

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2021-01-12 14:40:25 -05:00
..
untested-by-ci ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
vars osd: remove variable osd_scenario 2019-04-11 11:57:02 -04:00
README.md doc: update infra playbooks statements 2020-02-25 15:27:52 +01:00
add-mon.yml mon: refact initial keyring generation 2020-11-25 09:34:44 +01:00
ceph-keys.yml ceph_key: set state as optional 2020-09-14 14:12:21 -04:00
cephadm-adopt.yml cephadm: remove loop on host add tasks 2020-12-16 15:14:28 +01:00
cephadm.yml cephadm: remove loop on host add tasks 2020-12-16 15:14:28 +01:00
docker-to-podman.yml defaults: change default grafana-server name 2020-09-29 07:42:26 +02:00
filestore-to-bluestore.yml fs2bs: skip migration when a mix of fs and bs is detected 2021-01-12 14:40:25 -05:00
gather-ceph-logs.yml lint: do not use 'local_action' 2020-11-23 08:33:47 +01:00
lv-create.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
lv-teardown.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
purge-cluster.yml common: do not use pipefail when not needed 2020-12-01 15:07:09 -05:00
purge-container-cluster.yml purge-container-cluster: always prune force 2020-12-09 14:46:45 -05:00
purge-iscsi-gateways.yml lint: all tasks should be named 2020-11-23 08:33:47 +01:00
rgw-add-users-buckets.yml Example ceph_add_users_buckets playbook 2018-12-20 14:23:25 +01:00
rolling_update.yml common: do not use pipefail when not needed 2020-12-01 15:07:09 -05:00
shrink-mds.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
shrink-mgr.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
shrink-mon.yml lint: commands should not change things 2020-11-23 08:33:47 +01:00
shrink-osd.yml consume ceph_volume module when possible 2020-12-01 17:54:10 +01:00
shrink-rbdmirror.yml lint: commands should not change things 2020-11-23 08:33:47 +01:00
shrink-rgw.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
storage-inventory.yml add missing boolean filter 2020-09-28 20:45:01 +02:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml switch2container: fix mon quorum check 2021-01-11 14:42:45 -05:00
take-over-existing-cluster.yml lint: set pipefail on shell tasks 2020-11-23 08:33:47 +01: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, run ansible-playbook infrastructure-playbooks/<playbook>.