openstack-python-openstackc.../openstackclient
Pavlo Shchelokovskyy 417a7ad203 Allow server rebuild --wait for SHUTOFF servers
currently the command is waiting only for ACTIVE server status,
but if the server was SHUTOFF before, it will be SHUTOFF after
rebuild as well, so the command is stuck in waiting forever.

Additionally, we now also pre-validate the server status on client side,
and raise an error if the server to be rebuilt is not in ACTIVE, ERROR
or SHUTOFF state.

Change-Id: If90a4bbba9a7ecd972f8b594c52fee4f75a0ae5e
Co-Authored-By: Oleksiy Molchanov <omolchanov@mirantis.com>
Story: 2010751
Task: 48005
2023-05-17 11:38:37 +00:00
..
api Blacken openstackclient.api 2023-05-10 10:51:30 +01:00
common Blacken openstack.common 2023-05-10 10:51:30 +01:00
compute Allow server rebuild --wait for SHUTOFF servers 2023-05-17 11:38:37 +00:00
identity Blacken openstackclient.identity 2023-05-10 10:51:30 +01:00
image Blacken openstackclient.image 2023-05-10 10:51:30 +01:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Blacken openstackclient.network 2023-05-10 10:51:30 +01:00
object Blacken openstackclient.object 2023-05-10 10:51:30 +01:00
tests Allow server rebuild --wait for SHUTOFF servers 2023-05-17 11:38:37 +00:00
volume Blacken openstackclient.volume 2023-05-10 10:51:30 +01:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Blacken everything else 2023-05-10 10:51:30 +01:00