]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix empty ceph version in GET api/hosts 62731/head
authorAfreen Misbah <afreen@ibm.com>
Mon, 7 Apr 2025 19:00:08 +0000 (00:30 +0530)
committerAfreen Misbah <afreen@ibm.com>
Tue, 8 Apr 2025 17:08:22 +0000 (22:38 +0530)
commite39fe7c933c74d7ace9639df53e7897a871fa013
tree3410a4ee322a1fd2fac4b2aecf852a71b78cddf8
parent3814fc23eca3b8493c5eb142dbc894a31c24b207
mgr/dashboard: Fix empty ceph version in GET api/hosts

Fixes https://tracker.ceph.com/issues/70821

Due to the pagination the host list is being fetched from orchestrator which caused a regression as via orchestrator list ceph version is always marked empty.
Caused by https://github.com/ceph/ceph/pull/52154

Also fixed tests , as the new version addition causing whole json object mock to fail in tests

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 1aa74cf3fce6394ad08e83e91a90923d983b03c5)
src/pybind/mgr/dashboard/controllers/host.py
src/pybind/mgr/dashboard/tests/test_host.py