]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: display OSD operational status 35039/head
authorKiefer Chang <kiefer.chang@suse.com>
Mon, 11 May 2020 14:04:34 +0000 (22:04 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Mon, 16 Nov 2020 08:03:25 +0000 (16:03 +0800)
commitfd57b5ce0a168768efa22cc56c492e3fa68a78d2
tree43b6671da3e5cf997242053b4d81462eb6fbd15e
parent0f82322f15f183615a99814a6109156dcab9cc08
mgr/dashboard: display OSD operational status

Frontend: display deleting state in the OSD ID column.

Backend: add `operational_status` to OSD:
- `working`: the OSD is in normal operation.
- `deleting`: the OSD had been scheduled for deleting.
- `unmanaged`: the OSD can't be managed by the Orchestrator.

Fixes: https://tracker.ceph.com/issues/45301
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
src/pybind/mgr/dashboard/controllers/osd.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/fixtures/osd_list_response.json
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.ts
src/pybind/mgr/dashboard/tests/test_osd.py