New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
purge: use sysfs to unmap rbd devices #4712
Conversation
761cd89
to
bb7e7c3
Compare
|
jenkins test centos-non_container-all_daemons |
2 similar comments
|
jenkins test centos-non_container-all_daemons |
|
jenkins test centos-non_container-all_daemons |
|
jenkins test centos-non_container-update |
|
jenkins test centos-non_container-switch_to_containers |
3 similar comments
|
jenkins test centos-non_container-switch_to_containers |
|
jenkins test centos-non_container-switch_to_containers |
|
jenkins test centos-non_container-switch_to_containers |
|
jenkins test centos-container-update |
d413585
to
acc0daf
Compare
|
jenkins test centos-non_container-collocation |
|
jenkins test centos-container-all_daemons |
|
jenkins test centos-non_container-purge |
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>
322521a
to
c804fdb
Compare
|
jenkins test centos-non_container-switch_to_containers |
c804fdb
to
2938af9
Compare
This commit adds a playbook to be played before we run purge playbook, it first creates an rbd image then map an rbd device on client0 so the purge playbook will try to unmap it. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2938af9
to
bcb7671
Compare
|
jenkins test centos-non_container-all_daemons |
|
jenkins test centos-container-all_daemons |
|
jenkins test centos-non_container-purge |
3 similar comments
|
jenkins test centos-non_container-purge |
|
jenkins test centos-non_container-purge |
|
jenkins test centos-non_container-purge |
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