vol restore discard leaves final bytes unzeroed

Bug #1226555 reported by Edward Hope-Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Edward Hope-Morley

Bug Description

When doing a volume restore with Ceph backend to a non-rbd volume that is greater in size that the backup volume, we write zeroes the extraneous extents but we are not zeroing the final few bytes.

This should have gone into 1225126 but I did not catch it until after it was merged.

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

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

Reviewed: https://review.openstack.org/46942
Committed: http://github.com/openstack/cinder/commit/80aa2fb7d6f68c84e731e91bff5d3795626eb8d0
Submitter: Jenkins
Branch: master

commit 80aa2fb7d6f68c84e731e91bff5d3795626eb8d0
Author: Edward Hope-Morley <email address hidden>
Date: Tue Sep 17 14:12:01 2013 +0100

    Fixes vol restore discard final bytes unzeroed

    When doing a volume restore with Ceph backend to a non-rbd volume
    that is greater in size that the backup volume, we write zeroes
    the extraneous extents but we are not zeroing the final few bytes
    in the case where the destination volume is non-rbd.

    Also fixed up internationalisation on a number of log messages.

    Change-Id: Iac1ff98a75e9164f8865c2f7d998454205e049d4
    Fixes: bug 1226555

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.