[Openstack] Instance can't reach dhcp or metadata

Nicolas de BONFILS ndebonfils at gmail.com
Mon Apr 9 10:27:44 UTC 2012


Hi stackers,

I got, using devstack, openstack running. I can launch instance correctly
(as seen in horizon state) but the instance can't reach the dhcp or the
metadata.

Here the topology (as it *should* be, but I maybe need to configured
otherwise in the conf) of my server (one box only) :

   - router : 192.168.23.1
   - server
   - ip : 192.168.23.5 (with dhcp but always the same)
      - interface with external (network and internet) : eth0
      - interface for openvswitch bridge : br100
      - interface for nova/quantum/melange bridge : br100
   - openstack
      - glance with file backend
      - quantum and melange for networking
      - openvswitch as plugin

You can find all the config files and log here :
https://gist.github.com/2342747.
And networking info below.

Any tips, or pointing misconfiguration will be very appreciated.

> */etc/network/interfaces*
>
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
>         iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
>         iface eth0 inet dhcp
>
> auto br100
>         iface br100 inet static
>         address 10.0.0.1
>         netmask 255.255.255.0
>         bridge_stp off
>         bridge_fd 0
>
*ip addr show*
>
> 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
>     inet 169.254.169.254/32 scope link lo
>     inet6 ::1/128 scope host
>        valid_lft forever preferred_lft forever
> 2: ipddp0: <BROADCAST,MULTICAST,NOARP> mtu 585 qdisc noop state DOWN qlen
> 1000
>     link/ip/ddp 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
> 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
> UP qlen 1000
>     link/ether f4:XX:04:10:XX:XX brd ff:ff:ff:ff:ff:ff
>     inet 192.168.23.5/24 brd 192.168.23.255 scope global eth0
>     inet6 XX:e35:XX:dce0:XX:4ff:fe10:675b/64 scope global dynamic
>        valid_lft 86091sec preferred_lft 86091sec
>     inet6 XX::f66d:XX:fe10:XX/64 scope link
>        valid_lft forever preferred_lft forever
> 18: tap9cec6d69-f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
> pfifo_fast state DOWN qlen 500
>     link/ether 12:23:4b:e3:3e:e7 brd ff:ff:ff:ff:ff:ff
> 19: tapba4b75d8-10: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
> pfifo_fast state DOWN qlen 500
>     link/ether ce:40:f0:7c:48:b1 brd ff:ff:ff:ff:ff:ff
> 20: tap828bc57f-57: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
> pfifo_fast state DOWN qlen 500
>     link/ether 52:69:4a:f4:45:d7 brd ff:ff:ff:ff:ff:ff
> 23: br100: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
> noqueue state UNKNOWN
>     link/ether f2:a9:d2:11:8b:49 brd ff:ff:ff:ff:ff:ff
>     inet 10.0.0.1/24 brd 10.0.0.255 scope global br100
>     inet6 fe80::f0a9:d2ff:fe11:8b49/64 scope link
>        valid_lft forever preferred_lft forever
> 24: tapcf8c4c18-f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
> pfifo_fast state DOWN qlen 500
>     link/ether d2:9f:4e:cf:ce:fa brd ff:ff:ff:ff:ff:ff
> 25: tap60c76595-d6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
> pfifo_fast state DOWN qlen 500
>     link/ether 76:90:ce:a4:25:6c brd ff:ff:ff:ff:ff:ff
> 26: tap34019134-5f: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
> pfifo_fast state DOWN qlen 500
>     link/ether 2e:4f:bc:16:07:71 brd ff:ff:ff:ff:ff:ff
> 31: tap90748d8d-5d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> pfifo_fast state UP qlen 500
>     link/ether 26:45:91:52:12:bd brd ff:ff:ff:ff:ff:ff
>     inet6 fe80::2445:91ff:fe52:12bd/64 scope link
>        valid_lft forever preferred_lft forever
> 32: tapf937eb70-ff: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> pfifo_fast state UP qlen 500
>     link/ether 42:4e:31:c3:77:ba brd ff:ff:ff:ff:ff:ff
>     inet6 fe80::404e:31ff:fec3:77ba/64 scope link
>        valid_lft forever preferred_lft forever
> 33: tap010cac48-f4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> pfifo_fast state UP qlen 500
>     link/ether b6:3e:1c:ee:ca:45 brd ff:ff:ff:ff:ff:ff
>     inet6 fe80::b43e:1cff:feee:ca45/64 scope link
>        valid_lft forever preferred_lft forever
>
*nova-manage service list*
>
> Binary           Host                                 Zone
> Status     State Updated_At
> nova-compute     192.168.23.5                    nova
> enabled    :-)   2012-04-09 11:12:33
> nova-network     192.168.23.5                    nova
> enabled    :-)   2012-04-09 11:12:32
> nova-volume      192.168.23.5                    nova
> enabled    :-)   2012-04-09 11:12:32
> nova-scheduler   192.168.23.5                    nova
> enabled    :-)   2012-04-09 11:12:32
> nova-cert        192.168.23.5                   nova
> enabled    :-)   2012-04-09 11:12:32
> nova-consoleauth 192.168.23.5                    nova
> enabled    :-)   2012-04-09 11:12:31
>

*brctl show*
>
> bridge name     bridge id               STP enabled     interfaces
>


Thanks,

---
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120409/4289ff08/attachment.html>


More information about the Openstack mailing list