Hello,
I am currently experimenting with an all-in-one setup (engine and vdsm on same
host). I have my storage configured (data/iso/export domains all attached) and
my local host is Up. When I try to create a VM with a CDROM device the VM
starts but has no CD device at all. Any ideas why this would be happening?
From engine.log:
2012-03-26 13:50:28,269 INFO [org.ovirt.engine.core.bll.RunVmCommand] (pool-5-thread-50)
[3ca44b07] Running command: RunVmCommand internal: false. Entities affected : ID:
c8c42581-c304-4a9e-98aa-942fd78f5434 Type: VM
2012-03-26 13:50:28,307 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand] (pool-5-thread-50)
[3ca44b07] START, IsoPrefixVDSCommand(storagePoolId =
ed57c882-fce9-479b-a7dd-e84ebca3f4f9, ignoreFailoverLimit = false, compatabilityVersion =
null), log id: 27424d87
2012-03-26 13:50:28,307 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand] (pool-5-thread-50)
[3ca44b07] FINISH, IsoPrefixVDSCommand, return:
/rhev/data-center/ed57c882-fce9-479b-a7dd-e84ebca3f4f9/0447fbce-6288-40ec-a7d1-c7c86b452810/images/11111111-1111-1111-1111-111111111111,
log id: 27424d87
2012-03-26 13:50:28,308 INFO [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(pool-5-thread-50) [3ca44b07] START, CreateVmVDSCommand(vdsId =
1a2c22e8-76e1-11e1-b321-00145e6d92d0, vmId=c8c42581-c304-4a9e-98aa-942fd78f5434,
vm=org.ovirt.engine.core.common.businessentities.VM@3eff90b5), log id: 71efee33
2012-03-26 13:50:28,315 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(pool-5-thread-50) [3ca44b07] START, CreateVDSCommand(vdsId =
1a2c22e8-76e1-11e1-b321-00145e6d92d0, vmId=c8c42581-c304-4a9e-98aa-942fd78f5434,
vm=org.ovirt.engine.core.common.businessentities.VM@3eff90b5), log id: 526057e4
2012-03-26 13:50:28,364 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(pool-5-thread-50) [3ca44b07] org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand
memSize=1024,kvmEnable=true,smp=1,emulatedMachine=pc-0.14,vmType=kvm,keyboardLayout=en-us,pitReinjection=false,nice=0,display=vnc,tabletEnable=true,smpCoresPerSocket=1,timeOffset=0,transparentHugePages=true,vmId=c8c42581-c304-4a9e-98aa-942fd78f5434,devices=[Ljava.util.Map;@793dc706,acpiEnable=true,vmName=TestVM,cpuType=Opteron_G1,custom={}
2012-03-26 13:50:28,364 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(pool-5-thread-50) [3ca44b07] FINISH, CreateVDSCommand, log id: 526057e4
2012-03-26 13:50:28,368 INFO [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(pool-5-thread-50) [3ca44b07] IncreasePendingVms::CreateVmIncreasing vds localhost pending
vcpu count, now 1. Vm: TestVM
2012-03-26 13:50:28,373 INFO [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(pool-5-thread-50) [3ca44b07] FINISH, CreateVmVDSCommand, return: WaitForLaunch, log id:
71efee33
From vdsm log:
Thread-3291::DEBUG::2012-03-26 13:50:28,333::BindingXMLRPC::869::vds::(wrapper) client
[127.0.0.1]::call vmCreate with ({'custom': {}, 'keyboardLayout':
'en-us' , 'kvmEnable': 'true', 'pitReinjection':
'false', 'acpiEnable': 'true', 'emulatedMachine':
'pc-0.14', 'tabletEnable': 'true', 'vmId':
'c8c42581-c304-4a9e-98aa-942fd78f5434', 'devices': [{'device':
'qxl', 'specParams': {'vram': '65536', 'deviceId':
'dff23cf9-7ac9-41bf-9cf5-f06139905969'}, 'type': 'video'},
{'index': 0, 'iface': 'virtio', 'format': 'raw',
'optional': 'false', 'volumeID':
'd243c1ae-ff16-434f-9d0f-cd8feb58269c', 'imageID':
'190fe53b-3053-4bf4-b4f1-b8ac1787ade6', 'specParams': {'deviceId':
'190fe53b-3053-4bf4-b4f1-b8ac1787ade6'}, 'readonly': 'false',
'domainID': '0a91c3d3-5b1c-469b-89ff-181d7741e386', 'poolID':
'ed57c882-fce9-479b-a7dd-e84ebca3f4f9', 'device': 'disk',
'propagateErrors': 'off', 'type ': 'disk'},
{'nicModel': 'pv', 'macAddr': '00:1a:4a:16:01:51',
'network': 'ovirt mgmt', 'specParams': {'deviceId':
'd7aaed92-31e3-4de6-9688-7da88779b2da'}, 'device': 'bridge',
'type': 'interface'}], 'smp': '1', 'vmType':
'kvm', 'memSize': 10 24, 'timeOffset': '0',
'cpuType': 'Opteron_G1', 'smpCoresPerSocket': '1',
'vmName': 'TestVM', 'display': 'vnc',
'transparentHugePages': 'true', 'nice': '0'},) {} flowID
[3ca44b07]
I am not seeing anything here to indicate why the cdrom is being omitted. Confused.
--
Adam Litke <agl(a)us.ibm.com>
IBM Linux Technology Center