nova/releasenotes/notes/bp-unshelve_to_host-c9047d518eb67747.yaml
René Ribaud 09239fc2ea Allow unshelve to a specific host (REST API part)
This adds support to the REST API, in a new microversion, for specifying
a destination host to unshelve server action when the server
is shelved offloaded.
This patch also supports the ability to unpin the availability_zone of an
instance that is bound to it.

Note that the functional test changes are due to those tests using the
"latest" microversion 2.91.

Implements: blueprint unshelve-to-host
Change-Id: I9e95428c208582741e6cd99bd3260d6742fcc6b7
2022-07-22 10:22:34 +02:00

11 lines
405 B
YAML

---
features:
- |
Microversion 2.91 adds the optional parameter ``host`` to
the ``unshelve`` server action API.
Specifying a destination host is only
allowed to admin users and server status must be ``SHELVED_OFFLOADED``
otherwise a HTTP 400 (bad request) response is returned.
It also allows to set ``availability_zone`` to None to unpin a server
from an availability_zone.