[pve-devel] applied: [PATCH ha-manager 1/1] api: resources: fix uninitialized value in check_service_state
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Nov 17 22:37:50 CET 2025
On Mon, 10 Nov 2025 15:36:16 +0100, Daniel Kral wrote:
> check_service_state(...) calls get_service_status(...), which assumes
> that a configured HA resource is already present in the manager status.
>
> If a HA resource is added to the configuration file and interacted with
> such that check_service_state(...) is called before the HA Manager loads
> the new HA resource in its state, then $service_status->{state} will be
> undefined.
>
> [...]
Applied, thanks!
[1/1] api: resources: fix uninitialized value in check_service_state
commit: e4ebb699716b9653be25446e6a72c7ebc720773a
More information about the pve-devel
mailing list