admin can delete parent backups while there are still incremental backups active

Bug #1873524 reported by Rodrigo Barbieri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Rodrigo Barbieri

Bug Description

Environment: Ubuntu Bionic, OpenStack Train, Volume and Backup Driver Ceph

This bug was also reproduced on Queens.

Steps to reproduce:

1) Create volume v1 as user demo
2) Create backup b1 of v1 as user demo
3) Create an incremental backup b2 of v1 as user demo
4) As admin, delete b2

Expectation: Error message "Invalid backup: Incremental backups exist for this backup. (HTTP 400)"
Result: Backup is deleted successfully.

After the backup is deleted, this also causes bug 1869749.

Tags: sts
Changed in cinder:
status: New → In Progress
assignee: nobody → Rodrigo Barbieri (rodrigo-barbieri2010)
tags: added: sts
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.