On Mon, 12 Jan 2026 11:16:49 +0100, Daniel Kral wrote:
> Otherwise a HA resource with the wrong guest type can be added to the HA
> resources configuration, which will make its methods (start, shutdown,
> migrate, ...) fail.
>
> This does not fixup existing HA resource entries with the wrong guest
> type, but manual removal, e.g., through `ha-manager remove <sid>` and
> re-adding it correctly, is still possible.
>
> [...]
Applied with Michael's R-b and T-b, thanks! I slightly changed the
error message to
resource 'ct:$vmid' - guest with ID $vmid is not a container
just to avoid any potential for confusion (stating "ct:something is
not a ct" can sound a bit off).
[1/1] resources: assert ha resource has correct guest type
commit: 18b3b0950c04a8aaeb1b6a406a13f437ac6e7792
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel