Can't spawn a VM : libvirt error

asked 2012-09-11 13:08:18 -0500

emilienm gravatar image

I'm using Folsom Testing Packages on Ubuntu 12.04 [1], Quantum V2 with OVS Plugin & Agent running.

To create a network, I've followed step by step the doc [2]

1) When I try to launch an instance from dashboard, I have an issue [3]

2) Another issue when I use nova CLI :

nova boot --image b2112707-533e-48a4-b7a1-df2685163156 --flavor 1 --nic net-id=283fceb0-a47b-4cd6-997b-c06174228832 test

Its fails with "libvirtError: Cannot get interface MTU" error.

nova.conf : ( nova-compute.log : ( libvirtd.log : ( qemu.conf : (

I've tested with Ubuntu 12.04 UEC Image & Cirros : same error.

Any idea ?

[1] ( [2] ( [3] (

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2012-12-07 09:18:13 -0500

vivekraghuwanshi gravatar image

send your nova.conf file

edit flag offensive delete link more

answered 2012-09-11 13:41:20 -0500

emilienm gravatar image

I found by myself the second error :

Add in nova-compute.conf :

libvirt_ovs_bridge=br-int libvirt_vif_type=ethernet libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver

And read (

For the first issue, I'm still stuck.

edit flag offensive delete link more

answered 2012-09-11 13:37:22 -0500

emilienm gravatar image

root@precise:/var/lib/nova/instances/instance-0000000a# more libvirt.xml <domain type="qemu"> <uuid>68bb02d7-ca3b-40b5-a901-4efce130aee0</uuid> <name>instance-0000000a</name> <memory>524288</memory> <vcpu>1</vcpu> <os> <type>hvm</type> <boot dev="hd"/> </os> <features> <acpi/> </features> <clock offset="utc"/> <cpu match="exact"> <arch>x86_64</arch> <model>Nehalem</model> <vendor>Intel</vendor> </cpu> <devices> <disk type="file" device="disk"> <driver name="qemu" type="qcow2" cache="none"/> <source file="/var/lib/nova/instances/instance-0000000a/disk"/> <target bus="virtio" dev="vda"/> </disk> <interface type="bridge"> <mac address="fa:16:3e:ec:b4:0c"/> <source bridge=""/> <filterref filter="nova-instance-instance-0000000a-fa163eecb40c"> <parameter name="IP" value=""/> <parameter name="DHCPSERVER" value=""/> <parameter name="PROJNET" value=""/> <parameter name="PROJMASK" value=""/> </filterref> </interface> <serial type="file"> <source path="/var/lib/nova/instances/instance-0000000a/console.log"/> </serial> <serial type="pty"/> <input type="tablet" bus="usb"/> <graphics type="vnc" autoport="yes" keymap="en-us" listen=""/> </devices> </domain>

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-09-11 13:08:18 -0500

Seen: 139 times

Last updated: Dec 07 '12