API for acquiring multiple nodes, all or none

Bug #1435504 reported by Jason Hobbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Wishlist
Unassigned

Bug Description

MAAS doesn't have an API for acquiring multiple nodes, all or none. This is something we ended up implementing client side in OIL:

- start with a list of nodes that we want to acquire.
- try to acquire each node via Node acquire api.
- if we fail to acquire a node, release all of the nodes we already acquired.

This seems like it could be a common pattern, and could be done all in one transaction in MAAS in a single API call that just took a list of sets of constraints.

Tags: oil
Changed in maas:
milestone: none → next
Changed in maas:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Triaged → Invalid
Changed in maas:
milestone: next → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.