Image device should be reset after mounting and teardown

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

Bug Description

When fixing bug#1208387, Image device info is returned in action setup_container.
But in that patch(https://review.openstack.org/#/c/41891/), I missed to reset the image device value in mount() and teardown().

I'm sorry to make such easy mistake, a new patch will be commited soon.

Tags: libvirt
Matt Riedemann (mriedem)
tags: added: libvirt
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/53077
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=aab3c6178571456ea3f2523f401d0a18c04e573c
Submitter: Jenkins
Branch: master

commit aab3c6178571456ea3f2523f401d0a18c04e573c
Author: Guan Qiang <email address hidden>
Date: Tue Oct 22 16:52:19 2013 +0800

    LXC: Image device should be reset in mount() and teardown()

    When fixing bug#1208387, image device name is returned in function
    setup_container. But it's missed to reset in function mount() and
    teardown().

    This patch is to fix it. We now just return the device name when
    mounting disk image during setting up container and remove the
    member variable 'device' from Class _DiskImage added in last patch.

    Closes-bug: #1243108
    Related-bug: #1208387

    Change-Id: I2aaed6f3367edce4fb23b78f0e979440954609a8

Changed in nova:
status: New → Fix Committed
Changed in nova:
milestone: none → icehouse-2
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-2 → 2014.1
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.