openstack newton odl boron floating ip not working
I'm trying to integrate odl in openstack but i cant get floating ip and connectivity external network to work. 192.168.0.1/24 is provider network 10.0.0.0/24 is management net and 10.0.1.0/24 is overlay network but i dont think that is needed because for now it is only 1 compute nod DHCP sometime does not work too, i need to reset openvswitch service and odl controller serveral times, delete networks to get it working. External network is not working at all compute node /etc/network/interfaces
# The primary network interface
auto ens3
iface ens3 inet dhcp
#management network
auto ens8
iface ens8 inet static
address 10.0.0.31
netmask 255.255.255.0
#provider network
auto ens9
iface ens9 inet manual
up ip link set dev $IFACE up
down ip link set dev $FACE down
#overlay network
auto ens10
iface ens10 inet static
address 10.0.1.31
netmask 255.255.255.0
ovs-vsctl show
1c3ec4f2-c794-41ee-b198-48dce5bbb6bf
Manager "tcp:10.0.0.21:6640"
is_connected: true
Bridge br-int
Controller "tcp:10.0.0.21:6653"
is_connected: true
fail_mode: secure
Port "tun048d4da29ba"
Interface "tun048d4da29ba"
type: vxlan
options: {key=flow, local_ip="10.0.1.31", remote_ip="10.0.1.31"}
Port br-int
Interface br-int
type: internal
Port "tap846c10fd-58"
Interface "tap846c10fd-58"
Port "tapa83670f9-65"
Interface "tapa83670f9-65"
type: internal
Port "ens9"
Interface "ens9"
ovs-vsctl get Open_vSwitch . other_config
{`local_ip="10.0.1.31", provider_mappings="provider:ens9"}`
ip netns exe qdhcp-4c8d3083-5c31-40c2-8758-fc10eb46e290 ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
tap48d20638-e4 Link encap:Ethernet HWaddr fa:16:3e:48:47:55
inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f816:3eff:fe48:4755/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:648 (648.0 B)
ip netns exe qdhcp-87c91273-7bfb-4fb5-bd35-0ecfaa573e58 ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1152 (1.1 KB) TX bytes:1152 (1.1 KB)
tapa83670f9-65 Link encap:Ethernet HWaddr fa:16:3e:06:2f:a3
inet addr:10.0.1.2 Bcast:10.0.1.255 Mask:255.255.255.0
inet6 addr: fe80::f816:3eff:fe06 ...