[pve-devel] [RFC pve-manager 0/1] Node maintenance set state for the UI

Thomas Skinner thomas at atskinner.net
Mon Aug 18 18:12:42 CEST 2025


> From: Tiago Sousa <joao.sousa at eurotux.com>
> To: pve-devel at lists.proxmox.com
> Cc:
> Bcc:
> Date: Mon,  2 Jun 2025 17:10:51 +0100
> Subject: [RFC pve-manager 0/1] Node maintenance set state for the UI
> This patch addresses feature request
> https://bugzilla.proxmox.com/show_bug.cgi?id=6144  to add support for
> setting a node's maintenance state directly from the UI and API.
>
> This implementation uses Sys.PowerMgmt permission for now, but I'm
> unsure if this is the most appropriate. Could there be a better
> permission level?
>
> The API endpoint location at /nodes/{node_name}/node-maintenance-set
> seems logical, but feedback on placement would be appreciated.
>
> Tiago Sousa (1):
>   add ha node maintenance mode to the UI and API
>
>  PVE/API2/Nodes.pm            | 45 ++++++++++++++++++++++++++++++++++++
>  www/manager6/Utils.js        |  1 +
>  www/manager6/node/CmdMenu.js | 36 +++++++++++++++++++++++++++--
>  3 files changed, 80 insertions(+), 2 deletions(-)
>
> --
> 2.39.5

Tiago, I have an implementation of this function in my local PVE 8
branches that we're using. Would it be helpful for me to send over my
patches to you? We have the API implemented under the pve-ha-manager
repo and the HA UI like Thomas Lamprecht was mentioning in the patch
threads. I was going to send my patches in, but I hadn't had a chance
yet until recently. I don't want to step on your toes if you're
working it either.



More information about the pve-devel mailing list