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

Chris Dent cdent+os at anticdent.org
Fri Oct 20 12:32:45 UTC 2017

This is update 39 for resource providers and placement.

# Most Important

This week we had spec freeze, so now it is time to get rolling with
the making and the doing. Most of the specs that are related to
placement already had code in progress, so there's lots of stuff ready
to review. Given the volume of stuff in flight, the usual extras we'll
discover along the way, and the headspace we need to reserve for
thinking and experimenting about the future, we've got plenty going.

# What's Changed

Forward progress mostly. Engaging Neutron using placement, at the
intersection of Nova and Neutron, as represented by specs like


has been put off to later as it has too many dependencies on stuff
that is currently under development and not yet done.

The Granular Resource Request Syntax spec merged, which lays the
groundwork for nested resource providers and traits can work.

efried has created a functional test that exercises two bugs he
figured out with "alloc candidates with same RC in cn & shared"


This is interesting because it requires us to make some decisions
and clear statements about what is supposed to be happening, not just
fix a bug.

# Main Themes

## Nested Resource Providers

Progress is happening on nested providers:


It was injected into the middle of the de-orm stack, so while much of
that work has merged, there are some tail ends:


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


## Migration allocations

The migration allocations work is nearly complete at:


Management of those allocations currently involves some raciness,
birthing the idea to allow POST /allocations, which causes a cascade
of required changes to bring that about. The code stack for that
starts at:


## 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:


# Other

* https://review.openstack.org/#/c/513001/
   Only add CUSTOM_ prefix if required

* https://review.openstack.org/#/c/508555/
   Re-use existing ComputeNode on ironic rebalance

* https://review.openstack.org/#/c/512553/
   Reproduce bug 1724172 in the functional test env
   (this is an allocations related bug)

* https://review.openstack.org/#/c/493865/
   cover migration cases with functional tests

* https://review.openstack.org/#/c/513041/
   Extract instance allocation removal code

* https://review.openstack.org/#/c/495159/
   Test resource allocation during soft delete

* https://review.openstack.org/#/c/499539/
   Moving more utils to ServerResourceAllocationTestBase

* https://review.openstack.org/#/c/503037/
   factor out compute service start in ServerMovingTest

* https://review.openstack.org/#/c/505202/
   Change live_migrate tests to use fakedriver

* https://review.openstack.org/#/c/497399/
   Extend ServerMovingTests with custom resources

* 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

* https://review.openstack.org/#/q/topic:bp/allocation-candidates-limit
   Enable limiting GET /allocation_candidates

* https://review.openstack.org/#/c/513057/
   [placement] Clean up TODOs in allocations.yaml gabbit

* https://review.openstack.org/#/q/topic:bug/1578989
   move placement client in neutron to neutron-lib and add

* https://review.openstack.org/#/c/494206/
   Remove the Pike migration code for [Ironic] flavor migration

* https://review.openstack.org/#/c/511342/
   placement: add API reference for create inventory

# End

You only get a prize if you review all the things linked here. If you
do then your prize is a massive sense of accomplishment and

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

More information about the OpenStack-dev mailing list