← Back to team overview

openstack team mailing list archive

Instances unable to acquire IP address

 

My instances are never able to get an IP address. udhcpc sends a DHCP
Discover, then receives the DHCP Offer for the IP address the instance
should be assigned and follows that with a DHCP Request but then is
never able to receive the DHCP ACK. I've manually set the interface to
the IP address and I am able to ping the DHCP server IP address. I can
not ping or access anything past that.

I am running OpenStack Folsom on Ubuntu 12.04 via the Cloud Archive
PPA. I am using Quantum with Nova for networking, but I have tried
Nova Network with FlatDHCP. I currently have one machine that is
running all the services but ultimately plan to have multiple
machines. Each machine has 2 NICs, eth0 is connected to the same
network my desktop sits on. eth1 is on its own physical switch
connecting all the OpenStack machines. My test VMs have been CirrOS
0.3.

My configs are all visible at:
http://dev.gentoo.org/~cardoe/files/openstack/conf/
My logs are all visible at: http://dev.gentoo.org/~cardoe/files/openstack/logs/

The following network interfaces are setup:
root@cocacola:~# ip a; ip n
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:24:e8:3e:56:a1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.200.135/24 brd 192.168.200.255 scope global eth0
    inet6 fe80::224:e8ff:fe3e:56a1/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:1b:21:a4:82:f2 brd ff:ff:ff:ff:ff:ff
4: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether 00:1b:21:a4:82:f2 brd ff:ff:ff:ff:ff:ff
5: br-ex: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
    link/ether 1e:ff:8d:5a:f8:4a brd ff:ff:ff:ff:ff:ff
13: phy-br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP qlen 1000
    link/ether 6e:ff:43:02:44:db brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6cff:43ff:fe02:44db/64 scope link
       valid_lft forever preferred_lft forever
14: int-br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP qlen 1000
    link/ether e6:4f:95:3e:d6:1b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::e44f:95ff:fe3e:d61b/64 scope link
       valid_lft forever preferred_lft forever
17: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 500
    link/ether fe:16:3e:02:d5:75 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe02:d575/64 scope link
       valid_lft forever preferred_lft forever
192.168.200.180 dev eth0 lladdr 00:22:19:15:30:61 DELAY
192.168.200.1 dev eth0 lladdr 00:15:17:76:a8:91 REACHABLE

If any more information would be useful please let me know.

Thanks.
-- 
Doug Goldstein