cinder-backup hangs when restoring to vol larger than restore

Bug #1225126 reported by Edward Hope-Morley
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Edward Hope-Morley

Bug Description

Performing a cinder-backup restore to a volume that is bigger than the original restore hangs since we overflow the restore. It should be zeroing the rest of the volume since it may contain previous data. This only occurs with the ceph backup driver and when specifying a previoulsy created volume.

Changed in cinder:
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
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/46683

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

Reviewed: https://review.openstack.org/46683
Committed: http://github.com/openstack/cinder/commit/e54f34245880c105225675d9fb91d2ad1997f7ba
Submitter: Jenkins
Branch: master

commit e54f34245880c105225675d9fb91d2ad1997f7ba
Author: Edward Hope-Morley <email address hidden>
Date: Fri Sep 13 15:20:03 2013 -0400

    Fixes ceph volume restore to larger image than source

    If a backup is restored to a volume that is bigger than the
    backup itself, which could be the case if --volume-id is
    supplied, we need the option to set extraneous extents to zero
    i.e. set extents after those from the backup to zero.

    Change-Id: I3c226b9e7429371f6cd9b9bd81071ff765712975
    Fixes: bug 1225126

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