ip address not injected to VM

asked 2011-10-14 18:19:41 -0600

gobexe gravatar image

Everything seems to work on a two-host setup except that ip addresses are not injected to the running VM. If I log in with VNC and assign manually the ip addresses, everything works perfectly.

euca-describe-instances gives: RESERVATION r-xocbu78f prj default INSTANCE i-00000002 ami-00000001 running None (prj, cloud-1) 0m1.small 2011-10-14T17:50:15Z nova ami-00000000 ami-00000000 INSTANCE i-00000005 ami-00000001 running None (prj, cloud-1) 0m1.small 2011-10-14T18:03:13Z nova ami-00000000 ami-00000000

what could be the problem?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2011-10-14 18:25:45 -0600

gobexe gravatar image

Below is the log file from libvirt. I think the IP address should be there somewhere, right?

2011-10-14 20:03:19.120: starting up LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 2048 -smp 1,sockets=1,cores=1,threads=1 -name instance-00000005 -uuid ce2baa26-2bdd-55c0-5503-d4357f9a0230 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000005.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc -boot c -drive file=/var/lib/nova/instances/instance-00000005/disk,if=none,id=drive-virtio-disk0,boot=on,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -drive file=/var/lib/nova/instances/instance-00000005/disk.local,if=none,id=drive-virtio-disk1,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1 -netdev tap,fd=17,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=02:16:3e:57:3c:46,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/instance-00000005/console.log -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=0x6 char device redirected to /dev/pts/4

edit flag offensive delete link more

answered 2011-10-18 09:06:08 -0600

gobexe gravatar image

I could not figure out the problem. But I got around it by using nova.network.manager.FlatDHCPManager.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-10-14 18:19:41 -0600

Seen: 44 times

Last updated: Oct 18 '11