Re: [pve-devel] [PATCH container v2 3/6] fix #4474: lxc api: add overrule-shutdown parameter to stop endpoint

2024-04-08 Thread Friedrich Weber
On 06/04/2024 17:07, Thomas Lamprecht wrote: > Am 30/01/2024 um 18:10 schrieb Friedrich Weber: > [...] >> +raise_param_exc({ 'overrule-shutdown' => "Not applicable for HA >> resources." }) >> +if $overrule_shutdown; > > This probably could be implemented through a CRM command

Re: [pve-devel] [PATCH container v2 3/6] fix #4474: lxc api: add overrule-shutdown parameter to stop endpoint

2024-04-06 Thread Thomas Lamprecht
Am 30/01/2024 um 18:10 schrieb Friedrich Weber: > The new `overrule-shutdown` parameter is boolean and defaults to 0. If > it is 1, all active `vzshutdown` tasks by the current user for the same > CT are aborted before attempting to stop the CT. > > Passing `overrule-shutdown=1` is forbidden for

[pve-devel] [PATCH container v2 3/6] fix #4474: lxc api: add overrule-shutdown parameter to stop endpoint

2024-01-30 Thread Friedrich Weber
The new `overrule-shutdown` parameter is boolean and defaults to 0. If it is 1, all active `vzshutdown` tasks by the current user for the same CT are aborted before attempting to stop the CT. Passing `overrule-shutdown=1` is forbidden for HA resources. Signed-off-by: Friedrich Weber --- Notes: