]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: allow preserving OSD IDs when deleting OSDs
authorKiefer Chang <kiefer.chang@suse.com>
Tue, 26 May 2020 08:22:01 +0000 (16:22 +0800)
committerLaura Paduano <lpaduano@suse.com>
Thu, 25 Jun 2020 09:18:45 +0000 (11:18 +0200)
commit13e255c6d1a37f0a45e561b7e8b5e1e57384a8d5
tree3869f4a615ec91a90bf0e71c489d5589668a1afd
parent73fd93b171f1a8987b6e97a9943e1044758c8dea
mgr/dashboard: allow preserving OSD IDs when deleting OSDs

Ask users if they want to preserve OSD ID(s) for replacement after
OSD deletion in confirmation modal.

Fixes: https://tracker.ceph.com/issues/38234
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit fecafd8325cce31b37903a5e7e1c9badbf719d89)
src/pybind/mgr/dashboard/controllers/osd.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/osd.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/osd.service.ts
src/pybind/mgr/dashboard/services/orchestrator.py