27b6c18c66
This adds support, in a new microversion, for specifying an availability zone to the unshelve server action when the server is shelved offloaded. Note that the functional test changes are due to those tests using the "latest" microversion where an empty dict is not allowed for unshelve with 2.77 so the value is changed from an empty dict to None. Implements: blueprint support-specifying-az-when-restore-shelved-server Closes-Bug: #1723880 Change-Id: I4b13483eef42bed91d69eabf1f30762d6866f957
15 lines
587 B
YAML
15 lines
587 B
YAML
---
|
|
features:
|
|
- |
|
|
Microversion 2.77 adds the optional parameter ``availability_zone`` to
|
|
the ``unshelve`` server action API.
|
|
|
|
* Specifying an availability zone is only allowed when the server status
|
|
is ``SHELVED_OFFLOADED`` otherwise a 409 HTTPConflict response is
|
|
returned.
|
|
|
|
* If the ``[cinder]/cross_az_attach`` configuration option is False then
|
|
the specified availability zone has to be the same as the availability
|
|
zone of any volumes attached to the shelved offloaded server, otherwise
|
|
a 409 HTTPConflict error response is returned.
|