osc compute server rescue
Puts a server in rescue mode and changes its status to RESCUE.
Specify the rescue action in the request body.
If you specify the rescue_image_ref extended attribute, the image is used to rescue the instance. If you omit an image reference, the base image reference is used by default.
Asynchronous Postconditions
After you successfully rescue a server and make a GET /servers/{server_id} request, its status changes to RESCUE.
Normal response codes: 200
Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), conflict(409), notImplemented(501)
Usage: osc compute server rescue [OPTIONS] <ID>
Arguments:
<ID>— id parameter for /v2.1/servers/{id}/action API
Options:
--admin-pass <ADMIN_PASS>--rescue-image-ref <RESCUE_IMAGE_REF>