nova/releasenotes/notes/placement-reshaper-6f3ef70c3a550d09.yaml
Chris Dent 4d525b4ec1 [placement] Add /reshaper handler for POST
/reshaper provides a way to atomically modify some allocations and
inventory in a single transaction, allowing operations like migrating
some inventory from a parent provider to a new child.

A fair amount of code is reused from handler/inventory.py, some
refactoring is in order before things get too far with that.

In handler/allocation.py some code is extracted to its own methods
so it can be reused from reshaper.py.

This is done as microversion 1.30.

A suite of gabbi tests is provided which attempt to cover various
failures including schema violations, generation conflicts, and
data conflicts.

api-ref, release notes and rest history are updated

Change-Id: I5b33ac3572bc3789878174ffc86ca42ae8035cfa
Partially-Implements: blueprint reshape-provider-tree
2018-08-23 00:36:17 +00:00

13 lines
617 B
YAML

---
features:
- |
Microversion 1.30 of the placement API adds support for a
``POST /reshaper`` resource that provides for atomically migrating resource
provider inventories and associated allocations when some of the inventory
moves from one resource provider to another, such as when a class of
inventory moves from a parent provider to a new child provider.
.. note:: This is a special operation that should only be used in rare
cases of resource provider topology changing when inventory is in
use. Only use this if you are really sure of what you are doing.