I just did a foundation on my system because I did an upgrade and the networking customization I had to do with OVS changed and wouldn't work anymore.
Now that I'm working on a new install, I'm having trouble configuring the network and getting issues I didn't have before.
I've created and recreated several times using different varieties of below commands and still same outcome. Some commands below are from various tries, but same result.
Error when powering on VM with virtual NIC
Operation failed: InternalException: kNetworkError: OVS error (10.1.16.103 create_local_port): Error not a valid bridge: br1
Host A - ovs show
[root@HOSTA ~]# ovs-vsctl show
48fd5ca1-d898-425e-9b11-484eaceaba94
Bridge "br0"
Port "br0-dhcp"
Interface "br0-dhcp"
type: vxlan
options: {key="1", remote_ip="10.1.16.111"}
Port "br0"
Interface "br0"
type: internal
Port "br0-up"
Interface "eth4"
Interface "eth5"
Port "vnet0"
Interface "vnet0"
Port "br0-arp"
Interface "br0-arp"
type: vxlan
options: {key="1", remote_ip="192.168.5.2"}
Bridge "br1"
Port "br1-up"
Interface "eth1"
Interface "eth0"
Port "br1"
Interface "br1"
type: internal
ovs_version: "2.5.0"
[root@HOSTA ~]#
CVM Commands:
allssh "manage_ovs --bridge_name br1 --bond_name br1-up --interfaces eth0,eth1 update_uplinks"
acli net.create test vswitch_name=br1 vlan=20
When adding to a powered on VM:
https://
https://
Steps: --------------------------------------------------------------
ovs-vsctl add-br br1
allssh "manage_ovs --bridge_name br1 --bond_name br1-up --interfaces eth0 update_uplinks"
acli net.create testing vswitch_name=br1 vlan=0
Output: HOST(s)
[root@HOSTB ~]# ovs-vsctl add-br br1
CVM:
allssh "manage_ovs --bridge_name br1 --bond_name br1-up --interfaces eth0 update_uplinks"
HOST:
[root@HOSTC ~]# ovs-vsctl show
7652eb1a-d640-4565-9bf6-d9a75ef61867
Bridge "br0"
Port "br0-dhcp"
Interface "br0-dhcp"
type: vxlan
options: {key="1", remote_ip="10.1.16.111"}
Port "vnet0"
Interface "vnet0"
Port "br0-up"
Interface "eth5"
Interface "eth4"
Port "br0"
Interface "br0"
type: internal
Port "br0-arp"
Interface "br0-arp"
type: vxlan
options: {key="1", remote_ip="192.168.5.2"}
Bridge "br1"
Port "br1"
Interface "br1"
type: internal
Port "eth0"
Interface "eth0"
ovs_version: "2.5.0"
Output: CMV(s)
nutanix@NTNX-J10AMX3-A-CVM:10.1.16.111:~$ allssh "manage_ovs --bridge_name br1 --bond_name br1-up --interfaces eth0 update_uplinks"
Executing manage_ovs --bridge_name br1 --bond_name br1-up --interfaces eth0 update_uplinks on the cluster
================== 10.1.16.111 =================
2018-06-13 18:17:22 INFO manage_ovs:363 Deleting OVS ports:
2018-06-13 18:17:22 INFO manage_ovs:373 Adding OVS port: eth0
2018-06-13 18:17:23 WARNING manage_ovs:429 Failed to get IP for br1, not sending gratuitous ARPs
Connection to 10.1.16.111 closed.
================== 10.1.16.112 =================
2018-06-13 18:17:30 INFO manage_ovs:363 Deleting OVS ports:
2018-06-13 18:17:30 INFO manage_ovs:373 Adding OVS port: eth0
2018-06-13 18:17:31 WARNING manage_ovs:429 Failed to get IP for br1, not sending gratuitous ARPs
Connection to 10.1.16.112 closed.
================== 10.1.16.113 =================
2018-06-13 18:17:39 INFO manage_ovs:363 Deleting OVS ports:
2018-06-13 18:17:39 INFO manage_ovs:373 Adding OVS port: eth0
2018-06-13 18:17:40 WARNING manage_ovs:429 Failed to get IP for br1, not sending gratuitous ARPs
Connection to 10.1.16.113 closed.
nutanix@NTNX-J10AMX3-A-CVM:10.1.16.111:~$ acli net.create testing vswitch_name=br1 vlan=0
nutanix@NTNX-J10AMX3-A-CVM:10.1.16.111:~$
When powering on VM with attached vNIC: Operation failed: InternalException: kNetworkError: OVS error (10.1.16.103 create_local_port): Error not a valid bridge: br1
Best answer by Bensation
View original