Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error launching a defined domain with XML

During instance creation, here are the list of errors ... Wondering from where its getting the domain type and what should be the correct domain type value?

2018-04-10 17:18:41.902 9861 ERROR nova.virt.libvirt.driver [req-4e40c7aa-5322-4d5a-9878-dd5f1a0ca40e eb045f512b3541d099fd01e82e0699f3 79de04fee65d4ba8ad61a52429084180 - - -] Error launching a defined domai with XML: <domain type="kvm">

</domain> 2018-04-10 17:18:41.903 9861 ERROR nova.compute.manager [req-4e40c7aa-5322-4d5a-9878-dd5f1a0ca40e eb045f512b3541d099fd01e82e0699f3 79de04fee65d4ba8ad61a52429084180 - - -] [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] Instance failed to spawn 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4425, in _create_domain_and_network 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4356, in _create_domain 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] LOG.error(err) 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4346, in _create_domain 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] domain.createWithFlags(launch_flags) 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] libvirtError: internal error: process exited while connecting to monitor: 2018-04-10T21:18:41.533728Z qemu-system-x86_64: Failed to start VNC server on `192.168.176.43:0': Failed to bind socket: Cannot assign requested address

Error launching a defined domain with XML

During instance creation, here are the list of errors ... Wondering from where its getting the domain type and what should be the correct domain type value?

2018-04-10 17:18:41.902 9861 ERROR nova.virt.libvirt.driver [req-4e40c7aa-5322-4d5a-9878-dd5f1a0ca40e eb045f512b3541d099fd01e82e0699f3 79de04fee65d4ba8ad61a52429084180 - - -] Error **Error launching a defined domai  with XML: <domain type="kvm"> 

type='kvm'>** <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </domain> 2018-04-10 17:18:41.903 9861 ERROR nova.compute.manager [req-4e40c7aa-5322-4d5a-9878-dd5f1a0ca40e eb045f512b3541d099fd01e82e0699f3 79de04fee65d4ba8ad61a52429084180 - - -] [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] Instance failed to spawn 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4425, in _create_domain_and_network 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4356, in _create_domain 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] LOG.error(err) 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4346, in _create_domain 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] domain.createWithFlags(launch_flags) 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2018-04-10 17:18:41.903 9861 TRACE nova.compute.manager [instance: 149c95ed-667c-4875-9aa9-9d9abeb196af] libvirtError: internal error: process exited while connecting to monitor: 2018-04-10T21:18:41.533728Z qemu-system-x86_64: Failed to start VNC server on `192.168.176.43:0': Failed to bind socket: Cannot assign requested address

address