Fix host_bind_override and mtu for neutron agents

This commit is contained in:
Logan V 2018-03-29 19:57:45 -05:00 committed by Logan V
parent 1fd55f51d6
commit 4a9294f2eb
4 changed files with 38 additions and 13 deletions

View File

@ -17,34 +17,44 @@ iface enp1s0f1 inet manual
auto bond0 auto bond0
iface bond0 inet manual iface bond0 inet manual
#mtu 8900 mtu 8900
bond-mode 802.3ad bond-mode 802.3ad
bond-miimon 100 bond-miimon 100
bond-lacp-rate fast bond-lacp-rate fast
bond-slaves enp1s0f0 enp1s0f1 bond-slaves enp1s0f0 enp1s0f1
bond-xmit-hash-policy layer3+4 bond-xmit-hash-policy layer3+4
auto br-mgmt auto br-uplink
iface br-mgmt inet static iface br-uplink inet static
bridge_stp off bridge_stp off
bridge_waitport 0 bridge_waitport 0
bridge_fd 0 bridge_fd 0
bridge_ports bond0 veth-int-mgmt bridge_ports bond0 vdown-mgmt vdown-flat
address 192.169.91.98 address 192.169.91.98
netmask 255.255.255.240 netmask 255.255.255.240
gateway 192.169.91.97 gateway 192.169.91.97
dns-nameserver 64.31.5.1 dns-nameserver 64.31.5.1
dns-nameserver 64.31.5.2 dns-nameserver 64.31.5.2
auto veth-int-mgmt auto br-mgmt
iface veth-int-mgmt inet manual iface br-mgmt inet manual
pre-up ip link add dev veth-int-mgmt type veth peer name veth-int-flat
auto br-flat
iface br-flat inet manual
bridge_stp off bridge_stp off
bridge_waitport 0 bridge_waitport 0
bridge_fd 0 bridge_fd 0
bridge_ports veth-int-flat bridge_ports vup-mgmt
auto vdown-mgmt
iface vdown-mgmt inet manual
pre-up ip link add dev vdown-mgmt type veth peer name vup-mgmt
pre-up ip link set vdown-mgmt mtu 8900
pre-up ip link set vup-mgmt mtu 8900
post-up ip link set vup-mgmt up
auto vdown-flat
iface vdown-flat inet manual
pre-up ip link add dev vdown-flat type veth peer name vup-flat
pre-up ip link set vdown-flat mtu 8900
pre-up ip link set vup-flat mtu 8900
post-up ip link set vup-flat up
source /etc/network/interfaces.d/*.cfg source /etc/network/interfaces.d/*.cfg

View File

@ -28,6 +28,7 @@
}, },
"eth12_address": { "eth12_address": {
"bridge": "br-flat", "bridge": "br-flat",
"mtu": 8900,
"netmask": null, "netmask": null,
"type": "veth" "type": "veth"
} }
@ -60,6 +61,7 @@
}, },
"eth12_address": { "eth12_address": {
"bridge": "br-flat", "bridge": "br-flat",
"mtu": 8900,
"netmask": null, "netmask": null,
"type": "veth" "type": "veth"
} }
@ -92,6 +94,7 @@
}, },
"eth12_address": { "eth12_address": {
"bridge": "br-flat", "bridge": "br-flat",
"mtu": 8900,
"netmask": null, "netmask": null,
"type": "veth" "type": "veth"
} }
@ -124,6 +127,7 @@
}, },
"eth12_address": { "eth12_address": {
"bridge": "br-flat", "bridge": "br-flat",
"mtu": 8900,
"netmask": null, "netmask": null,
"type": "veth" "type": "veth"
} }
@ -156,6 +160,7 @@
}, },
"eth12_address": { "eth12_address": {
"bridge": "br-flat", "bridge": "br-flat",
"mtu": 8900,
"netmask": null, "netmask": null,
"type": "veth" "type": "veth"
} }
@ -465,6 +470,7 @@
"eth12_address": { "eth12_address": {
"bridge": "br-flat", "bridge": "br-flat",
"interface": "eth12", "interface": "eth12",
"mtu": 8900,
"netmask": null, "netmask": null,
"type": "veth" "type": "veth"
} }
@ -890,6 +896,7 @@
"eth12_address": { "eth12_address": {
"bridge": "br-flat", "bridge": "br-flat",
"interface": "eth12", "interface": "eth12",
"mtu": 8900,
"netmask": null, "netmask": null,
"type": "veth" "type": "veth"
} }
@ -1315,6 +1322,7 @@
"eth12_address": { "eth12_address": {
"bridge": "br-flat", "bridge": "br-flat",
"interface": "eth12", "interface": "eth12",
"mtu": 8900,
"netmask": null, "netmask": null,
"type": "veth" "type": "veth"
} }
@ -1483,11 +1491,12 @@
"network": { "network": {
"container_bridge": "br-flat", "container_bridge": "br-flat",
"container_interface": "eth12", "container_interface": "eth12",
"container_mtu": 8900,
"container_type": "veth", "container_type": "veth",
"group_binds": [ "group_binds": [
"neutron_linuxbridge_agent" "neutron_linuxbridge_agent"
], ],
"host_bind_override": "bond0", "host_bind_override": "vup-flat",
"net_name": "flat", "net_name": "flat",
"type": "flat" "type": "flat"
} }

View File

@ -42,7 +42,8 @@ global_overrides:
container_bridge: "br-flat" container_bridge: "br-flat"
container_type: "veth" container_type: "veth"
container_interface: "eth12" container_interface: "eth12"
host_bind_override: bond0 container_mtu: 8900
host_bind_override: vup-flat
type: "flat" type: "flat"
net_name: "flat" net_name: "flat"
group_binds: group_binds:

View File

@ -31,6 +31,11 @@ global_environment_variables:
neutron_l2_population: True neutron_l2_population: True
neutron_vxlan_group: neutron_vxlan_group:
# Set the MTU correctly so VXLAN tenant networks recehive 1500 byte MTUs
neutron_neutron_conf_overrides:
DEFAULT:
global_physnet_mtu: 1550
# Enable novnc instead of spice # Enable novnc instead of spice
nova_console_type: novnc nova_console_type: novnc