Mailing List Archive

OpenStack + QEMU, no nics defined.
Hello, I am attempting to run OpenStack+QEMU. It is running ttylinux. Inside the instance it is not detecting a network device (ifconfig -a shows nothing, dmesg shows nothing detected), and I don't see any -net or -netdev definitions in the qemu command. The generated QEMU command line is:

/usr/bin/qemu -S -M pc-0.14 -no-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name instance-0000000e -uuid 2663a0e0-baa3-31a5-1be1-c1e000c2c8de -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-0000000e.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc -boot c -kernel /var/lib/nova/instances/instance-0000000e/kernel -initrd /var/lib/nova/instances/instance-0000000e/ramdisk -append root=/dev/vda console=ttyS0 -drive file=/var/lib/nova/instances/instance-0000000e/disk,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,id=virtio-disk0 -chardev pipe,id=charserial0,path=/var/lib/nova/instances/instance-0000000e/console.fifo -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -usb -vnc -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4

I see in /usr/share/pyshared/nova/virt/libvirt.xml.template
" #for $nic in $nics
#if $vif_type == 'ethernet'
<interface type='ethernet'>
<target dev='${}' />
<mac address='${nic.mac_address}' />
<script path='${nic.script}' />

However, /etc/libvirt/qemu/instance-0000000e.xml does not have any network definitions in it. Any suggestions on what might cause a lack of nic definitions?

This is on the latest Ubuntu OpenStack packages.

Thank you,
-Jason Martin