API for acquiring multiple nodes, all or none
Bug #1435504 reported by
Jason Hobbs
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.
Changed in maas: | |
milestone: | none → next |
Changed in maas: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in maas: | |
milestone: | next → none |
To post a comment you must log in.
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