Bug 1710941

Summary: [cinder][ceph] Cinder backup - full backup scenario
Product: Red Hat OpenStack Reporter: Sofia Enriquez <senrique>
Component: openstack-cinderAssignee: Cinder Bugs List <cinder-bugs>
Status: ON_DEV --- QA Contact: Evelina Shames <eshames>
Severity: low Docs Contact: Tana <tberry>
Priority: low    
Version: 16.0 (Train)CC: eharney, gcharot, ltoscano, pgrist
Target Milestone: z9Keywords: CodeChange, OtherQA, Tracking, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sofia Enriquez 2019-05-16 15:35:30 UTC
Description of problem:
Since bug #1688098 we need more scenarios for full backups.

Comment 1 Sofia Enriquez 2019-05-21 20:19:42 UTC
Description of problem:

We need to add a new scenario for testing the new feature introduced in bug #1688098. Also, check those incremental backups have the right link to their parent backup (base image). 

Currently, we only have a test for a simple backup scenario. [1]

Test steps:

1. Create a volume “v1”.
2. Create a full backup for v1 “b1”.
3. After that create an incremental backup for v1, “b2”.
4. Create a second full backup, called “b3”.
5. After that create a second incremental backup “b4”.
6. Delete b4, b3.
7. Create a third incremental backup “b5”.
8. Check that b2 can’t be deleted.
9. Check that b5 is incremental. 


[1] https://opendev.org/openstack/cinder-tempest-plugin/src/branch/master/cinder_tempest_plugin/api/volume/test_volume_backup.py#L71