[placement] update 19-35

Chris Dent cdent+os at anticdent.org
Fri Sep 6 11:04:04 UTC 2019

HTML: https://anticdent.org/placement-update-19-35.html

Let's have a placement update 19-35. Feature freeze is this week. We
have a feature in progress (consumer types, see below) but it is not

# Most Important

Three main things we should probably concern ourselves with in the
immediate future:

* We are currently without a PTL for Ussuri. There's some discussion
   about the options for dealing with this in an [email
   If you have ideas (or want to put yourself forward), please share.

* We need to work on useful documentation for the features developed
   this cycle.

* We need to create some [cycle
   To help with that I've started [an
   If I've forgotten anything, please make additions.

# What's Changed

* osc-placement 1.7.0 has been
   [released](https://pypi.org/project/osc-placement/). This adds
   support for [managing allocation
   via aggregates, but adding a few different commands and args for
   inventory manipulation.

* Work on consumer types exposed that placement needed to be first
   class in grenade to make sure database migrations are run. That
   [change has merged](https://review.opendev.org/679655). Until then
   placement was upgraded as part of nova.

# Stories/Bugs

(Numbers in () are the change since the last pupdate.)

There are 24 (-1) stories in [the placement
0 (0) are [untagged](https://storyboard.openstack.org/#!/worklist/580).
5 (0) are [bugs](https://storyboard.openstack.org/#!/worklist/574). 4 (0)
are [cleanups](https://storyboard.openstack.org/#!/worklist/575). 11
(-1) are [rfes](https://storyboard.openstack.org/#!/worklist/594).
4 (0) 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: 17 (0).

* Placement related nova [in progress bugs](https://goo.gl/vzGGDQ) on
   launchpad: 6 (0).

# osc-placement

* <https://review.opendev.org/666542>
   Add support for multiple member_of. There's been some useful
   discussion about how to achieve this, and a consensus has emerged
   on how to get the best results.

* `--amend` and `--aggregate` on resource provider inventory has
   merged and been release 1.7.0 (see above).

# Main Themes

## Consumer Types

Adding a type to consumers will allow them to be grouped for various
purposes, including quota accounting.

* <https://review.opendev.org/#/q/topic:bp/support-consumer-types>
   I took this through to microversion and api-ref docs, so it is
   ready for wider review. If this doesn't make it in for Train,
   that's okay. The goal is to have it ready for Nova to start
   working with it when Nova is able.

## Cleanup

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.

Performance related explorations continue:

* <https://review.opendev.org/#/c/679385/>
   Refactor initialization of research context. This puts the code
   that might cause an exit earlier in the process so we can avoid
   useless work.

One outcome of the performance work needs to be something like a
_Deployment Considerations_ document to help people choose how to
tweak their placement deployment to match their needs. The simple
answer is use more web servers and more database servers, but that's
often very wasteful.

# Other Placement

Miscellaneous changes can be found in [the usual

* <https://review.opendev.org/676982>
   Merge request log and request id middlewares is worth attention.
   It makes sure that _all_ log message from a single request use a
   global and local request id.

There are three [os-traits
being discussed. And zero [os-resource-classes

# Other Service Users

This week (because of feature freeze) I will not be adding new finds
to the list, just updating what was already on the list.

* <https://review.opendev.org/662229>
   helm: add placement chart

* <https://review.opendev.org/#/q/topic:bp/virtual-persistent-memory>
   libvirt: report pmem namespaces resources by provider tree

* <https://review.opendev.org/660852>
   Nova: Remove PlacementAPIConnectFailure handling from AggregateAPI

* <https://review.opendev.org/670112>
   Nova: WIP: Add a placement audit command

* <https://review.opendev.org/671793>
   Nova: libvirt: Start reporting PCPU inventory to placement
   A part of <https://review.opendev.org/#/q/topic:bp/cpu-resources>

* <https://review.opendev.org/#/q/topic:bp/support-move-ops-with-qos-ports>
   Nova: support move ops with qos ports

* <https://review.opendev.org/667952>
   nova: Support filtering of hosts by forbidden aggregates

* <https://review.opendev.org/670696>
   tempest: Add placement API methods for testing routed provider nets

* <https://review.opendev.org/672678>
   openstack-helm: Build placement in OSH-images

* <https://review.opendev.org/674129>
   Correct global_request_id sent to Placement

* <https://review.opendev.org/#/q/topic:bp/cross-cell-resize>
   Nova: cross cell resize

* <https://review.opendev.org/674524>
   Nova: Scheduler translate properties to traits

* <https://review.opendev.org/623558>
   Nova: single pass instance info fetch in host manager

* <https://review.opendev.org/#/q/topic:bp/provider-config-file>
   Nova: using provider config file for custom resource providers

# End


Chris Dent                       ٩◔̯◔۶           https://anticdent.org/
freenode: cdent

More information about the openstack-discuss mailing list