Nova libvirt driver not passing REUSE flag when _swap_volume calls blockRebase

Bug #1218057 reported by Bill Owen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Bill Owen

Bug Description

For filesystem backed Cinder drivers like GPFS, a new volume file is created before the swap operation is invoked as part of the online volume migration sequence.

For this reason, the call to blockRebase from . _swap_volume (in nova.virt.libvirt.driver) should include the flag VIR_DOMAIN_BLOCK_REBASE_REUSE_EXT to allow the newly created volume file to be written to.

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

Fix proposed to branch: master
Review: https://review.openstack.org/44210

Changed in nova:
assignee: nobody → Bill Owen (billowen)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/44210
Committed: http://github.com/openstack/nova/commit/6653abe5b11b2fccdc0c02083297335d42d57fe1
Submitter: Jenkins
Branch: master

commit 6653abe5b11b2fccdc0c02083297335d42d57fe1
Author: Bill Owen <email address hidden>
Date: Wed Aug 28 21:59:52 2013 -0700

    Add REUSE_EXT in _swap_volume call to blockRebase

    _swap_volume is called in cases where new volume file has
    already been created. Add VIR_DOMAIN_BLOCK_REBASE_RESUE_EXT
    in the flags passed when calling blockRebase to allow
    the existing volume file to be written to.

    Closes-Bug: #1218057

    Change-Id: I704772ba4bfef474fc788d277c99ba016fb7883f

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