]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_volume: Checking device validity at init time 24782/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:14:50 +0000 (16:14 -0400)
commit4b66756512dd99f4039d2e2dcfbdf7a08e725b5c
treea9c1bd0fffd399ee1b2fb2d9992dd0677dfc3c7a
parenta4c4c9a4a9d9393c306304654b75550162980e7f
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