[placement] update 19-29

Chris Dent cdent+os at anticdent.org
Fri Jul 26 15:43:17 UTC 2019

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

Welcome to a rushed pupdate 19-29. My morning was consumed by other

A reminder: The Placement project holds office hours every Wednesday
at 1500 UTC in the `#openstack-placement` IRC channel. If you have a
topic that needs some synchronous discussion, then is an ideal time.
Just start talking!

# Most Important

The two main things on the Placement radar are implementing Consumer
Types and cleanups, performance analysis, and documentation related
to nested resource providers.

# What's Changed

* The [api-ref](https://docs.openstack.org/api-ref/placement/) has
   moved to `docs.openstack.org` from `developer.openstack.org`.
   Redirects are in place.

* Both traits and resource classes are [now
   cached](https://review.opendev.org/672298) per request, allowing
   for some name to id and id to name optimizations.

* A new zuul template is [being
   used](https://review.opendev.org/671257) in placement that means
   fewer irrelevant tempest tests are run on placement changes.

# Stories/Bugs

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

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

# osc-placement

osc-placement is currently behind by 12 microversions.

* <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.

# 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>
   A WIP, as microversion 1.37, has started.

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

# Other Placement

Miscellaneous changes can be found in [the usual

There are two [os-traits
being discussed. And zero [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.

* <https://review.openstack.org/#/q/topic:bug/1819923>
   Nova: nova-manage: heal port allocations

* <https://review.opendev.org/659233>
   Cyborg: Placement report

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

* <https://review.opendev.org/656023>
   Nova: Use OpenStack SDK for placement

* <https://review.opendev.org/634551>
   libvirt: report pmem namespaces resources by provider tree

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

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

* <https://review.opendev.org/664689>
   Nova: get_ksa_adapter: nix by-service-type confgrp hack

* <https://review.opendev.org/666202>
   Blazar: Create placement client for each request

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

* <https://review.opendev.org/669079>
   blazar: Send global_request_id for tracing calls

* <https://review.opendev.org/668252>
   Nova: Update HostState.\*\_allocation_ratio earlier

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

* <https://review.opendev.org/586960>
   zun: [WIP] Use placement for unified resource management

* <https://review.opendev.org/671478>
   Kayobe: Build placement images by default

* <https://review.opendev.org/671312>
   blazar: Fix placement operations in multi-region deployments

* <https://review.opendev.org/672870>
   Watcher: Getting data from placement when updating datamodel

* <https://review.opendev.org/671793>
   Nova: libvirt: Start reporting PCPU inventory to placement

* <https://review.opendev.org/672649>
   chef: placement_api: create valid apache config before installing package

* <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

# End

If we get the chance, it will be interesting to start working with
placement with 1 million providers. Just to see.

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

More information about the openstack-discuss mailing list