Fail to add host due to potential network loop

Problem

Adding KVM host fails with the following message:

PD-A000368 There is already an Open vSwitch bridge with name default0 on host kvm14 and the bridge has added network interface port(s) enc10. While the input network interface that to be added to Open vSwitch bridge default0 is enc7. Adding different network interfaces to the same Open vSwitch bridge might cause network loop. Delete the existing ports from bridge default0 and try adding the host again.

Resolution

  1. Delete the existing ports from Open vSwitch bridge 'default0',

    ovs-vsctl del-port default0 <nic name>
    

    as follows:

    ovs-vsctl del-port default0 enc10
    

    If there are more than one existing ports, run the commands stated before, one by one.

  2. Try adding host again.