a62fabfa65
If we firstly create a incremental backup without parent backup or using unavailable backup file, like execute the command: ``cinder backup-create --name test_backup --incremental 2e3d9d0b-6b33-4cfe-a7c2-656415ee6f61``. To satisfy one of the above reasons, we will be received an error info: "Invalid backup: No backups available to do an incremental backup. (HTTP 400)". But the reserved value of the ``quota_usages`` table has been updated, so we need to roll back the ``quota_usages`` table. Otherwise, after repetitive operation for many times, create backup will be failed. Co-Authored-By: Brin Zhang <zhangbailin@inspur.com> Closes-Bug: #1809323 Change-Id: I1870633a5505bdb60d529fbda3147378b75e2b07
7 lines
208 B
YAML
7 lines
208 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Now cinder will be rollback the ``quota_usages`` table when failed
|
|
to create an incremental backup if there doesn't exist a parent
|
|
backup or the backup is not in available state.
|