rbd:create-volume-from-snapshot need consider clone depth

Bug #1651364 reported by Wenjun Wang
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Wenjun Wang

Bug Description

cinder config:
    rbd_max_clone_depth = 2

Typical scenario:
    1.create a raw volume C1
    2.create volume C2 from C1 (clone depth is 1)
    3.create volume C3 from C2 (clone depth is 2)
    4.create snapshot S3 for volume C3
    5.create volume C4 from S3 (clone depth is 3, but we don't flatten volume from snapshot here)
    then the clone depth will grow unlimited.

Analysis;
    1.we ignore to check clone depth when create volume from snapshot

Tags: drivers rbd
Wenjun Wang (wangwenjun)
Changed in cinder:
assignee: nobody → Wenjun Wang (wangwenjun)
summary: - rbd:create volume from snapshot need consider clone depth
+ rbd:create-volume-from-snapshot need consider clone depth
tags: added: drivers rbd
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/413370

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Sean McGinnis (<email address hidden>) on branch: master
Review: https://review.openstack.org/413370
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Wenjun Wang (wenjun_dev@126.com) on branch: master
Review: https://review.openstack.org/413370

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.