]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix: get SMART data from single-daemon device 44597/head
authorAlfonso Martínez <almartin@redhat.com>
Thu, 13 Jan 2022 14:20:48 +0000 (15:20 +0100)
committerAlfonso Martínez <almartin@redhat.com>
Fri, 14 Jan 2022 12:24:24 +0000 (13:24 +0100)
commitf2f1883625870033b43784f5d652f8797a59b803
tree26bd32a256165b4926aa525194d2b88a5ba200da
parent5808c7532c6b9cc8020c194464a2848f78ba60e2
mgr/dashboard: fix: get SMART data from single-daemon device

Return SMART data even when a device is only associated with a single daemon.

Fixes: https://tracker.ceph.com/issues/53858
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 6cd3729e2737f9012569cffc6fd69cc5eed287ed)
src/pybind/mgr/dashboard/services/ceph_service.py
src/pybind/mgr/dashboard/tests/test_ceph_service.py