[placement] update 19-26
cdent+os at anticdent.org
Fri Jul 5 13:01:40 UTC 2019
Pupdate 19-26. Next week is R-15, two weeks until Train milestone 2.
# Most Important
The [spec for nested
merged and significant progress has been made in the implementation.
That work is nearly ready to merge (see below), after a few more
reviews. Once that happens one of our most important tasks will be
experimenting with that code to make sure it fully addresses the
uses cases, has proper documentation (including "how do I use
this?"), and is properly evaluated for performance and
# What's Changed
* The implementation for mappings in allocation candidates had a bug
which Eric [found](https://review.opendev.org/668302) and fixed
and then I realized there was a [tidier way to do
it](https://review.opendev.org/668724). This then led to the
`same_subtree` work needing to manage less information, because it
was already there.
* The spec for [Consumer
merged and work [has
* We're using os-traits 0.15.0 now.
* There's a [framework in place](https://review.opendev.org/665695)
for nested resource provider peformance testing. We need to update
the provider topology to reflect real world situations (more on
* The `root_required` query parameter on `GET
/allocation_candidates` has been merged as [microversion
* I've sent [an
announcing my intent to not go to the Shangai (or any other)
summit, and what changes that could imply for how Placement does
All placement specs have merged. Thanks to everyone for the frequent
reviews and quick followups. We've been maintaining some good
Some non-placement specs are listed in the Other section below.
(Numbers in () are the change since the last pupdate.)
There are 23 (3) stories in [the placement
0 (0) are [untagged](https://storyboard.openstack.org/#!/worklist/580).
2 (-2) are [bugs](https://storyboard.openstack.org/#!/worklist/574). 5 (0)
are [cleanups](https://storyboard.openstack.org/#!/worklist/575). 11
(0) are [rfes](https://storyboard.openstack.org/#!/worklist/594).
4 (1) are [docs](https://storyboard.openstack.org/#!/worklist/637).
If you're interested in helping out with placement, those stories
are good places to look.
* Placement related nova [bugs not yet in progress](https://goo.gl/TgiPXb)
on launchpad: 16 (0).
* Placement related nova [in progress bugs](https://goo.gl/vzGGDQ) on
launchpad: 4 (-1).
osc-placement is currently behind by 11 microversions.
Add support for multiple member_of.
# Main Themes
## Nested Magic
These are the features required by modern nested resource provider
use cases. We've merged mappings in allocation candidates and
`root_required`. `same_subtree` and resourceless request groups are
what's left and they are in:
Support `same_subtree` queryparam
## Consumer Types
Adding a type to consumers will allow them to be grouped for various
purposes, including quota accounting.
Cleanup is an overarching theme related to improving documentation,
performance and the maintainability of the code. The changes we are
making this cycle are fairly complex to use and are fairly complex
to write, so it is good that we're going to have plenty of time to
clean and clarify all these things.
As mentioned above, one of the important cleanup tasks that is not
yet in progress is updating the
that creates the nested topology that's used in nested performance
testing. The topology there is simple, unrealistic, and doesn't
sufficiently exercise the several features that may be used during a
query that desires a nested response.
Recently I've been seeing that the `placement-perfload` job is
giving results that vary between `N` and `N*2` (usually .5 and 1
seconds) and the difference that I can discern is the type of CPUs
being presented by the host (same number of CPUs (8) but different
type). This supports something we've been theorizing for a while:
when dealing with large result sets we are CPU bound processing the
several large result sets returned by the database. Further
Another cleanup that needs to start is satisfying the community wide
goal of [PDF doc
# Other Placement
Miscellaneous changes can be found in [the usual
There are three [os-traits
being discussed. And one [os-resource-classes
# Other Service Users
New discoveries are added to the end. Merged stuff is removed.
Anything that has had no activity in 4 weeks has been removed.
Nova: nova-manage: heal port allocations
nova-spec: Allow compute nodes to use DISK_GB from shared storage RP
Cyborg: Placement report
helm: WIP: add placement chart
Nova: Use OpenStack SDK for placement
Nova: Spec: Provider config YAML file
libvirt: report pmem namespaces resources by provider tree
Nova: Remove PlacementAPIConnectFailure handling from AggregateAPI
Nova: support move ops with qos ports
Nova: get_ksa_adapter: nix by-service-type confgrp hack
OSA: Add nova placement to placement migration
Nova: Defaults missing group_policy to 'none'
Blazar: Create placement client for each request
tempest: Define the Integrated-gate-networking gate template
tempest: Define the Integrated-gate-placement gate template
Nova: Restore RT.old_resources if ComputeNode.save() fails
Remove assumption of http error if consumer not exists
TripleO: Add new parameter NovaSchedulerLimitTenantsToPlacementAggregate
puppet-nova: Expose limit_tenants_to_placement_aggregate parameter
nova: Support filtering of hosts by forbidden aggregates
blazar: Send global_request_id for tracing calls
nova: Implement update_provider_tree for hyperv
watcher: Improve Compute Data Model
Nova: pre filter disable computes
Nova: Update HostState.\*\_allocation_ratio earlier
This space left intentionally blank.
Chris Dent ٩◔̯◔۶ https://anticdent.org/
More information about the openstack-discuss