osc compute server evacuate229
Evacuate Server (evacuate Action) (microversion = 2.29)
Usage: osc compute server evacuate229 [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 -
--force <FORCE>
— Force an evacuation by not verifying the provided destination host by the scheduler.Warning
This could result in failures to actually evacuate the instance to the specified host. It is recommended to either not specify a host so that the scheduler will pick one, or specify a host without
force=True
set.Furthermore, this should not be specified when evacuating instances managed by a clustered hypervisor driver like ironic since you cannot specify a node, so the compute service will pick a node randomly which may not be able to accommodate the instance.
New in version 2.29
Available until version 2.67
Possible values:
true
,false
-
--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.