all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Michael Köppl" <m.koeppl@proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: j.klocker@proxmox.com
Subject: [PATCH test-tools 0/3] register clusters with PDM after forming them
Date: Thu, 26 Nov 2026 18:59:12 +0100	[thread overview]
Message-ID: <20261126175915.2833652-1-m.koeppl@proxmox.com> (raw)

PDM remotes were registered before clusters were formed, so each node
became a standalone remote pinned to its original certificate. After
joining, PDM could only connect to the node that created the cluster.

This series forms clusters first and registers each cluster as a
single remote, starting all of its nodes together so they are quorate.
1/3 and 2/3 are refactors with no functional changes intended.

With PDM, max_concurrent_setups must now cover PDM plus the largest
cluster. This is checked before the setup creates anything.

Tested with setup-lifecycle.py and a local 3-node cluster setup.


test-tools:

Michael Köppl (3):
  instance: pve client: add helper for the API certificate fingerprint
  instance: move the grouping of instances by cluster into a helper
  instance: setup: register clusters with PDM after forming them

 README.md                                     |   8 +-
 proxmox-test-instance/src/api/pdm_client.rs   |  26 +-
 proxmox-test-instance/src/api/pve_client.rs   |  10 +
 .../src/instance_manager/budget.rs            |   7 +
 .../src/instance_manager/mod.rs               | 241 +++++++++++-------
 .../tests/setup-lifecycle.py                  |  77 ++++--
 6 files changed, 255 insertions(+), 114 deletions(-)


Summary over all repositories:
  6 files changed, 255 insertions(+), 114 deletions(-)

-- 
Generated by murpp 0.12.1




             reply	other threads:[~2026-11-26 17:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 17:59 Michael Köppl [this message]
2026-11-26 17:59 ` [PATCH test-tools 1/3] instance: pve client: add helper for the API certificate fingerprint Michael Köppl
2026-11-26 17:59 ` [PATCH test-tools 2/3] instance: move the grouping of instances by cluster into a helper Michael Köppl
2026-11-26 17:59 ` [PATCH test-tools 3/3] instance: setup: register clusters with PDM after forming them Michael Köppl

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=20261126175915.2833652-1-m.koeppl@proxmox.com \
    --to=m.koeppl@proxmox.com \
    --cc=j.klocker@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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal