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
ceph-volume use realpath when checking mounts #20427
Conversation
jenkins test ceph-volume tox |
jenkins test ceph-volume all |
1 similar comment
jenkins test ceph-volume all |
jenkins test ceph-volume lvm centos7-bluestore-dmcrypt |
To check a mounted device it is needed to verify on a combination of realpath and plain devices against realpath and plain paths. In LVM, two different paths might refer to the same devices Signed-off-by: Alfredo Deza <adeza@redhat.com>
Signed-off-by: Alfredo Deza <adeza@redhat.com>
dcecad4
to
16eabbc
Compare
jenkins test ceph-volume tox |
jenkins test ceph-volume all |
jenkins test ceph-volume simple xenial-bluestore-dmcrypt_plain |
jenkins test ceph-volume simple centos7-filestore-dmcrypt_luks |
The tests |
on 469d01d the realpath detection was removed as it would cause issues with dmcrypt, but this is needed to ensure mounts are detected.
This change improves on that with the 4 combinations of realpath vs. plain on devices and paths.
Fixes: http://tracker.ceph.com/issues/22988