<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi kevin,</p>
    <p>[ovs]<br>
      bridge_mappings =
      physnet1:br-ex,physnet2:provision,physnet3:provider<br>
      ovsdb_connection = tcp:10.53.16.12:6640<br>
      local_ip = 10.53.32.12<br>
    </p>
    you can check the attachement,  and more logs can be found at <br>
    <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/neutron/+bug/1697243">https://bugs.launchpad.net/neutron/+bug/1697243</a><br>
    <br>
    <div class="moz-cite-prefix">On 6/23 16:43, Kevin Benton wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAO_F6JMWk9fPYrSC9bR5yuWg7wRDk-vMRYFe2f8nhJ8mta5ObA@mail.gmail.com">
      <div dir="ltr">Can you provide your ml2_conf.ini values you are
        using?</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jun 22, 2017 at 7:06 AM, Margin
          Hu <span dir="ltr"><<a href="mailto:today.good@163.com"
              target="_blank" moz-do-not-send="true">today.good@163.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p>thanks. <br>
              </p>
              <p>I met an issue , I  configured three ovs bridge (
                br-ex, provision, provider) in ml2_conf.ini  but after I
                reboot the node , found only 2 bridges flow table is
                normal , the other one bridge's flow table is empty. <br>
              </p>
              <p>the bridge sometimes is "provision" , sometimes is
                "provider" ,  which possibilities is there for this
                issue.?  <br>
              </p>
              [root@cloud]# ovs-ofctl show provision<br>
              OFPT_FEATURES_REPLY (xid=0x2): dpid:0000248a075541e8<br>
              n_tables:254, n_buffers:256<br>
              capabilities: FLOW_STATS TABLE_STATS PORT_STATS
              QUEUE_STATS ARP_MATCH_IP<br>
              actions: output enqueue set_vlan_vid set_vlan_pcp
              strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst
              mod_nw_tos mod_tp_src mod_tp_dst<br>
               1(bond0): addr:24:8a:07:55:41:e8<br>
                   config:     0<br>
                   state:      0<br>
                   speed: 0 Mbps now, 0 Mbps max<br>
               2(phy-provision): addr:2e:7c:ba:fe:91:72<br>
                   config:     0<br>
                   state:      0<br>
                   speed: 0 Mbps now, 0 Mbps max<br>
               LOCAL(provision): addr:24:8a:07:55:41:e8<br>
                   config:     0<br>
                   state:      0<br>
                   speed: 0 Mbps now, 0 Mbps max<br>
              OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal
              miss_send_len=0<br>
              [root@cloud]# ovs-ofctl dump-flows  provision<br>
              NXST_FLOW reply (xid=0x4):<br>
              <br>
              [root@cloud]# ip r<br>
              default via 192.168.60.247 dev br-ex<br>
              <a href="http://10.53.16.0/24" target="_blank"
                moz-do-not-send="true">10.53.16.0/24</a> dev vlan16 
              proto kernel  scope link  src 10.53.16.11<br>
              <a href="http://10.53.17.0/24" target="_blank"
                moz-do-not-send="true">10.53.17.0/24</a> dev provider 
              proto kernel  scope link  src 10.53.17.11<br>
              <a href="http://10.53.22.0/24" target="_blank"
                moz-do-not-send="true">10.53.22.0/24</a> dev vlan22 
              proto kernel  scope link  src 10.53.22.111<br>
              <a href="http://10.53.32.0/24" target="_blank"
                moz-do-not-send="true">10.53.32.0/24</a> dev vlan32 
              proto kernel  scope link  src 10.53.32.11<br>
              <a href="http://10.53.33.0/24" target="_blank"
                moz-do-not-send="true">10.53.33.0/24</a> dev provision 
              proto kernel  scope link  src 10.53.33.11<br>
              <a href="http://10.53.128.0/24" target="_blank"
                moz-do-not-send="true">10.53.128.0/24</a> dev docker0 
              proto kernel  scope link  src 10.53.128.1<br>
              <a href="http://169.254.0.0/16" target="_blank"
                moz-do-not-send="true">169.254.0.0/16</a> dev vlan16 
              scope link  metric 1012<br>
              <a href="http://169.254.0.0/16" target="_blank"
                moz-do-not-send="true">169.254.0.0/16</a> dev vlan22 
              scope link  metric 1014<br>
              <a href="http://169.254.0.0/16" target="_blank"
                moz-do-not-send="true">169.254.0.0/16</a> dev vlan32 
              scope link  metric 1015<br>
              <a href="http://169.254.0.0/16" target="_blank"
                moz-do-not-send="true">169.254.0.0/16</a> dev br-ex 
              scope link  metric 1032<br>
              <a href="http://169.254.0.0/16" target="_blank"
                moz-do-not-send="true">169.254.0.0/16</a> dev provision 
              scope link  metric 1033<br>
              <a href="http://169.254.0.0/16" target="_blank"
                moz-do-not-send="true">169.254.0.0/16</a> dev provider 
              scope link  metric 1034<br>
              <a href="http://192.168.60.0/24" target="_blank"
                moz-do-not-send="true">192.168.60.0/24</a> dev br-ex 
              proto kernel  scope link  src 192.168.60.111<br>
              <br>
              what' the root cause ? <br>
                <br>
               rpm -qa | grep openvswitch<br>
              openvswitch-2.6.1-4.1.<wbr>git20161206.el7.x86_64<br>
              python-openvswitch-2.6.1-4.1.<wbr>git20161206.el7.noarch<br>
              openstack-neutron-openvswitch-<wbr>10.0.1-1.el7.noarch
              <div>
                <div class="h5"><br>
                  <br>
                  <br>
                  <div class="m_-6921788301446326504moz-cite-prefix">On
                    6/22 9:53, Kevin Benton wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>Rules to allow aren't setup until the port is
                        wired and it calls the functions like this:</div>
                      <a
href="https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L602-L606"
                        target="_blank" moz-do-not-send="true">https://github.com/openstack/<wbr>neutron/blob/master/neutron/<wbr>plugins/ml2/drivers/<wbr>openvswitch/agent/ovs_neutron_<wbr>agent.py#L602-L606</a><br>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Wed, Jun 21, 2017 at
                        4:49 PM, Margin Hu <span dir="ltr"><<a
                            href="mailto:today.good@163.com"
                            target="_blank" moz-do-not-send="true">today.good@163.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">Hi Guys,<br>
                          <br>
                          I have a question in setup_physical_bridges
                          funtion  of neutron/plugins/ml2/drivers/op<wbr>envswitch/agent/ovs_neutron_ag<wbr>ent.py<br>
                          <br>
                               # block all untranslated traffic between
                          bridges<br>
                                      self.int_br.drop_port(in_port=<wbr>int_ofport)<br>
                                      br.drop_port(in_port=phys_ofpo<wbr>rt)<br>
                          <br>
                          [refer](<a
href="https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L1159"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true">https://github.com/ope<wbr>nstack/neutron/blob/master/neu<wbr>tron/plugins/ml2/drivers/openv<wbr>switch/agent/ovs_neutron_agent<wbr>.py#L1159</a>)<br>
                          <br>
                          when permit traffic between bridges ?  when
                          modify flow table of ovs bridge?<br>
                          <br>
                          <br>
                          <br>
                          <br>
                          <br>
                          <br>
                          <br>
                          <br>
                          <br>
                          ______________________________<wbr>______________________________<wbr>______________<br>
                          OpenStack Development Mailing List (not for
                          usage questions)<br>
                          Unsubscribe: <a
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
                          <a
                            href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset
                      class="m_-6921788301446326504mimeAttachmentHeader"></fieldset>
                    <br>
                    <pre>______________________________<wbr>______________________________<wbr>______________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="m_-6921788301446326504moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank" moz-do-not-send="true">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a>
<a class="m_-6921788301446326504moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" moz-do-not-send="true">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>