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

Bug #1651364 reported by Wenjun Wang on 2016-12-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
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

Wenjun Wang (wangwenjun) on 2016-12-20
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

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

Changed in cinder:
status: New → In Progress

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.

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  Edit
Everyone can see this information.

Other bug subscribers