Remaining work on shared resources for Pike

Registered by Jay Pipes

Few things need to be completed for the shared resources work in Pike:

1) Rename "can_host" to "shared" on placement DB's resource_providers table
  (edit mriedem): Per discussion at the Pike PTG, this needs to change since we're going to use traits now: https://review.openstack.org/#/c/376198/
2) Add InventoryList.get_all_by_aggregate_uuid()
3) Expose GET /aggregates/{uuid}/inventories
4) Integrate in reporting client the allocation consumption from the shared resource providers of disk
5) Add a bunch of functional tests

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
High
Drafter:
Jay Pipes
Direction:
Needs approval
Assignee:
Jay Pipes
Definition:
Obsolete
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Matt Riedemann
Completed by
Jay Pipes

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/shared-resources-pike,n,z

Addressed by: https://review.openstack.org/433977
    placement: rename can_host to shared

Addressed by: https://review.openstack.org/433978
    placement: get inventory shared with provider

Addressed by: https://review.openstack.org/376198
    [placement] Add Traits related table to the api database

Addressed by: https://review.openstack.org/460798
    placement: get providers sharing capacity

Gerrit topic: https://review.openstack.org/#q,topic:shared-resources-pike,n,z

Addressed by: https://review.openstack.org/461574
    placement: shared resources when finding providers

Addressed by: https://review.openstack.org/461899
    placement: tests for non-shared with shared

Addressed by: https://review.openstack.org/461900
    placement: test non-shared out of inventory

Addressed by: https://review.openstack.org/461901
    placement: test for agg association not sharing

I'm closing this out for Pike since there are no open changes and the #4 in this list was handled by https://blueprints.launchpad.net/nova/+spec/placement-allocation-requests. -- mriedem 20170707

Actually given bug 1707256 I'm going to say we can't yet support shared storage so I'm marking this as not completed. -- mriedem 20170804

Deferring this to Queens.

Per the Queens PTG discussion on priorities for Placement:

http://lists.openstack.org/pipermail/openstack-dev/2017-September/122233.html

We have agreed to defer this to Rocky. -- mriedem 20170919

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.