[Ceph] Volume backup created with multiple snapshots preventing removal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Incomplete
|
Low
|
Unassigned |
Bug Description
The volume backup has multiple snapshots associated with it, which prevents its removal.
Ubuntu 20.04
Openstack Ussuri
Output:
$ os volume backup show 718ad411-
| fail_reason | Backup should only have one snapshot but instead has 4 |
Volume backup maps to a volume_id of 07bb983c...
$ os volume backup show 718ad411-
<SNIP>
| volume_id | 07bb983c-
Below, we can see that 4 snapshots exist in ceph (for the volume_id 07bb983c-
# rbd --pool cinder-ceph snap list cinder-
SNAPID NAME SIZE PROTECTED TIMESTAMP
12935 backup.
12936 backup.
12941 backup.
12944 backup.
Looking at the timestamps of the snapshots, it looks like it tried creating 4 snapshots at exactly the same time.
Database state for the backup:
mysql> select id,deleted,
+--
| id | deleted | deleted_at | status |
+--
<SNIP>
| 718ad411-
<SNIP>
I was unable to determine what triggered this issue.
Greetings,
Would you mind sharing the next information:
- Steps to reproduce the problem.
- Are you creating incremental backups?
Thanks in advance. Regards