Simultaneously Post Multiple Allocations

Registered by Chris Dent

Being able to create allocations for multiple consumers in one request will remove some of the racing built into the process described by https://blueprints.launchpad.net/nova/+spec/migration-allocations , wherein an allocation is written for an instance and a migration uuid.

Blueprint information

Status:
Complete
Approver:
Dan Smith
Priority:
High
Drafter:
Chris Dent
Direction:
Approved
Assignee:
Chris Dent
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-2
Started by
Matt Riedemann
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/post-allocations,n,z

Addressed by: https://review.openstack.org/499259
    Add a spec for POST /allocations in placement

Addressed by: https://review.openstack.org/500073
    WIP: [placement] POST /allocations to set allocations for >1 consumers

Addressed by: https://review.openstack.org/500410
    Move project_id and user_id to Allocation object

Addressed by: https://review.openstack.org/501051
    WIP: [placement] Allow _set_allocations to delete allocations

Addressed by: https://review.openstack.org/502164
    [placement] Removing versioning from resource_provider objects

Addressed by: https://review.openstack.org/502163
    [placement] Unregister the ResourceProvider object

Addressed by: https://review.openstack.org/502162
    [placement] Unregister the ResourceProviderList object

Addressed by: https://review.openstack.org/502161
    [placement] Unregister the Inventory object

Addressed by: https://review.openstack.org/502160
    [placement] Unregister the InventoryList object

Addressed by: https://review.openstack.org/502158
    [placement] Unregister the AllocationList object

Addressed by: https://review.openstack.org/502159
    [placement] Unregister the Allocation object

Addressed by: https://review.openstack.org/502156
    [placement] Unregister the UsageList object

Addressed by: https://review.openstack.org/502157
    [placement] Unregister the Usage object

Addressed by: https://review.openstack.org/502154
    [placement] Unregister the ResourceClassList object

Addressed by: https://review.openstack.org/502155
    [placement] Unregister the ResourceClass object

Addressed by: https://review.openstack.org/502152
    [placement] Unregister the TraitList object

Addressed by: https://review.openstack.org/502153
    [placement] Unregister the Trait object

Addressed by: https://review.openstack.org/507224
    [placement] Limit number of attempts to delete allocations

Addressed by: https://review.openstack.org/509136
    Fix issues for post-allocations spec

Addressed by: https://review.openstack.org/510625
    [placement] Enable PUT dict to /allocations/{consumer_uuid}

Addressed by: https://review.openstack.org/510626
    [placement] Document the changes to PUT /allocations/{consumer_uuid}

Addressed by: https://review.openstack.org/512420
    Include project_id and user_id in AllocationList.get_all_by_consumer_id

Addressed by: https://review.openstack.org/512421
    [placement] Include project_id and user_id in GET /allocations

Addressed by: https://review.openstack.org/523401
    [placement] Fix GET PUT /allocations nits

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.