Neutron setup with Openvswitch and Liberty

asked 2016-09-06 09:43:01 -0600

jpfeifer gravatar image

Hi,

I'm trying to setup Openstack-Liberty on 4Nodes, 2 Controller and 2 Compute-Nodes, with Openvswitch as the Network Driver.
The Problem is that an Instances in the Internal Vxlan Network wont get IP assign. But the Node starts and the IP-Address show Up as Attached in Nova list and Neutron port-list, but on the Node no ip shows up . If I use the External Vlan network the Address get assign without any problem.

My Networksetup:

eno1: 172.16.70.X Management Network

eno2 with the ovs-bridge br-eno2 and the IP 10.0.1.X assign to the br-eno2 Tunnel Network

bond1 as an External Vlan Network

The output of ovs-vsctl show:

  Bridge br-int
        fail_mode: secure
        Port "tapc01d2098-ff"
            tag: 1
            Interface "tapc01d2098-ff"
        Port br-int
            Interface br-int
                type: internal
        Port int-br-vlan
            Interface int-br-vlan
                type: patch
                options: {peer=phy-br-vlan}
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "int-br-eno2"
            Interface "int-br-eno2"
                type: patch
                options: {peer="phy-br-eno2"}
    Bridge br-ex
        Port "bond1"
            Interface "bond1"
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port br-ex
            Interface br-ex
                type: internal
    Bridge "br-eno2"
        Port "phy-br-eno2"
            Interface "phy-br-eno2"
                type: patch
                options: {peer="int-br-eno2"}
        Port "br-eno2"
            Interface "br-eno2"
                type: internal
        Port "eno2"
            Interface "eno2"
    Bridge br-tun
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal

Here is a Part the Logfile from a start of an Cirros Instances:

 no results found for mode=local. up 5.28. searched: nocloud configdrive ec2
    Starting network...
udhcpc (v1.20.1) started
Sending discover...
Sending discover...
Sending discover...
Usage: /sbin/cirros-dhcpc <up|down>
No lease, failing
WARN: /etc/rc3.d/S40-network failed
cirros-ds 'net' up at 185.95
checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 186.09. request failed
failed 2/20: up 188.24. request failed
failed 3/20: up 190.34. request failed
failed 4/20: up 192.44. request failed
failed 5/20: up 194.54. request failed
failed 6/20: up 196.65. request failed
failed 7/20: up 198.75. request failed
failed 8/20: up 200.85. request failed
failed 9/20: up 202.96. request failed
failed 10/20: up 205.06. request failed
failed 11/20: up 207.17. request failed
failed 12/20: up 209.28. request failed
failed 13/20: up 211.40. request failed
failed 14/20: up 213.51. request failed
failed 15/20: up 215.62. request failed
failed 16/20: up 217.74. request failed
failed 17/20: up 219.86. request failed
failed 18/20: up 221.98. request failed
failed 19/20: up 224.10. request failed
failed 20/20: up 226.22. request failed
failed to read iid from metadata. tried 20
no results found for mode=net. up 228.35. searched: nocloud configdrive ec2
failed to get instance-id of datasource

Here is my dhcp_agent.ini:

[DEFAULT]
verbose=True
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata ...
(更多)
edit retag flag offensive close merge delete