Hi.

I have a open vswitch bridge that's been working great for about two months
now.  It stopped working correctly earlier today, and I haven't been able
to sort out why yet.  I have several KVM virtual machines connected through
libvirt to a small number of vlans.  Eth1 connects to a smart switch with a
corresponding set of vlans, and the traffic flows from there.

I have a suspicion that there's something wrong with the way my open flows
are set up, but I don't understand the output well enough to diagnose the
issue.  Right now none of the virtual machines can ping the outside world,
or other VMs attached to the same vswitch.  I'd really appreciate it if
someone could look at my setup.

eth0 is configured for my local network to manage the box
eth1 is up by default with an ip of 0.0.0.0

Here's what I think is the relevant information about my setup:
The bridge looks like this -
[root@infrastructure ~]# ovs-vsctl show
2f9b91bd-9d77-4d7f-8f21-295e021f4042
    Bridge "bridge0"
        Port "veth0-zeus-ln"
            tag: 5
            Interface "veth0-zeus-ln"
        Port "veth1-zeus-pacs"
            tag: 14
            Interface "veth1-zeus-pacs"
        Port "veth0-CCW"
            tag: 14
            Interface "veth0-CCW"
        Port "veth0-wiki"
            tag: 14
            Interface "veth0-wiki"
        Port "bridge0"
            Interface "bridge0"
                type: internal
        Port "veth1-zeus-p"
            tag: 14
            Interface "veth1-zeus-p"
        Port "eth1"
            tag: 666
            trunks: [3, 5, 6, 10, 14]
            Interface "eth1"
        Port "veth0-ipamaster"
            tag: 14
            Interface "veth0-ipamaster"
        Port "veth0-FreeIPA"
            tag: 14
            Interface "veth0-FreeIPA"
        Port "veth0-atma"
            tag: 14
            Interface "veth0-atma"
        Port "veth1-atma"
            tag: 5
            Interface "veth1-atma"
        Port "veth0-redm"
            tag: 14
            Interface "veth0-redm"
    ovs_version: "2.1.2"

And the virtual machines are configured to attach to the bridge like this:
<interface type='bridge'>
      <mac address='52:54:00:aa:52:46'/>
      <source bridge='bridge0'/>
      <vlan>
        <tag id='14'/>
      </vlan>
      <virtualport type='openvswitch'>
        <parameters interfaceid='86cf5712-5df7-3012-1887-7f8610dfb4d1'/>
      </virtualport>
      <target dev='veth0-ipamaster'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
    </interface>

Finally, the flows look like this:
[root@infrastructure ~]# ovs-ofctl show bridge0
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000003048578b6f
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST
SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(veth0-ipamaster): addr:fe:54:00:aa:52:46
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max
 4(eth1): addr:00:30:48:57:8b:6f
     config:     0
     state:      0
     current:    1GB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     speed: 1000 Mbps now, 1000 Mbps max
 LOCAL(bridge0): addr:00:30:48:57:8b:6f
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
[root@infrastructure ~]#


Thanks for your time!

-Max
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to