Support filtering by forbidden aggregate membership

Registered by Tetsuro Nakamura

Placement supports ``member_of`` query parameters for the ``GET /resource_providers`` and ``GET /allocation_candidates`` endpoints. This parameter is either "a string representing an aggregate uuid" or "the prefix ``in:`` followed by a comma-separated list of strings representing aggregate uuids".

However, there is no expression for forbidden aggregates in the API. In other words, we have no way to say "don't use resource providers in this special aggregate for non-special workloads".

This blueprint aims to support negative filtering by the underlying resource provider's aggregate membership.

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
Low
Drafter:
Tetsuro Nakamura
Direction:
Needs approval
Assignee:
Tetsuro Nakamura
Definition:
Obsolete
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Matt Riedemann
Completed by
Eric Fried

Related branches

Sprints

Whiteboard

Addressed by: https://review.openstack.org/603352
    Spec: Support filtering by forbidden aggregate

Gerrit topic: https://review.openstack.org/#q,topic:bp/negative-aggregate-membership,n,z

Approved for Stein but currently blocked while Placement is being extracted from Nova. -- mriedem 20181220

The extracted placement API is no longer frozen for Stein but this is not started and likely will be deferred for Stein since feature freeze is in less than two weeks. -- mriedem 20190224

There are patches posted for this now: https://review.openstack.org/#/c/641393/ -- mriedem 20190306

We agreed to defer this to the Train release so I'm moving it out from Stein. Tracking this will probably happen in StoryBoard in Train under the placement project there rather than nova in launchpad, so we can just close this blueprint when a story exists in StoryBoard to track this work. -- mriedem 20190311

This is now reproposed in placement towards Train and is tracked in StoryBoard: https://storyboard.openstack.org/#!/story/2005297 - tetsuro0907 20190327

efried 20190419 - Marking obsolete since this is being tracked in StoryBoard.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.