[pve-devel] [RFC pve-manager 1/1] add ha node maintenance mode to the UI and API
    Thomas Lamprecht 
    t.lamprecht at proxmox.com
       
    Tue Jun  3 08:35:19 CEST 2025
    
    
  
Am 02.06.25 um 18:10 schrieb Tiago Sousa:
> Signed-off-by: Tiago Sousa <joao.sousa at eurotux.com>
> ---
>  PVE/API2/Nodes.pm            | 45 ++++++++++++++++++++++++++++++++++++
Thanks for your patch, some high level comment:
As the API touches HA it should also go into the pve-ha-manager repo, there it
could directly check the current state, and queue a CRM command directly, without
using run_command.
I'd also place the UI there in the HA overview, as its IMO required for the admin
to check the current HA stack's state before scheduling anything here.
    
    
More information about the pve-devel
mailing list