[ovirt-users] Duplicate ID 'drive-ide0-1-0' for drive .

Dan Kenigsberg danken at redhat.com
Thu May 15 11:09:19 UTC 2014


On Thu, May 15, 2014 at 10:47:39AM +0000, Daniel Helgenberger wrote:
> Hello,
> 
> I seem to run into a bug when creating a VM with 'advanced' options from
> the 'blank' template attaching a iso image. 
> 
> Steps:
>      I. Create VM in oVirt GUI using blank template
>     II. Use advanced settings to attach an ISO image
>    III. Run the VM
> 
> Engine events:
> 
> Failed to run VM rhel7-test on Host node-hv01.
> VM rhel7-test is down. Exit message: internal error process exited while connecting to monitor: qemu-kvm: -drive file=/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/11111111-1111-1111-1111-111111111111/rhel-everything-7.0-beta-1-x86_64-dvd.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw,serial=: Duplicate ID 'drive-ide0-1-0' for drive .	
> VM rhel7-test was started by daniel (Host: node-hv01)
> 
> A workaround is:
> - Create the VM using default options; do not touch adv. settings
> - Start / Stop VM
> - Attach the ISO image
> - The VM is starting now
> 
> Please also find the corresponding vdsm.log attached. I could not trace
> the event in engine.log. Also, this is affecting all my hosts.

Which version of Engine is this? Pardon the following long line, but you
can see the Engine sends the cdrom device multiple times. I remeber
seeing such a bug few months ago - Omer, do you have better
recollection?

Thread-13::DEBUG::2014-05-15 11:43:06,090::BindingXMLRPC::1067::vds::(wrapper) client [192.168.50.20]::call vmCreate with ({'acpiEnable': 'true', 'emulatedMachine': 'rhel6.5.0', 'vmId': '5ca67cce-4f92-473c-91f8-ced87a46e0c3', 'memGuaranteedSize': 682, 'spiceSslCipherSuite': 'DEFAULT', 'timeOffset': '0', 'cpuType': 'Nehalem', 'custom': {}, 'smp': '1', 'vmType': 'kvm', 'memSize': 1024, 'smpCoresPerSocket': '1', 'vmName': 'rhel7-test', 'nice': '0', 'smartcardEnable': 'false', 'keyboardLayout': 'en-us', 'kvmEnable': 'true', 'pitReinjection': 'false', 'transparentHugePages': 'true', 'devices': [{'device': 'qxl', 'specParams': {'vram': '32768', 'ram': '65536', 'heads': '1'}, 'type': 'video', 'deviceId': 'c1e5c506-ba27-459b-85d1-8f17c510693f'}, {'index': '2', 'iface': 'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 'readonly': 'true', 'deviceId': '0d319f28-c6c0-4547-9508-51bdd4642f3a', 'path': '/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/11111111-1111-1111-1111-111111111111/rhel-everything-7.0-beta-1-x86_64-dvd.iso', 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 'readonly': 'true', 'deviceId': '1574ac2c-7bcf-4e4f-a276-9402feff6bb7', 'path': '/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/11111111-1111-1111-1111-111111111111/rhel-everything-7.0-beta-1-x86_64-dvd.iso', 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 'readonly': 'true', 'deviceId': '1714f33d-0231-4f89-bc70-4ce5aac0230c', 'path': '/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/11111111-1111-1111-1111-111111111111/rhel-everything-7.0-beta-1-x86_64-dvd.iso', 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 'readonly': 'true', 'deviceId': '3cdc204a-f19b-43d2-9ab5-431b9ae4d7bb', 'path': '/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/11111111-1111-1111-1111-111111111111/rhel-everything-7.0-beta-1-x86_64-dvd.iso', 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 'readonly': 'true', 'deviceId': 'a99aa1f1-26a9-41ef-a863-c38a3df37061', 'path': '/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/11111111-1111-1111-1111-111111111111/rhel-everything-7.0-beta-1-x86_64-dvd.iso', 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': '2', 'iface': 'ide', 'specParams': {'path': 'rhel-everything-7.0-beta-1-x86_64-dvd.iso'}, 'readonly': 'true', 'deviceId': 'e0c94099-4e76-4895-a9d8-eae176e21d2d', 'path': '/rhev/data-center/mnt/192.168.50.11:_volumes_tank_ovirt-iso-domain/b0f80f46-8aa3-43f5-a1a0-ce1dcd6c269c/images/11111111-1111-1111-1111-111111111111/rhel-everything-7.0-beta-1-x86_64-dvd.iso', 'device': 'cdrom', 'shared': 'false', 'type': 'disk'}, {'index': 0, 'iface': 'scsi', 'format': 'raw', 'optional': 'false', 'poolID': '00000002-0002-0002-0002-0000000003a0', 'volumeID': 'f962bdf7-10a9-4e5d-b566-208e66953776', 'imageID': '32f401ba-98f0-4e7f-9369-79744560e77a', 'specParams': {}, 'readonly': 'false', 'domainID': 'e3b7a377-22d5-47b4-b753-7b42db00ce61', 'deviceId': '32f401ba-98f0-4e7f-9369-79744560e77a', 'address': {'bus': '0', 'controller': '0', 'type': 'drive', 'target': '0', 'unit': '0'}, 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'type': 'disk'}, {'nicModel': 'pv', 'macAddr': '00:1a:4a:ab:44:fa', 'linkActive': 'true', 'network': 'mboxdomain', 'filter': 'vdsm-no-mac-spoofing', 'specParams': {}, 'deviceId': '7765e7ef-5e28-45a3-a376-f2a218f3a4f8', 'device': 'bridge', 'type': 'interface'}, {'device': 'memballoon', 'specParams': {'model': 'virtio'}, 'type': 'balloon', 'deviceId': 'ad7ca9fc-7ce5-4fd0-9eb6-5357a522c563'}, {'index': '0', 'specParams': {}, 'deviceId': '50bd8f4e-fa0d-496a-af3a-8a343693fe3a', 'device': 'scsi', 'model': 'virtio-scsi', 'type': 'controller'}], 'maxVCpus': '160', 'spiceSecureChannels': 'smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard', 'display': 'qxl'},) {}

Dan



More information about the Users mailing list