ceph-ansible/infrastructure-playbooks
Guillaume Abrioux 20e4852888 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>
2019-06-24 10:05:11 +02: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 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-15 10:00:50 +02:00
add-osd.yml rename docker_exec_cmd variable 2019-05-16 16:39:13 +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-16 16:39:13 +02:00
gather-ceph-logs.yml remove ceph restapi references 2019-06-18 09:13:19 +02:00
lv-create.yml improve coding style 2019-04-23 15:37:07 +02:00
lv-teardown.yml improve coding style 2019-04-23 15:37:07 +02:00
purge-cluster.yml purge: ensure no ceph kernel thread is present 2019-06-24 10:05:11 +02:00
purge-docker-cluster.yml purge: ensure no ceph kernel thread is present 2019-06-24 10:05:11 +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 10:08:56 +02:00
shrink-mon.yml use pre_tasks and post_tasks in shrink-mon.yml too 2019-06-17 12:14:49 -04:00
shrink-osd.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
storage-inventory.yml improve coding style 2019-04-23 15:37:07 +02:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml roles: introduce `ceph-container-engine` role 2019-05-22 13:02:10 +02:00
take-over-existing-cluster.yml remove ceph-agent role and references 2019-06-03 13:35:50 +02: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>.