Check a recovery before running it
POST/v1/recovery-bindings/:id/dry-run
Works out how a bound resource's backup would be rebuilt here: the flavor, networks, volume types and other settings it would get, and what cannot be matched. Nothing is created. It uses the newest backup unless point_id names one, and a stored recovery profile or one given inline. Items listed in confirm_unresolved are accepted as they are.
Operator only: needs a system-scoped token.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 413
- 415
- 422
- 502
- 503
- default
OK
Bad Request.
invalid_request: The body is not a single JSON object, names a field this operation does not take, or gives a value of the wrong type.
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token is not a system-scoped admin token.
Not Found.
not_found: No binding with this id exists. Or point_id is not one of the binding's adopted backups. Or profile names no stored profile. Or the repository holds no record of the backup.
Conflict.
conflict: The binding has adopted no backups yet.
domain_key_missing: The encryption key for the backup is not present here, or the one present did not write it.
mapping_unresolved: No inline profile was given, and more than one cloud wrote backups to this repository under the backup's cloud name.
tier_unavailable: The backup's repository is not a chunk repository.
Request Entity Too Large.
body_too_large: The body is larger than the service accepts.
Unsupported Media Type.
unsupported_media_type: The body is not sent as application/json.
Unprocessable Entity.
validation_failed: Both profile and mapping_profile are given.
Bad Gateway.
service_unavailable: This cloud's flavors, networks or volume types could not be read. Or the repository could not be opened.
Service Unavailable.
kms_unavailable: The backup is encrypted and this service has no key manager to unwrap its key with.
service_unavailable: This service has no OpenStack access to read this cloud's inventory with.
An error, as an RFC 7807 problem document.