]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_volume: Rejecting Read-only devices
authorErwan Velu <erwan@redhat.com>
Tue, 9 Oct 2018 20:02:31 +0000 (22:02 +0200)
committerAlfredo Deza <adeza@redhat.com>
Fri, 26 Oct 2018 20:23:48 +0000 (16:23 -0400)
commit876b382571be6de462ee93451177f766066b9219
tree4358569655faafe4db1d02c8237e05c4d7013911
parentc2e5f523cee728e8f74223c0b6b0e04beec17146
ceph_volume: Rejecting Read-only devices

If a devices is said to be read-only, there is no chance we can actually
use it. So let's report it as unusable.

Signed-off-by: Erwan Velu <erwan@redhat.com>
(cherry picked from commit f1a94350064263f27f67d2c715c5ca5922481a01)
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/util/device.py
src/ceph-volume/ceph_volume/util/disk.py