89f6291ee3
Backups can be cancelled by force deleting the in-progress backup, but there is no mechanism to delete the restoring backups. We will now monitor the status of the backup and on any status change will abort the restoration and change the volume status to error. The reason to diverge from the backup creation cancellation implementation (deleting the new resource) is that the restoring may be done into an already existing volume and deleting it is not feasable for the user, for example when an instance is booted from a Cinder volume and there's a license linked to the System ID. Cinder backup drivers may now raise BackupRestoreCancel in `restore` method when a restoring operation is cancelled. Change-Id: If2f143d7ba56ae2d74b3bb571237cc053f63054e
6 lines
163 B
YAML
6 lines
163 B
YAML
---
|
|
features:
|
|
- |
|
|
Support backup restore cancelation by changing the backup status to
|
|
anything other than `restoring` using `cinder backup-reset-state`.
|