]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph_volume: Checking device validity at init time
authorErwan Velu <erwan@redhat.com>
Wed, 10 Oct 2018 18:26:01 +0000 (20:26 +0200)
committerErwan Velu <erwan@redhat.com>
Mon, 22 Oct 2018 09:56:19 +0000 (11:56 +0200)
commitef0ceef7c717ef615dc214299cb4a6b32c1edbe6
treec7bb4e2f1c6444d0e6e0768629f61528a26ae803
parentd5de9583ee6c4d9ccaab2b1146606a0ee316cc27
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>
src/ceph-volume/ceph_volume/util/device.py