Libvirt Driver - Custom disk_bus setting is being lost on instance power on

Bug #1255449 reported by Vladik Romanovsky
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Vladik Romanovsky
Havana
Fix Released
Undecided
Unassigned

Bug Description

Currently, custom disk_bus configuration will be defaulted to virtio when
a user will try to power off + power on or hard reboot his instance.

It is happening since hard_reboot() doesn't consider the image_meta when constructing
the disk_info

Changed in nova:
assignee: nobody → Vladik Romanovsky (vladik-romanovsky)
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/58701

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 0fe3001d639df81ae4e5f77bcfc32bc1bffb014e
Author: Vladik Romanovsky <email address hidden>
Date: Wed Nov 27 03:45:36 2013 -0500

    libvirt: Custom disk_bus setting is being lost on hard_reboot

    Currently, a non-default disk_bus setting of and image will not be used,
    when powering on an instance (or _hard_reboot).

    hard_reboot() should use image_meta, if it exist, when constructing
    the disk_info

    Closes-Bug: #1255449

    Change-Id: I477f69c47515ad22165421b4d23ac865c7869873

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-2
tags: added: havana-backport-potential
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-2 → 2014.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/94677

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/havana)

Reviewed: https://review.openstack.org/94677
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cec5151ffd2424cd390c8ebfddf8d4792de85e54
Submitter: Jenkins
Branch: stable/havana

commit cec5151ffd2424cd390c8ebfddf8d4792de85e54
Author: Vladik Romanovsky <email address hidden>
Date: Wed Nov 27 03:45:36 2013 -0500

    libvirt: Custom disk_bus setting is being lost on hard_reboot

    Currently, a non-default disk_bus setting of and image will not be used,
    when powering on an instance (or _hard_reboot).

    hard_reboot() should use image_meta, if it exist, when constructing
    the disk_info

    Closes-Bug: #1255449

    (cherry picked from commit 0fe3001d639df81ae4e5f77bcfc32bc1bffb014e)

    Conflicts:
     nova/virt/libvirt/driver.py

    Change-Id: I477f69c47515ad22165421b4d23ac865c7869873

tags: added: in-stable-havana
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.