[openstack-dev] [nova] [placement] resource providers update 38

Chris Dent cdent+os at anticdent.org
Fri Oct 13 12:58:33 UTC 2017


This is update 38. It is confused because last week's update said in
the subject that is was 36 but in the body that it was 37. It was 37.

# Most Important

Most important is simply making progress on the stuff that's
outstanding. There's enough in progress, with its related
dependencies, we pretty much just need to keep pushing things forward.

# What's Changed

During the scheduler team meeting it was decied that the root provider
should be represented when showing a nested resource provider resource.
Previously it was just going to be the parent (which could be used to
traverse to the root)

There are still a few specs pending that are interdependent with the
main themes so would be good to get reviewed:

* https://review.openstack.org/#/c/502306/
   Network bandwidth resource provider

* https://review.openstack.org/#/c/507052/
   Support traits in the Ironic driver

* https://review.openstack.org/#/c/508164/
   Add spec for symmetric GET and PUT of allocations
   (The POST /allocations spec depends on this one)

* https://review.openstack.org/#/c/509136/
   Fix issues for post-allocations spec

* https://review.openstack.org/#/c/504540/
   Spec for limiting GET /allocation_candidates

* https://review.openstack.org/#/c/510244/
   Granular Resource Request Syntax

* https://review.openstack.org/#/c/497733/
   Report CPU features to placement service by traits API

# Main Themes

## Nested Resource Providers

While working on nested resource providers it became clear there was
a lot of mixed up cruft in the resource provider objects, so before
the nested work there is now

https://review.openstack.org/#/q/status:open+topic:bp/de-orm-resource-providers

which is a stack of cleanups to how the SQL is managed in there. The
nested resource providers work is at:

https://review.openstack.org/#/q/branch:master+topic:bp/nested-resource-providers

This spec is important for making effective use of nested providers:

* https://review.openstack.org/#/c/510244/
   Granular Resource Request Syntax

And the work to make traits work is relevant here, because with traits
nested aren't near as useful:

https://review.openstack.org/#/q/bp/add-trait-support-in-allocation-candidates

## Migration allocations

The migration allocations work is happening at:

       https://review.openstack.org/#/q/topic:bp/migration-allocations

Management of those allocations currently involves some raciness,
birthing the idea to allow POST /allocations, some of the
code for that is in progress at

https://review.openstack.org/#/q/topic:bp/post-allocations

There are two outstanding bits of spec required for that:

* https://review.openstack.org/#/c/508164/
   Add spec for symmetric GET and PUT of allocations

* https://review.openstack.org/#/c/509136/
   Fix issues for post-allocations spec

## Alternate Hosts

We want to be able to do retries within cells, so we need some
alternate hosts when returning a destination that are structured
nicely for RPC:

     https://review.openstack.org/#/q/topic:bp/return-alternate-hosts

Matt has recently pointed out that this stuff may cause some hiccups
with the CachingScheduler that we'll need to resolve in some fashion,
either by making it work, documentating that it doesn't work, or...?

# Other Stuff

* https://review.openstack.org/#/c/508149/
    A spec in neutron for QoS minimum bandwidth allocation in Placement
    API

* https://review.openstack.org/#/q/topic:bug/1702420
   Fixes for shared providers map being incorrect

* https://review.openstack.org/#/c/499826/
   Include /resource_providers/uuid/allocations link
   (Matt has declared this needs a microversion)

* https://review.openstack.org/#/c/492247/
   Use ksa adapter for placement conf & requests

* https://review.openstack.org/#/q/topic:bp/placement-osc-plugin
   Placement plugin for osc

* https://review.openstack.org/#/c/492571/
   Make compute log less verbose with allocs autocorrection

* https://review.openstack.org/#/c/499539/
   Stack of functional test fixups

* https://review.openstack.org/#/c/495380/
   [placement] manage cache headers for /resource_providers

* https://review.openstack.org/#/c/511488/
   [placement] Confirm that empty resources query causes 400

* https://review.openstack.org/#/c/511485/
   [placement] add coverage for update of standard resource class

There's almost certainly more. Please add to the list if I've left off
something important.

# End

Your prize this week is a personal invitation to the TC elections.

-- 
Chris Dent                      (⊙_⊙')         https://anticdent.org/
freenode: cdent                                         tw: @anticdent


More information about the OpenStack-dev mailing list