[pve-devel] applied: [PATCH container 1/1] api: create_vm: use ha-manager command to add container as an HA resource

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 17 22:27:51 CET 2025


On Mon, 10 Nov 2025 15:36:20 +0100, Daniel Kral wrote:
> PVE::API2::HA::Resources is not imported through a use statement here,
> so `pct create ... --ha-managed 1` will not add the container 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/1] api: create_vm: use ha-manager command to add container as an HA resource
      commit: 49177d0dad146863e3c407f2c23d9180bb91767d




More information about the pve-devel mailing list