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>,
	<pdm-devel@lists.proxmox.com>
Subject: Re: [PATCH datacenter-manager v3 00/12] subscription key pool registry
Date: Mon, 18 May 2026 15:23:35 +0200	[thread overview]
Message-ID: <DILU2TQ8QZHN.39GBYFHG41593@proxmox.com> (raw)
In-Reply-To: <20260515074623.766766-1-t.lamprecht@proxmox.com>

On Fri May 15, 2026 at 9:43 AM CEST, Thomas Lamprecht wrote:
> v3 of the Subscription Registry - many thanks @Lukas for the review!
> The notable shape change vs v2: the single Reissue Key patch is split
> into the four discrete actions PDM can drive today (Clear Key, Adopt
> Key, Adopt All, Check Subscription); the on-disk layout split moves to
> its own commit; each user-visible action ships with its api / cli / ui /
> docs change so a reviewer reads one patch end-to-end.
>
> Check Subscription uses the canonical UpdateSubscription from the
> recently uploaded proxmox-subscription 1.0.2; the matching PBS-side
> adoption is posted as a separate patch on proxmox-backup.
>
> Notable v2 -> v3:
> * Reissue Key renamed to Clear Key (v2 reissue did not actually round-
>   trip through the shop); "Reissue" stays reserved for the future
>   shop-side action.
> * Clear Pending renamed to Discard Pending; now also cancels queued
>   clears, not just pending pushes.
> * New Adopt Key / Adopt All paths import a foreign live key into the
>   pool without touching the remote, for fleet onboarding.
> * New Check Subscription action drives update_subscription(force=true)
>   and invalidates the PDM cache, so a stale Invalid / Expired verdict
>   can be promoted without waiting for the periodic check.
> * Pool grid columns are sortable; new Source column (hidden by
>   default) distinguishes manually-added from adopted entries.
> * ESC dismisses every confirmation dialog on the registry view.
> * Invalid keys land with a clear error instead of staying queued with
>   a misleading pending badge.
> * Per-node Revert can drop a single queued clear without the global
>   Discard Pending.
>
> Open follow-ups, not in this series:
> * Shop-side full reissue, so PDM can drive the actual key rotation
>   rather than just Clear Key on its side.
> * Atomic clear-and-assign so swapping a key on a node gets reduced from
>   doing four (Clear / Apply / Assign / Apply) steps to one queued
>   change (+ apply).
> * Shop-bundle import path; the on-disk shadow file plumbing already
>   accommodates the signed SubscriptionInfo blob.
> * Per-row Auto-Assign overrides for pinning a specific key to a node.
> * Status column filter on the node-status tree.
>
> The trailing wizard commit (v3-0012) is sent as RFC and should be
> probably skipped; see its diffstat note for details.
>


Gave this another go on the latest master. I did not dig through the
code yet, but focused on the UI and UX for now. I'll try to at least
skim over the code again, probably tomorrow.

Looks great so far, only found very minor things that could be improved
in the UI:

- "Assign Key to Remote" dialog
  - Maybe hide remotes from the dropdown where all nodes already have a
    subscription?
  - "Node" dropdown has a "Memory" column -> does not seem useful in
    this context

- "Assign Key to ...", as triggered from the right-side panel has some
  quite weird padding on the bottom

- "Add Subscription Keys" dialog: The text on the bottom ("One key per line...")
 does not have enough contrast to be clearly legible (in both light and
 dark mode)

- In the "Auto-Assign Proposal" dialog, the "Key" column does seem to
  use a slightly smaller font, 12px instead of 13px -- this looks a bit
  odd

But those are just very minor complaints which could also be fixed as
follow-ups.

Tested-by: Lukas Wagner <l.wagner@proxmox.com>





      parent reply	other threads:[~2026-05-18 13:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-15  7:43 [PATCH datacenter-manager v3 00/12] subscription key pool registry Thomas Lamprecht
2026-05-15  7:43 ` [PATCH datacenter-manager v3 01/12] api types: subscription level: render full names Thomas Lamprecht
2026-05-15  7:43 ` [PATCH datacenter-manager v3 02/12] pdm-client: add wait_for_local_task helper Thomas Lamprecht
2026-05-15 15:21   ` Wolfgang Bumiller
2026-05-15  7:43 ` [PATCH datacenter-manager v3 03/12] subscription: pool: add data model and config layer Thomas Lamprecht
2026-05-15 15:21   ` Wolfgang Bumiller
2026-05-15  7:43 ` [PATCH datacenter-manager v3 04/12] subscription: api: add key pool and node status endpoints Thomas Lamprecht
2026-05-15 15:21   ` Wolfgang Bumiller
2026-05-18 14:27   ` Lukas Wagner
2026-05-15  7:43 ` [PATCH datacenter-manager v3 05/12] ui: registry: add view with key pool and node status Thomas Lamprecht
2026-05-19 15:08   ` Wolfgang Bumiller
2026-05-15  7:43 ` [PATCH datacenter-manager v3 06/12] cli: client: add subscription key pool management subcommands Thomas Lamprecht
2026-05-15  7:43 ` [PATCH datacenter-manager v3 07/12] docs: add subscription registry chapter Thomas Lamprecht
2026-05-15  7:43 ` [PATCH datacenter-manager v3 08/12] subscription: add Clear Key action and per-node revert Thomas Lamprecht
2026-05-15  7:43 ` [PATCH datacenter-manager v3 09/12] subscription: add Adopt Key action for foreign live subscriptions Thomas Lamprecht
2026-05-15  7:43 ` [PATCH datacenter-manager v3 10/12] subscription: add Adopt All bulk action Thomas Lamprecht
2026-05-15  7:43 ` [PATCH datacenter-manager v3 11/12] subscription: add Check Subscription action Thomas Lamprecht
2026-05-15  7:43 ` [RFC PATCH datacenter-manager v3 12/12] ui: registry: add Add-and-Assign wizard from Assign Key dialog Thomas Lamprecht
2026-05-18 13:41   ` Lukas Wagner
2026-05-18 13:23 ` Lukas Wagner [this message]

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=DILU2TQ8QZHN.39GBYFHG41593@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=pdm-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