Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Operators

OpenStack + QEMU, no nics defined.

 

 

OpenStack operators RSS feed   Index | Next | Previous | View Threaded


jm9991 at att

Nov 1, 2011, 4:10 PM

Post #1 of 1 (114 views)
Permalink
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 0.0.0.0:0 -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='${nic.name}' />
<mac address='${nic.mac_address}' />
<script path='${nic.script}' />
</interface>
"

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

OpenStack operators RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.