]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: gather facts should only be fetched when orch backend is cephadm 43603/head
authorAvan Thakkar <athakkar@redhat.com>
Wed, 20 Oct 2021 14:07:26 +0000 (19:37 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Tue, 26 Oct 2021 11:07:40 +0000 (16:37 +0530)
commit78b8af2bda39dea8aa46a42e0cea4c5fd53c1d42
tree25f7336ba210d42d571d017379e74f5671a80ed0
parenta1ac0ec7200ea1f89161d77cb1e39844b668ca40
mgr/dashboard: gather facts should only be fetched when orch backend is cephadm

Fixes: https://tracker.ceph.com/issues/52981
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Gather facts in UI should only be fetched if there is orch available and
get_facts feature is available for that orch backend.
src/pybind/mgr/dashboard/controllers/host.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/orchestrator.enum.ts
src/pybind/mgr/dashboard/tests/test_host.py