ceph-ansible/infrastructure-playbooks
Guillaume Abrioux 0a0cdc0963 purge: ensure no ceph kernel thread is present
This tries to first unmount any cephfs/nfs-ganesha mount point on client
nodes, then unmap any mapped rbd devices and finally it tries to remove
ceph kernel modules.
If it fails it means some resources are still busy and should be cleaned
manually before continuing to purge the cluster.
This is done early in the playbook so the cluster stays untouched until
everything is ready for that operation, otherwise if you try to redeploy
a cluster it could end up by getting confused by leftover from previous
deployment.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 20e4852888)
2019-06-24 13:20:50 +02: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 allow adding a monitor to a deployed cluster 2019-04-16 11:14:21 +02:00
add-osd.yml rename docker_exec_cmd variable 2019-05-17 16:05:58 +02: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
gather-ceph-logs.yml remove ceph restapi references 2019-06-20 15:15:10 -04:00
lv-create.yml improve coding style 2019-05-06 15:09:06 +00:00
lv-teardown.yml improve coding style 2019-05-06 15:09:06 +00:00
purge-cluster.yml purge: ensure no ceph kernel thread is present 2019-06-24 13:20:50 +02:00
purge-docker-cluster.yml purge: ensure no ceph kernel thread is present 2019-06-24 13:20:50 +02:00
purge-iscsi-gateways.yml igw: stop tcmu-runner on iscsi purge 2018-11-09 10:02:16 +01:00
rgw-add-users-buckets.yml Example ceph_add_users_buckets playbook 2018-12-20 14:23:25 +01:00
rolling_update.yml upgrade: accept HEALTH_OK and HEALTH_WARN as valid state 2019-06-21 15:47:33 +00:00
shrink-mon.yml ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
shrink-osd.yml ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
storage-inventory.yml improve coding style 2019-05-06 15:09:06 +00:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml roles: introduce `ceph-container-engine` role 2019-05-22 15:24:11 -04: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>.