From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Fiona Ebner <f.ebner@proxmox.com>, pve-devel@lists.proxmox.com
Subject: Re: [PATCH ha-manager v2 3/4] fix #2751: implement disarm-ha and arm-ha for safe cluster maintenance
Date: Fri, 27 Mar 2026 02:17:53 +0100 [thread overview]
Message-ID: <2efc6fc2-62ec-4822-829f-780d95938fe4@proxmox.com> (raw)
In-Reply-To: <aa320745-2e4a-4b24-b284-9336396797b2@proxmox.com>
Am 25.03.26 um 16:49 schrieb Fiona Ebner:
> Am 22.03.26 um 12:57 AM schrieb Thomas Lamprecht:
>> + if ($mode eq 'freeze') {
>> + for my $sid (sort keys %$ss) {
>> + my $sd = $ss->{$sid};
>> + my $state = $sd->{state};
>> + next if $state eq 'freeze'; # already frozen
>> + if (
>> + $state eq 'started'
>> + || $state eq 'stopped'
>> + || $state eq 'request_stop'
>> + || $state eq 'request_start'
>> + || $state eq 'request_start_balance'
>> + || $state eq 'error'
> Should it really happen for the 'error' state too? Because when
> re-arming, the state will become 'started':
>
> Mar 25 16:20:06 pve9a1 pve-ha-crm[242553]: disarm: freezing service
> 'vm:400' (was 'error')
> ...
> Mar 25 16:20:36 pve9a1 pve-ha-crm[242553]: service 'vm:400': state
> changed from 'freeze' to 'started'
>
> Which feels rather surprising to me. For comparison, after a cold
> cluster start, services in 'error' state are not (attempted to be)
> started either.
You're right, thanks for noticing this, fixed in:
https://git.proxmox.com/?p=pve-ha-manager.git;a=commitdiff;h=890673383c27a2949315a306218ef035042b46b0;hp=b6b025a268032ff5302bede1f5eb56247af13f21
Albeit, I'd like to revisit the error state and its being a final
status in the FSM, as somethings might be often better to just be
retried with a rate-limit forever in the context of HA. Anyhow,
definitively orthogonal to this series.
next prev parent reply other threads:[~2026-03-27 1:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-21 23:42 [PATCH ha-manager v2 0/4] fix #2751: implement disarm/arm HA for safer " Thomas Lamprecht
2026-03-21 23:42 ` [PATCH ha-manager v2 1/4] sim: hardware: add manual-migrate command for ignored services Thomas Lamprecht
2026-03-21 23:42 ` [PATCH ha-manager v2 2/4] api: status: add fencing status entry with armed/standby state Thomas Lamprecht
2026-03-21 23:42 ` [PATCH ha-manager v2 3/4] fix #2751: implement disarm-ha and arm-ha for safe cluster maintenance Thomas Lamprecht
2026-03-23 13:04 ` Dominik Rusovac
2026-03-25 15:50 ` Fiona Ebner
2026-03-27 1:17 ` Thomas Lamprecht [this message]
2026-03-26 16:02 ` Daniel Kral
2026-03-26 23:15 ` Thomas Lamprecht
2026-03-27 10:21 ` Daniel Kral
2026-03-21 23:42 ` [PATCH ha-manager v2 4/4] api: status: add disarm-ha and arm-ha endpoints and CLI wiring Thomas Lamprecht
2026-03-23 13:05 ` [PATCH ha-manager v2 0/4] fix #2751: implement disarm/arm HA for safer cluster maintenance Dominik Rusovac
2026-03-25 12:06 ` applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2efc6fc2-62ec-4822-829f-780d95938fe4@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=f.ebner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.