From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 3C9741FF140 for ; Fri, 24 Apr 2026 23:25:50 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0F43B2032D; Fri, 24 Apr 2026 23:25:50 +0200 (CEST) From: Thomas Lamprecht To: pbs-devel@lists.proxmox.com, pve-devel@lists.proxmox.com, Lukas Wagner Subject: partially-applied: [PATCH common/proxmox{,-backup}/storage v2 0/9] establish unique instance-id for PBS nodes Date: Fri, 24 Apr 2026 23:24:12 +0200 Message-ID: <177706584622.3830480.7141922228537058289.b4-ty@b4> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260424082943.89614-1-l.wagner@proxmox.com> References: <20260424082943.89614-1-l.wagner@proxmox.com> 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: 1777065854666 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.273 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 KAM_LOTSOFHASH 0.25 Emails with lots of hash-like gibberish POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes 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: DWFH37WJZ3R6NVJMPLGN4S75TPEHAEK5 X-Message-ID-Hash: DWFH37WJZ3R6NVJMPLGN4S75TPEHAEK5 X-MailFrom: t.lamprecht@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 Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, 24 Apr 2026 10:29:34 +0200, Lukas Wagner wrote: > In PDM we require some way to match PBS storage <-> PBS remote. > > Having some kind of unique ID for each PBS instance should make it quite easy > to establish such a mapping completely automatically. > > The general approach is > 1.) add /nodes/localhost/server-identity route in PBS, returning a unique, per-installation ID > 2.) add something like /nodes/.../storage//identity in PVE, which uses > proxmox-backup-client internally to return the instance ID for this PBS storage > 3.) PDM can then use both API routes to establish the mapping > > [...] Applied the proxmox and proxmox-backup parts, thanks! [proxmox] [1/2] pbs-api-types: add ServerIdentity response type commit: 0a892c57ffc37003f0c0988d9ccd6b6d62b1d873 [2/2] systemd: add support for machine-id generation commit: 67b9fec6d26a53c44670a085763b8f5a4a0bfa94 [proxmox-backup] [1/3] api: add /nodes/localhost/identity commit: 897df9240f8a7c36ce61b61f3ddc536e11907e0f [2/3] client: add 'server-identity' sub-command commit: c6e031ed2278b01b646552f154fdb55bd3d1a23b [3/3] manager: add 'server-identity' subcommand commit: 947d6f2728fc54909eb12de84cfcd9f1707ba69a