]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_volume: Checking device validity at init time 24783/head
authorErwan Velu <erwan@redhat.com>
Wed, 10 Oct 2018 18:26:01 +0000 (20:26 +0200)
committerAlfredo Deza <adeza@redhat.com>
Fri, 26 Oct 2018 20:23:49 +0000 (16:23 -0400)
commit9620f1c7fa90923c7659108ed29f1a64b9787d20
tree7657a60b09911aa499db0d0adc1978e617096a61
parentd50ed270facc505202416aa883c37694e667238a
ceph_volume: Checking device validity at init time

When initializing the Device structure, it have to run is_valid() to
ensure the data structures (_is_valid & rejected_reasons) to be
populated accordingly to the device state.

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