From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH ha-manager v3 2/2] resources: Expand max_restart option
Date: Wed, 4 Mar 2026 09:35:58 +0100 [thread overview]
Message-ID: <20260304083559.75293-3-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20260304083559.75293-1-m.sandoval@proxmox.com>
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
prev parent reply other threads:[~2026-03-04 8:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 8:35 [PATCH ha-manager v3 0/2] " 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 [this message]
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=20260304083559.75293-3-m.sandoval@proxmox.com \
--to=m.sandoval@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.