]> git.proxmox.com Git - pve-manager.git/commit
ui: osd: send in/out cmd to currently used node
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 2 Mar 2022 10:12:49 +0000 (11:12 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 3 Mar 2022 11:15:38 +0000 (12:15 +0100)
commit8fdc97938b853dafe0ca874e9352a42444e1025e
treec6c3defb3f509160e6d76d0bae3e357705c06919
parentd3cd3c9ca3c9c1457c7c3109f27e5d7916f1ee3e
ui: osd: send in/out cmd to currently used node

The in & out commands for OSDs are not node specific and can be run on
any node in the Ceph cluster. By sending them to the node currently used
to access the UI they can still be sent even if the node on which the
OSDs are located is down.

This helps in a disaster scenario where a node is down. By default Ceph
will mark a downed OSD as out after 10 minutes. This could be too long
in some situations. Running the CLI command to mark the OSD as out
earlier on one of the remaining nodes does work, but if the admin is not
used doing it this way, this adds stress, in a potentially already
stressful situation.

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