]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: Fix wrong data output when listing devices 34554/head
authorJuan Miguel Olmo Martínez <jolmomar@redhat.com>
Wed, 1 Apr 2020 10:01:35 +0000 (12:01 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 14 Apr 2020 14:50:50 +0000 (16:50 +0200)
commit08aff73a63be3b8daf7950c956ea725c9c8e5567
treee5883061e1ea2cda8d9df35c98b30e15743db171
parentc5bea01dea1f1bbe04e884562baa29a10dc54829
mgr/rook: Fix wrong data output when listing devices

Information used to build the <device ls> output is not the right one.
Rook provides in the devices configmap the item <cephVolumeData> which contains the information returned by <ceph-volume>.
This is the right source information to build the devices list.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit e3a5fa49005a7d3ca374beca1dd8cd3e416819a9)
src/pybind/mgr/rook/module.py