Re: [PATCH manager v2] ui: ha: add disarm/re-arm button

Dominik Rusovac
2026-04-16T05:58:38Z

On Wed Apr 15, 2026 at 4:18 PM CEST, Dominik Csapak wrote:
>
>
> On 4/15/26 3:30 PM, Dominik Rusovac wrote:
>> thx for the comments! I will send a v3
>>
>> On Wed Apr 15, 2026 at 2:32 PM CEST, Dominik Csapak wrote:
>>> what i miss with using these is some feedback when i activated them.
>>>
>>> This is probably more due to the backend decision, but
>>> when clicking arm/disarm, there is nothing happening in the gui at
>>> first, no spinning icon, no change in state..
>>
>> regarding feedback after activating either of them: one can see the
>> Status changing in the Status panel, which exactly traces what's going
>> on for every node, in particular it reveals the armed-state in the
>> Status of fencing
>>
>> if that's not enough feedback, I'd look into other possible solutions in
>> more detail
>
> on my test machine, it multiple seconds from clicking ok to
> the status actually changing, so this might be confusing, especially
> if the cluster/connection is not the fastest and the updates
> take longer to arrive.
>

ok, I see your point. I will try to come up with a solution

>>
>>>
>>> I think there are a few possible solutions on this, but
>>> i'm not super deep in the ha stack, so sorry in advance if
>>> some can't work:
>>> * use a worker that waits for the change of the ha state, e.g.
>>> via polling. this could directly be shown in the gui
>>> * mark the requested state immediately somewhere and return
>>> it with the overall ha state, so we see in the gui what is happening
>>> * 'fake' the progress until we see a status change
>>> (i don't really like this, since it's prone to errors when e.g.
>>> one admin disarms, the other arms again, but the gui does not
>>> get an updated state in the meantime)
>>>

[snip]