Skip to content
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

Merged
merged 2 commits into from Feb 13, 2018
Merged

Conversation

alfredodeza
Copy link
Contributor

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

@alfredodeza
Copy link
Contributor Author

jenkins test ceph-volume tox

@andrewschoen
Copy link
Contributor

jenkins test ceph-volume all

1 similar comment
@alfredodeza
Copy link
Contributor Author

jenkins test ceph-volume all

@alfredodeza
Copy link
Contributor Author

jenkins test ceph-volume lvm centos7-bluestore-dmcrypt

Alfredo Deza added 2 commits February 13, 2018 15:55
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>
@andrewschoen
Copy link
Contributor

jenkins test ceph-volume tox

@andrewschoen
Copy link
Contributor

jenkins test ceph-volume all

@andrewschoen
Copy link
Contributor

jenkins test ceph-volume simple xenial-bluestore-dmcrypt_plain

@andrewschoen
Copy link
Contributor

jenkins test ceph-volume simple centos7-filestore-dmcrypt_luks

@andrewschoen
Copy link
Contributor

The tests lvm centos7-filestore-create and lvm xenial-filestore-create are expected to fail until #20265 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants