cinder thinlvm allocates new snap based volumes outside the pool

Bug #1192601 reported by Giulio Fidente
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Eric Harney
Grizzly
Fix Released
High
Eric Harney

Bug Description

by going trough the sequence:

origin (vol1) -> snapshot (snap1) -> create from snapshot (vol2)

vol2 gets allocated within the VG but outside the POOL

Eric Harney (eharney)
tags: added: grizzly-backport-potential
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/33704

Changed in cinder:
assignee: nobody → Eric Harney (eharney)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/33704
Committed: http://github.com/openstack/cinder/commit/79a402d07502ac34bc0ec485b21b0be50ba807a7
Submitter: Jenkins
Branch: master

commit 79a402d07502ac34bc0ec485b21b0be50ba807a7
Author: Eric Harney <email address hidden>
Date: Wed Jun 19 16:31:07 2013 -0400

    Add _create_volume to ThinLVMVolumeDriver

    Previously, _create_volume from LVMISCSIDriver would be called
    when the volume manager calls create_volume_from_snapshot.

    Fixes bug: 1192601

    Change-Id: I5cca287e8204c4647a5f09df961d9a76d0b38c42

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
importance: Undecided → High
milestone: none → havana-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/33860

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/grizzly)

Reviewed: https://review.openstack.org/33860
Committed: http://github.com/openstack/cinder/commit/7a158273d2be77cdc921b56c4d9dafd77bb0ca1b
Submitter: Jenkins
Branch: stable/grizzly

commit 7a158273d2be77cdc921b56c4d9dafd77bb0ca1b
Author: Eric Harney <email address hidden>
Date: Wed Jun 19 16:31:07 2013 -0400

    Add _create_volume to ThinLVMVolumeDriver

    Previously, _create_volume from LVMISCSIDriver would be called
    when the volume manager calls create_volume_from_snapshot.

    Fixes bug: 1192601

    (cherry picked from commit 79a402d07502ac34bc0ec485b21b0be50ba807a7)

    Conflicts:
     cinder/volume/drivers/lvm.py

    Change-Id: I5cca287e8204c4647a5f09df961d9a76d0b38c42

Alan Pevec (apevec)
tags: removed: grizzly-backport-potential
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: havana-2 → 2013.2
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.