7. Physical Network
● Cabling
o Cannot connect to physical nodes
o ethtool → link detected?
o ip link → device status?
● Routing
o Cannot access VMs on
particular node
o netstat -nr
o ip route Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
8. Security Configuration
● Firewall
o Cannot connect to services
o iptables -L
● ACL / SELinux
o Cannot access services
o getenforce
o setenforce
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
9. Linux Kernel
● Open vSwitch module
o MidoNet Agent does not start
o VMs are not reachable
o modinfo openvswitch
o lsmod | grep openvswitch
● Load manually
o modprobe openvswitch
o insmod /lib/modules/…
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
10. Clock Synchronization
● Sync clock on all nodes
o Same time zone? JTC != UTC
o ntpd
o ntpdate
● Clocks out of sync?
o NSDB troubles
o 50% packet loss
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
15. MidoNet Agent
● MidoNet configuration issues
o e.g. cannot start MidoNet Agent
o Errors show up in the log file
o Check NSDB connections
o ping [NSDB_IP]
o telnet [NSDB_IP] 2181
o telnet [NSDB_IP] 9160
● Otherwise MidoNet bugs...
Overlay Network
Topology Simulation
Virtual Network Topology
Underlay Network
17. Neutron / NSDB setup
● Security Groups
o Proper rules added?
●
ICMP, SSH, HTTP
● Gateway Configuration
o neutron router-gateway-set
o neutron router-interface-add
Overlay Network
Virtual NW Topology
Simulation
Virtual NW Topology
Underlay Network
18. Neutron / NSDB consistency
● DO NOT delete components via MidoNet
o neutron port-list returns error if you delete a port!
o Neutron server error if you delete a bridge!
● Manual rebuild
o Neutron → NSDB
● Use Neutron / Horizon
Overlay Network
Virtual NW Topology
Simulation
Virtual NW Topology
Underlay Network
20. General CLI
● midonet-cli
o Interactive or script-controlled
o Client to the REST API
o Browse and manipulate topology
o Maintain tunnel zone
o Upgrade MidoNet
o man midonet-cli