[ovs-discuss] Openswitch: unable to add vnet to ovs-bridge

Nagaraju Pallapothu npallapothu at a10networks.com
Thu Feb 14 05:24:02 UTC 2019


Hi Team,

I am unable to launch my VM using xml with ovs-bridge.
I am using openvswitch 2.10.1.
DPDK – 17.11.04

Regards,
Nagaraju

# virsh start XXXXXX
error: Failed to start domain XXXXXX
error: internal error: Unable to add port vnet1 to OVS bridge ovs-br0

40: vport_br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 36:dd:1d:30:28:1a brd ff:ff:ff:ff:ff:ff
41: vport_br1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether ae:27:18:0a:3f:46 brd ff:ff:ff:ff:ff:ff
60: ovs-netdev: <BROADCAST,MULTICAST,PROMISC> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a6:3f:b6:eb:20:da brd ff:ff:ff:ff:ff:ff
61: ovs-br0: <BROADCAST,MULTICAST,PROMISC> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether be:ce:89:93:34:4e brd ff:ff:ff:ff:ff:ff
62: ovs-br1: <BROADCAST,MULTICAST,PROMISC> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f2:63:04:36:ff:4e brd ff:ff:ff:ff:ff:ff

XML File snippet:

<interface type='bridge'>
      <mac address='52:54:00:ac:3e:16'/>
      <source bridge='mgmt'/>
      <model type='e1000'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <interface type='bridge'>
      <mac address='52:54:00:12:88:3a'/>
      <source bridge='ovs-br0'/>
      <virtualport type='openvswitch'>
        <parameters interfaceid='aee27d47-0013-4f80-96fb-3527ba9e5dd3'/>
      </virtualport>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </interface>
    <interface type='bridge'>
      <mac address='52:54:00:63:c4:ac'/>
      <source bridge='ovs-br1'/>
      <virtualport type='openvswitch'>
        <parameters interfaceid='3589abee-6d9d-4e6d-894c-6ee8d9b443df'/>
      </virtualport>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </interface>


# ovs-vsctl show
005d0952-aa4f-4a7e-a9ba-f43b7a23c5ac
    Bridge "ovs-br1"
        Port "vport_br1"
            Interface "vport_br1"
                type: dpdkvhostuser
        Port "ovs-br1"
            Interface "ovs-br1"
                type: internal
    Bridge "ovs-vmbr1"
        Port "ovs-vmbr1"
            Interface "ovs-vmbr1"
                type: internal
    Bridge "ovs-br0"
        Port "vport_br0"
            Interface "vport_br0"
                type: dpdkvhostuser
        Port "ovs-br0"
            Interface "ovs-br0"
                type: internal
    Bridge "ovs-vmbr0"
        Port "ovs-vmbr0"
            Interface "ovs-vmbr0"
                type: internal

Regards,
Nagaraju
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190214/6dcea604/attachment-0001.html>


More information about the discuss mailing list