]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix empty ceph version in GET api/hosts 62716/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 12:22:10 +0000 (17:52 +0530)
commit1aa74cf3fce6394ad08e83e91a90923d983b03c5
tree0605548aab5d8240e0e01e0574fa7857878a716d
parent9aacbd1de3cb69f178fd13fcf4190465b1d29713
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>
src/pybind/mgr/dashboard/controllers/host.py
src/pybind/mgr/dashboard/tests/test_host.py