* [PATCH ha-manager v3 1/2] resources: use resource instead of service on descriptions
2026-03-04 8:35 [PATCH ha-manager v3 0/2] resources: Expand max_restart option Maximiliano Sandoval
@ 2026-03-04 8:35 ` Maximiliano Sandoval
2026-03-04 8:35 ` [PATCH ha-manager v3 2/2] resources: Expand max_restart option Maximiliano Sandoval
1 sibling, 0 replies; 3+ messages in thread
From: Maximiliano Sandoval @ 2026-03-04 8:35 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
src/PVE/HA/Resources.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/PVE/HA/Resources.pm b/src/PVE/HA/Resources.pm
index 68d9d16..7af776c 100644
--- a/src/PVE/HA/Resources.pm
+++ b/src/PVE/HA/Resources.pm
@@ -72,7 +72,7 @@ EODESC
default => 1,
},
max_restart => {
- description => "Maximal number of tries to restart the service on"
+ description => "Maximal number of tries to restart the resource on"
. " a node after its start failed.",
type => 'integer',
optional => 1,
@@ -80,8 +80,8 @@ EODESC
minimum => 0,
},
max_relocate => {
- description => "Maximal number of service relocate tries when a"
- . " service fails to start.",
+ description => "Maximal number of resource relocate tries when a"
+ . " resource fails to start.",
type => 'integer',
optional => 1,
default => 1,
--
2.47.3
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH ha-manager v3 2/2] resources: Expand max_restart option
2026-03-04 8:35 [PATCH ha-manager v3 0/2] resources: Expand max_restart option Maximiliano Sandoval
2026-03-04 8:35 ` [PATCH ha-manager v3 1/2] resources: use resource instead of service on descriptions Maximiliano Sandoval
@ 2026-03-04 8:35 ` Maximiliano Sandoval
1 sibling, 0 replies; 3+ messages in thread
From: Maximiliano Sandoval @ 2026-03-04 8:35 UTC (permalink / raw)
To: pve-devel
When read next to `max_relocate` it is not clear which happens first
after a resource fails to start.
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
src/PVE/HA/Resources.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/HA/Resources.pm b/src/PVE/HA/Resources.pm
index 7af776c..c770900 100644
--- a/src/PVE/HA/Resources.pm
+++ b/src/PVE/HA/Resources.pm
@@ -73,7 +73,8 @@ EODESC
},
max_restart => {
description => "Maximal number of tries to restart the resource on"
- . " a node after its start failed.",
+ . " a node after its start failed. When reached, the HA manager will try to"
+ . " relocate the resource to an eligible node.",
type => 'integer',
optional => 1,
default => 1,
--
2.47.3
^ permalink raw reply [flat|nested] 3+ messages in thread