osc compute server evacuate295
Evacuate Server (evacuate Action) (microversion = 2.95)
Usage: osc compute server evacuate295 [OPTIONS] <ID>
Arguments:
<ID>
— id parameter for /v2.1/servers/{id}/action API
Options:
-
--admin-pass <ADMIN_PASS>
— An administrative password to access the evacuated server. If you omit this parameter, the operation generates a new password. Up to API version 2.13, ifonSharedStorage
is set toTrue
and this parameter is specified, an error is raised -
--host <HOST>
— The name or ID of the host to which the server is evacuated. If you omit this parameter, the scheduler chooses a host.Warning
Prior to microversion 2.29, specifying a host will bypass validation by the scheduler, which could result in failures to actually evacuate the instance to the specified host, or over-subscription of the host. It is recommended to either not specify a host so that the scheduler will pick one, or specify a host with microversion >= 2.29 and without
force=True
set.