[placement] update 19-24
cdent+os at anticdent.org
Fri Jun 21 11:22:22 UTC 2019
Here's a 19-24 pupdate. Last week I said there wouldn't be one this
week. I was wrong. There won't be one next week. I'm taking the week
off to reset (I hope). I've tried to make sure that there's nothing
floating about in Placement land that is blocking on me.
# Most Important
The [spec for nested
magic](https://review.opendev.org/662191) is close. What it needs
now is review from people outside the regulars to make sure it
doesn't suffer from tunnel vision. The features discussed form the
foundation for Placement being able to service queries for real
world uses of nested providers. Placement can already model nested
providers but asking for the right one has needed some work.
I read an article this morning which touches on the importance of
considering [cognitive load in software
It's fully of glittering generalities, but it reminds me of some of
the reasons why it was important to keep a solid boundary between
Nova and Placement and why, now that Placement is extracted, the
complexity of this nested magic is something we need to measure
against the cognitive load it will induce in the people who come
after us as developers and users.
# What's Changed
* Support for mappings in allocation candidates has merged as
* Gibi made it so [OSProfiler](https://docs.openstack.org/osprofiler/latest/)
works with placement again.
Support Consumer Types. This has some open questions that need to
be addressed, but we're still go on the general idea.
Spec for nested magic 1. See "Most Important" above.
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).
4 (1) are [bugs](https://storyboard.openstack.org/#!/worklist/574). 5 (-1)
are [cleanups](https://storyboard.openstack.org/#!/worklist/575). 11
(0) are [rfes](https://storyboard.openstack.org/#!/worklist/594).
3 (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: 5 (-1).
[1832814: Placement API appears to have issues when compute host
replaced](https://bugs.launchpad.net/nova/+bug/1832814) is an
interesting bug. In a switch from RDO to OSA, resource providers are
being duplicated because of a change in node name.
osc-placement is currently behind by 11 microversions.
Add support for multiple member_of.
# Main Themes
## Nested Magic
The overview of the features encapsulated by the term "nested magic"
are in a [story](https://storyboard.openstack.org/#!/story/2005575)
Code related to this:
PoC: resourceless request, including some code from
WIP: Allow RequestGroups without resources
Support for the new root_required query parameter. Introduces the
useful concepts of required wide params and a request wide search
## Consumer Types
Adding a type to consumers will allow them to be grouped for various
purposes, including quota accounting. A
[spec](https://review.opendev.org/654799) has started. There are
some questions about request and response details that need to be
resolved, but the overall concept is sound.
We continue to do cleanup work to lay in reasonable foundations for
the nested work above. As a nice bonus, we keep eking out additional
performance gains too.
Add a nested-perfload job, using gabbi to create the trees.
Unsurprisingly, nested topologies are slower than non; having
this job will help us track that.
# Other Placement
Miscellaneous changes can be found in [the usual
There are five [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: spec: support virtual persistent memory
Nova: nova-manage: heal port allocations
nova-spec: Allow compute nodes to use DISK_GB from shared storage RP
Cyborg: Placement report
rpm-packaging: placement service
helm: WIP: add placement chart
kolla-ansible: Add a explanatory note for "placement_api_port"
Nova: Use OpenStack SDK for placement
Nova: Spec: Provider config YAML file
Nova: single pass instance info fetch in host manager
libvirt: report pmem namespaces resources by provider tree
Nova: Remove PlacementAPIConnectFailure handling from AggregateAPI
Nova: support move ops with qos ports
TripleO: Enable Request Filter for Image Types
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
OSA: Fix aio_distro_metal jobs for openSUSE
Go outside. Reflect a bit. Then do.
Chris Dent ٩◔̯◔۶ https://anticdent.org/
More information about the openstack-discuss