public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [RFC PATCH datacenter-manager 0/3] implement bulk start
@ 2025-01-29 10:51 Dominik Csapak
  2025-01-29 10:51 ` [pdm-devel] [RFC PATCH datacenter-manager 1/3] server: pve api: add new bulkstart api call Dominik Csapak
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Dominik Csapak @ 2025-01-29 10:51 UTC (permalink / raw)
  To: pdm-devel

Sending as RFC, because it's still very rough and i want to get some
early feedback.

This series implements an api call 'bulk-start' which is running on
the pdm itself, that mimics the bulkstart from pve, but without the
node limitation of pve.

Does that make sense? Or would it be better to try to implement that
on pve side? The advantage we have here is that we have an
external view of the cluster, which means that things like node
failures, synchronisation, etc. are much easier to handle.

If we'd implment something like this on PVE, there has to be a node
that has control of the api calls to make (or to schedule something via
pmxcfs) and that is probably much harder to do there (pmxcfs sync queue)
or brings some problems with it (node dies in the middle of an api call)

It's very early, so please don't judge the actual api call code just
now, I'd extend it with failure resulotion, polling the task, etc.

OTOH there is the question if the UI makes sense this way, or if we want
to combine the 'select to view details' and 'select to to a bulk action'
into one. Or if we want to do the bulk actions more like in pve with
a popup that shows the vm list again.

Dominik Csapak (3):
  server: pve api: add new bulkstart api call
  pdm-client: add bulk_start method
  ui: pve tree: add bulk start action

 lib/pdm-client/src/lib.rs |   9 ++-
 server/src/api/pve/mod.rs |  98 +++++++++++++++++++++++++++-
 ui/src/pve/tree.rs        | 133 ++++++++++++++++++++++++++++++++++++--
 3 files changed, 234 insertions(+), 6 deletions(-)

-- 
2.39.5



_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-30 16:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-29 10:51 [pdm-devel] [RFC PATCH datacenter-manager 0/3] implement bulk start Dominik Csapak
2025-01-29 10:51 ` [pdm-devel] [RFC PATCH datacenter-manager 1/3] server: pve api: add new bulkstart api call Dominik Csapak
2025-01-29 10:51 ` [pdm-devel] [RFC PATCH datacenter-manager 2/3] pdm-client: add bulk_start method Dominik Csapak
2025-01-29 10:51 ` [pdm-devel] [RFC PATCH datacenter-manager 3/3] ui: pve tree: add bulk start action Dominik Csapak
2025-01-29 18:48 ` [pdm-devel] [RFC PATCH datacenter-manager 0/3] implement bulk start Thomas Lamprecht
2025-01-30  8:14   ` Dominik Csapak
2025-01-30 16:15     ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal