Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 838462

Summary: VM failed to start when changing virtual disk from virtio to IDE | libvirtError: internal error unexpected address type for ide disk
Product: Red Hat Enterprise Virtualization Manager Reporter: Meni Yakove <myakove>
Component: ovirt-engineAssignee: Roy Golan <rgolan>
Status: CLOSED CURRENTRELEASE QA Contact: Gadi Ickowicz <gickowic>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, amureini, dyasny, hateya, iheim, lpeer, nlevinki, ofrenkel, rgolan, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: si12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:04:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm.log none

Description Meni Yakove 2012-07-09 07:53:23 UTC
Created attachment 597021 [details]
vdsm.log

Description of problem:
Create VM with virtio disk and start the VM, stop the VM and change disk from virtio to IDE. the VM failed to start with libvirt error:
libvirtError: internal error unexpected address type for ide disk

Version-Release number of selected component (if applicable):
vdsm-4.9.6-17.0.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Create VM with virtio disk, start the VM
2.Stop the VM and change the disk to IDE
3.Start the VM.
  
Actual results:
VM failed to start with error:
libvirtError: internal error unexpected address type for ide disk

Expected results:
VM should started.

Comment 2 Itamar Heim 2012-07-09 12:26:50 UTC
eli - i'm guessing this is a stable device address issue, changing to ide probably requires resetting it for the disk (and vice versa)

Comment 3 Eli Mesika 2012-07-09 14:13:09 UTC
(In reply to comment #2)
> eli - i'm guessing this is a stable device address issue, changing to ide
> probably requires resetting it for the disk (and vice versa)

Yes, the address should be reset in this case

Comment 4 Roy Golan 2012-07-15 09:03:19 UTC
http://gerrit.ovirt.org/#/c/6196/1

Comment 5 Gadi Ickowicz 2012-07-29 15:04:08 UTC
VM now starts as expected when switching a virtual disk from virtio to IDE.
Also works when switching the disk back from IDE to virtIO.
Tested in SI12 by following steps listed by Meni:

1.Create VM with virtio disk, start the VM
2.Stop the VM and change the disk to IDE
3.Start the VM.

Version-Release number of selected component (if applicable):
vdsm-4.9.6-23.0.el6_3.x86_64