Dell SC: Fail to create volume from cgsnapshot

Bug #1475016 reported by Tom Swanson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Tom Swanson

Bug Description

create_volume_from_snapshot does not create a volume if the snapshot was part of a consistency group snapshot. The volume snapshot cannot be found.

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

Reviewed: https://review.openstack.org/201685
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=f3aee27a2298ec08bc2ea817207bef6afaa066eb
Submitter: Jenkins
Branch: master

commit f3aee27a2298ec08bc2ea817207bef6afaa066eb
Author: Tom Swanson <email address hidden>
Date: Tue Jul 14 12:21:19 2015 -0500

    Dell SC: Fix Consistency Group issues

    The Dell Storage Center driver was not honoring the consisgroup_id
    in the volume object in volume creation. Updated create_volume,
    create_cloned_volume and create_volume_from_snapshot to honor this
    value.

    The driver was also not checking that volumes were initialized prior
    to snapshotting a consistency group. The Dell backend does not
    actually create the volumes until there is data or the volumes are
    mapped to a server.

    On create_volume_from_snapshot the driver was not checking for
    cgsnapshot_id before snapshot_id.

    Changed from calling the db to update snapshots to retrieving
    the SnapshotList() object.

    In addition some tests were not checking results. Fixed that.

    Change-Id: I896f7438c0b98003aa345ca1c3841aba8835cc2a
    Closes-Bug: #1474062
    Closes-Bug: #1474105
    Closes-Bug: #1475016

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-2 → 7.0.0
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.