Grenade: Turn up interfaces for vxlan

So... We can't do this in a single patch, and we *actually*
need to merge the vxlan fix before the subnode will ever pickup
the configuration

From the logs, I can observe the vxlan tunnel connects between
the nodes. Awesome.

Where things break is in the local setup of the local bridges
used to wire everything together.

setup_vxlan_network:3274 :   sudo ovs-vsctl add-port sub1brbm phy-brbm-infra
ovs-vsctl: Error detected while setting up 'phy-brbm-infra':
could not open network device phy-brbm-infra (No such device).
See ovs-vswitchd log for details.

Basically, with the same change on a separate patch, we're able to
observe the controller node work perfectly. It is the subnode
connectivity which is just broken.

So, activate the bridge interfaces seems ideal. This likely broke
at some point due to behavior changes in OpenVSwitch.

Change-Id: I11dbba1957d67187d859a1ef60563c0301da9812
This commit is contained in:
Julia Kreger 2022-04-26 10:43:27 -07:00
parent 8e57495d10
commit fe3021fc37
1 changed files with 4 additions and 0 deletions

View File

@ -3271,7 +3271,11 @@ function get_ironic_node_prefix {
}
function setup_vxlan_network {
sudo ip link add phy-brbm-infra type bridge
sudo ip link set dev phy-brbm-infra up
sudo ovs-vsctl add-port $IRONIC_VM_NETWORK_BRIDGE phy-brbm-infra
sudo ip link add phy-infra-brbm type bridge
sudo ip link set dev phy-infra-brbm up
sudo ovs-vsctl add-port $PUBLIC_BRIDGE phy-infra-brbm
sudo ovs-vsctl set interface phy-brbm-infra type=patch
sudo ovs-vsctl set interface phy-infra-brbm type=patch