all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Lukas Wagner" <l.wagner@proxmox.com>
To: "Thomas Lamprecht" <t.lamprecht@proxmox.com>,
	"Lukas Wagner" <l.wagner@proxmox.com>,
	"Fiona Ebner" <f.ebner@proxmox.com>,
	<pbs-devel@lists.proxmox.com>, <pve-devel@lists.proxmox.com>
Subject: Re: [PATCH pve-storage 7/7] api: add /nodes/<node>/storage/<storage>/identity route
Date: Tue, 21 Apr 2026 15:07:20 +0200	[thread overview]
Message-ID: <DHYUTO25U619.2V21QF10XSHI0@proxmox.com> (raw)
In-Reply-To: <231a34ce-06cb-40b7-b0d8-6238e368e60c@proxmox.com>

On Tue Apr 21, 2026 at 2:35 PM CEST, Thomas Lamprecht wrote:
> Am 17.04.26 um 11:10 schrieb Lukas Wagner:
>> On Fri Apr 17, 2026 at 10:54 AM CEST, Fiona Ebner wrote:
>>> Am 15.04.26 um 1:57 PM schrieb Lukas Wagner:
>>>> @@ -308,6 +308,7 @@ __PACKAGE__->register_method({
>>>>              { subdir => 'download-url' },
>>>>              { subdir => 'file-restore' },
>>>>              { subdir => 'import-metadata' },
>>>> +            { subdir => 'identity' },
>>>
>>> Just bike-shedding, but I'm wondering if 'identifier' would be slightly
>>> more natural?
>> 
>> I can change it if you prefer, but I think I prefer 'identity', if I'm
>> honest.
> Why not "instance-id"? it's used widely in this series and is IMO quite
> descriptive.

It was 'instance-id' in the RFC, but in the patch notes I mentioned that
a more generic term could maybe be useful in case we want need to reuse the
concept of a identity for other storages as well, to which Chris agreed.

After some brief discussion with Chris I went for 'identity' [1].

In the PBS-client part of these patches, Chris mentioned that
'instance-id' alone could be misleading [2, 3], which is why I went with
the names that I used in this series.

If you prefer the more specific 'instance-id', I can of course change it
back to that. Would you then also propose changing the terms used in
PBS? There we now the 'server-identity' sub-commands for manager and
client and the '/nodes/.../server-identity' routes, which *return* the
`pbs-instance-id` field in the response.

[1] https://lore.proxmox.com/pve-devel/98f893be-871c-4a46-9b06-3ee17978131d@proxmox.com/

[2] https://lore.proxmox.com/pve-devel/9a4d051a-58a5-445f-a127-c11706d93194@proxmox.com/
[3] https://lore.proxmox.com/pve-devel/ee0dcf35-41fe-4393-a86c-5bf1871633a4@proxmox.com/




  reply	other threads:[~2026-04-21 13:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-15 11:58 [PATCH common/proxmox{,-backup}/storage 0/7] establish unique instance-id for PBS nodes Lukas Wagner
2026-04-15 11:58 ` [PATCH proxmox 1/7] pbs-api-types: add ServerIdentity response type Lukas Wagner
2026-04-15 11:58 ` [PATCH proxmox 2/7] systemd: add support for machine-id generation Lukas Wagner
2026-04-15 11:58 ` [PATCH proxmox-backup 3/7] api: add /nodes/localhost/server-identity Lukas Wagner
2026-04-15 11:58 ` [PATCH proxmox-backup 4/7] client: add 'server-identity' sub-command Lukas Wagner
2026-04-15 11:58 ` [PATCH proxmox-backup 5/7] manager: add 'server-identity' subcommand Lukas Wagner
2026-04-15 11:58 ` [PATCH common 6/7] pbs-client: add support for the 'server-identity' command Lukas Wagner
2026-04-15 11:58 ` [PATCH pve-storage 7/7] api: add /nodes/<node>/storage/<storage>/identity route Lukas Wagner
2026-04-17  8:54   ` Fiona Ebner
2026-04-17  9:11     ` Lukas Wagner
2026-04-21 12:35       ` Thomas Lamprecht
2026-04-21 13:07         ` Lukas Wagner [this message]
2026-04-21 13:52           ` Thomas Lamprecht
2026-04-21 14:06             ` Christian Ebner
2026-04-21 12:20 ` [PATCH common/proxmox{,-backup}/storage 0/7] establish unique instance-id for PBS nodes Christian 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=DHYUTO25U619.2V21QF10XSHI0@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=f.ebner@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=t.lamprecht@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