Functionality related to allocations.
Assign the previously allocated node to the node allocation.
This is not the actual allocation process, but merely backfilling of allocation_uuid for a previously allocated node.
context – an admin context
allocation – an allocation object associated with the node
node_id – An ID of the node.
AllocationFailed if the node does not match the allocation
NodeAssociated if the node is already associated with another instance or allocation.
InstanceAssociated if the allocation’s UUID is already used on another node as instance_uuid.
NodeNotFound if the node with the provided ID cannot be found.
Process the allocation.
This call runs in a separate thread on a conductor. It finds suitable nodes for the allocation and reserves one of them.
This call does not raise exceptions since it’s designed to work asynchronously.
context – an admin context
allocation – an allocation object
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.