]> git.proxmox.com Git - pve-manager.git/commit
ui: osd: mon: mds: warn if stop/destroy actions are problematic
authorAaron Lauterer <a.lauterer@proxmox.com>
Thu, 17 Nov 2022 14:10:02 +0000 (15:10 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 17 Nov 2022 17:27:48 +0000 (18:27 +0100)
commit6242a6009ddfd1ec345dfb9d2cc336b7b2d7533c
tree5b9ba8fb4162e43a549612cdebad91848325bb43
parentd9415cc4f7e087d02516b69d06c813cf1f7d9f94
ui: osd: mon: mds: warn if stop/destroy actions are problematic

Check if stopping of a service (OSD, MON, MDS) will be problematic for
Ceph. The warning still allows the user to proceed.

Ceph also has a check if the destruction of a MON is okay, so let's use
it.

Instead of the common OK button, label it with `Stop OSD` and so forth
to hopefully reduce the "click OK by habit" incidents.

This will not catch it every time as Ceph can need a few moments after a
change to establish its current status. For example, stopping one of 3
MONs and then right away destroying one of the last two running MONs
will most likely not trigger the warning. Doing so after a few seconds
should show the warning though.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
www/manager6/ceph/OSD.js
www/manager6/ceph/ServiceList.js