From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 8EBA11FF13F for ; Thu, 07 May 2026 14:00:51 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 95BAC16923; Thu, 7 May 2026 14:00:37 +0200 (CEST) From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= To: pve-devel@lists.proxmox.com Subject: [PATCH manager/pmg-api/proxmox{,-backup,-perl-rs,-offline-mirror} 0/8] adapt subscription handling to alternative server IDs Date: Thu, 7 May 2026 13:59:21 +0200 Message-ID: <20260507115957.1497272-1-f.gruenbichler@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1778155090378 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.054 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: P2EZIEGRV3JK25VGWM7LDYD5D3P436WN X-Message-ID-Hash: P2EZIEGRV3JK25VGWM7LDYD5D3P436WN X-MailFrom: f.gruenbichler@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: instead of only supporting one variant of server IDs, get a list of possible candidates via the proxmox-subscription crate. if a subscription is already configured, the matching server ID will be reused to avoid reissuing. v1: - drop proxmox-systemd part, already applied - add PMG changes - add PDM changes - add POM changes - rebase order of bumping: - proxmox-subscription (breaks PBS/PDM/POM) - pve-rs/pmg-rs (needs proxmox-subscription) - pve-manager (needs pve-rs) - pmg-api (needs pmg-rs) - pbs (needs proxmox-subscription) - pdm (needs proxmox-subscription) - pom (needs proxmox-subscription) tested PBS/PVE, additional testing of PMG/POM/PDM would be highly appreciated. sending to pve-devel, since it's our main list - this of course is a cross-product patch series ;) proxmox: Fabian Grünbichler (1): proxmox-subscription: add new machine-id based serverid proxmox-subscription/Cargo.toml | 3 +- proxmox-subscription/src/lib.rs | 2 +- proxmox-subscription/src/subscription_info.rs | 105 ++++++++++++++++-- 3 files changed, 96 insertions(+), 14 deletions(-) proxmox-backup: Fabian Grünbichler (1): subscription: adapt to multiple server ID variants src/api2/node/subscription.rs | 38 ++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 10 deletions(-) proxmox-perl-rs: Fabian Grünbichler (1): common: subscription: expose server ID candidates common/src/bindings/subscription.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) pve-manager: Fabian Grünbichler (2): subscription: adapt to multiple server ID variants api2tools: remove unused get_hwaddress PVE/API2/Subscription.pm | 26 ++++++++++++++++++++------ PVE/API2Tools.pm | 23 ----------------------- 2 files changed, 20 insertions(+), 29 deletions(-) pmg-api: Fabian Grünbichler (2): subscription: adapt to multiple server ID variants utils: drop now unused get_hwaddress src/PMG/API2/Subscription.pm | 27 +++++++++++++++++++++------ src/PMG/Utils.pm | 23 ----------------------- 2 files changed, 21 insertions(+), 29 deletions(-) proxmox-offline-mirror: Fabian Grünbichler (1): subscription handling: adapt to multiple server ID candidates src/bin/proxmox-offline-mirror-helper.rs | 36 +++++++++++++++---- src/bin/proxmox-offline-mirror.rs | 6 +++- .../subscription.rs | 5 ++- 3 files changed, 39 insertions(+), 8 deletions(-) Summary over all repositories: 12 files changed, 215 insertions(+), 90 deletions(-) -- Generated by murpp 0.11.0