From: Daniel Kral <d.kral@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH ha-manager 0/1] prevent adding possibly non-existent nodes
Date: Thu, 22 Jan 2026 10:19:34 +0100 [thread overview]
Message-ID: <20260122092240.118099-1-d.kral@proxmox.com> (raw)
A small patch that removes the possibility to add possibly non-existent
nodes through get_node_state(...), node_is_online(...),
node_is_operational(...) and node_is_offline_delayed(...), which makes
the output of list_nodes() incorrect.
Most call sites will output an "node is not online" error to the
relevant log, but there is no output to the user, which is a possible
improvement for another patch series.
Daniel Kral (1):
nodestate: do not write unknown node status in get_node_state
src/PVE/HA/NodeStatus.pm | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--
2.47.3
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next reply other threads:[~2026-01-22 9:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 9:19 Daniel Kral [this message]
2026-01-22 9:19 ` [pve-devel] [PATCH ha-manager 1/1] nodestate: do not write unknown node status in get_node_state Daniel Kral
2026-01-22 10:25 ` [pve-devel] applied: [PATCH ha-manager 0/1] prevent adding possibly non-existent nodes Fiona Ebner
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=20260122092240.118099-1-d.kral@proxmox.com \
--to=d.kral@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.