]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: Fix wrong data output when listing devices 34344/head
authorJuan Miguel Olmo Martínez <jolmomar@redhat.com>
Wed, 1 Apr 2020 10:01:35 +0000 (12:01 +0200)
committerJuan Miguel Olmo Martínez <jolmomar@redhat.com>
Fri, 3 Apr 2020 10:49:16 +0000 (12:49 +0200)
commite3a5fa49005a7d3ca374beca1dd8cd3e416819a9
tree2134e7f39c4b610351706a6c30917c63be51f3f6
parented03b37e86b8f09de3de9be0e8399a592679ea72
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>
src/pybind/mgr/rook/module.py