[pve-devel] [PATCH qemu-server 1/3] api: create_vm: use ha-manager command to add VM as an HA resource
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Nov 17 22:27:16 CET 2025
On Mon, 10 Nov 2025 15:36:17 +0100, Daniel Kral wrote:
> PVE::API2::HA::Resources is not imported through a use statement here,
> so `qm create ... --ha-managed 1` will not add the VM as an HA resource.
>
> Replace the direct API call with a 'ha-manager' invocation as we don't
> seem to import API modules from other packages except in pve-manager and
> use the 'ha-manager' command at other call sites already.
>
> [...]
Applied, thanks!
[1/3] api: create_vm: use ha-manager command to add VM as an HA resource
commit: 2cd8e9dd0fb7065bdaa58ef0933dbc1ead737af6
More information about the pve-devel
mailing list