cinder-backup tries to take incremental backups of failed previous backups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Andrew Bogott |
Bug Description
When instructed to make an incremental backup of volume X, cinder-backup tries to base that incremental backup on the most recent backup for volume X. If that most recent backup failed, the new incremental backup fails with an error about the base backup not being in the 'available' state.
This means that for scripted daily backups, one failed backup will break all future incremental backups until a full backup is requested.
A better behavior would be for cinder-backup to base an incremental backup on the most recent available backup, and simply ignore any more recent jobs with invalid states.
This seems like a safe change -- I strongly doubt that anyone is relying on cascading backup failure as part of their workflow.
Changed in cinder: | |
assignee: | nobody → Andrew Bogott (andrewbogott) |
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
status: | Incomplete → In Progress |
Greetings Andrew Bogott,
Thank you for reporting this issue. However, I need more information from you so we can reproduce the issue.
- Which backend are you using for the volumes and which one for the backups?
- How do you create the script for the daily backups? Could you share some steps with us so that the team can reproduce the issue?
- Do you have a c-bak LOGS, which shows the errors you see?
Thanks in advance
Sofia