cinder-backup hangs when restoring to vol larger than restore

Bug #1225126 reported by Edward Hope-Morley on 2013-09-13
This bug affects 2 people
Affects Status Importance Assigned to Milestone
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

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) on 2013-10-04
Changed in cinder:
milestone: none → havana-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers