I recently ran into the problem of not being able to create VMs. Basically nova-compute is able to generate the XML file, but not able to call virDomainCreateWithFlags(), which raises libvirtError saying "libvirtError: An error occurred, but the cause is unknown" -- how fantastic..
I am running debian wheezy, libvirt 1.1.4, qemu-kvm 1.6.0. This started to happen after I perform a code upgrade of openstack. The old VMs are fine, and can be hard rebooted. But new VMs always get the libvirt error. I compared the XML of old and new VMs, and can't really see any difference. I attached an example of the XML having problems below. -Simon <domain type='kvm'> <name>instance-00001ac7</name> <uuid>878c4ee5-15fd-4572-964a-8887a7a1d16f</uuid> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <vcpu placement='static'>4</vcpu> <os> <type arch='x86_64' machine='pc-i440fx-1.6'>hvm</type> <boot dev='hd'/> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-model'> <model fallback='allow'/> </cpu> <clock offset='utc'> <timer name='pit' tickpolicy='delay'/> <timer name='rtc' tickpolicy='catchup'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/kvm</emulator> <disk type='network' device='disk'> <driver name='qemu' type='raw' cache='none'/> <auth username='volumes'> <secret type='ceph' uuid='ac65b065-1655-46ed-b780-5e37582cb025'/> </auth> <source protocol='rbd' name='volumes/volume-d12c624a-c06a-4c83-a9ac-28665555bb41'> <host name='10.20.130.1' port='6789'/> <host name='10.20.130.8' port='6789'/> <host name='10.20.131.7' port='6789'/> </source> <target dev='vda' bus='virtio'/> <serial>d12c624a-c06a-4c83-a9ac-28665555bb41</serial> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <interface type='bridge'> <mac address='fa:16:3e:18:7b:92'/> <source bridge='qbr250a2f47-f5'/> <target dev='tap250a2f47-f5'/> <model type='virtio'/> <filterref filter='nova-instance-instance-00001ac7-fa163e187b92'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='file'> <source path='/opt/stack/data/nova/instances/878c4ee5-15fd-4572-964a-8887a7a1d16f/console.log'/> <target port='0'/> </serial> <serial type='pty'> <target port='1'/> </serial> <console type='file'> <source path='/opt/stack/data/nova/instances/878c4ee5-15fd-4572-964a-8887a7a1d16f/console.log'/> <target type='serial' port='0'/> </console> <channel type='pty'> <target type='virtio' name='com.redhat.spice.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <graphics type='spice' autoport='yes' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='qxl' ram='65536' vram='65536' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </memballoon> </devices> </domain>
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack