]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
purge: use sysfs to unmap rbd devices
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 4 Nov 2019 14:59:39 +0000 (15:59 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 14 Nov 2019 15:49:38 +0000 (10:49 -0500)
commit15b78ae252d3ca402d854b28b3631226ec102b48
tree4f869faf548f58b3d56fc69928b6773600ee1c09
parentf3b248e6b951d869a1885fe2ff5b0e170c626edd
purge: use sysfs to unmap rbd devices

in containerized context, using the binary provided in atomic os won't
work because it's an old version provided by ceph-common based on
10.2.5.
Using a container could be an idea but for large cluster with hundreds
of client nodes, that would require to pull the image of each of them
just to unmap the rbd devices.

Let's use the sysfs method in order to avoid any issue related to ceph
version that is shipped on the host.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1766064
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 3cfcc7a105156dfde65b23e9d8662cd848537094)
infrastructure-playbooks/purge-docker-cluster.yml