[pdm-devel] [RFC datacenter-manager 0/3] PDM subscription status

Dominik Csapak d.csapak at proxmox.com
Mon Dec 1 13:38:12 CET 2025


just to note:

if we use this approach, a large portion of my patches are not necessary
anymore, since we can then simply ask /nodes/localhost/subscription
for the global check, and we don't need to query the endpoint
that returns the remotes subscription info

(it's probably a better approach)

On 12/1/25 12:38 PM, Fabian Grünbichler wrote:
> this RFC series adds subscription endpoints and enterprise APT repo
> handling for PDM itself.. there's considerable overlap with Dominik's
> series[0], which is why I sent this now as RFC so we can discuss which
> approach to take forward and merge the two series.
> 
> the patches here are largely untested, other than returning the right
> error message when querying a system with not enough valid
> subscriptions..
> 
> 0: https://lore.proxmox.com/pdm-devel/20251201103917.1357369-1-d.csapak@proxmox.com
> 
> Fabian Grünbichler (3):
>    subscription: add serverid field to node subscription info
>    api types: add new SubscriptionStatistics
>    api: add subscription endpoints
> 
>   lib/pdm-api-types/src/subscription.rs |  17 +++
>   server/src/api/nodes/mod.rs           |   2 +
>   server/src/api/nodes/subscription.rs  | 191 ++++++++++++++++++++++++++
>   server/src/api/resources.rs           |   4 +-
>   4 files changed, 213 insertions(+), 1 deletion(-)
>   create mode 100644 server/src/api/nodes/subscription.rs
> 





More information about the pdm-devel mailing list