← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1775146] Re: I found some flow tables of br-int will be missing After I restarted neutron-openvswitch-agent.

 

Reviewed:  https://review.openstack.org/572729
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=760870b6c238f5f2aa5fec33852e51b4ebccb718
Submitter: Zuul
Branch:    master

commit 760870b6c238f5f2aa5fec33852e51b4ebccb718
Author: Yang JianFeng <yjf1970231893@xxxxxxxxx>
Date:   Wed Jun 6 10:55:00 2018 +0000

    Don't uninstall flow tables in setup_dvr_flows_on_integ_br
    
    This is a revise for I7b24a159962af7b58c096a1b2766e2169e9f8aed
    
    Br-int's flow tables are already uninstalled in setup_integration_br.
    And setup_integration_br will install some default flows. If we still
    uninstall flow tables of br-int in setup_dvr_flows_on_integ_br, these
    default flow tables will be missing.
    
    Closes-Bug: #1775146
    Change-Id: I71c1f9034dfc913b9e9ae17cc8f6bd084c9ee580


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1775146

Title:
  I found some flow tables of br-int will be missing After I restarted
  neutron-openvswitch-agent.

Status in neutron:
  Fix Released

Bug description:
  My environment's essential information:
    queens branch
    DVR model
    drop_flows_on_start is confiured true

  As shown below, when the config option 'drop_flows_on_start' is false, the flows of br-int is complete.
  [root@compute2 ~]# ovs-ofctl dump-flows br-int
   cookie=0xe66a6d121ba9839f, duration=9.793s, table=0, n_packets=0, n_bytes=0, priority=4,in_port="int-br-ex",dl_src=fa:16:3f:2e:17:8e actions=resubmit(,2)
   cookie=0xe66a6d121ba9839f, duration=9.791s, table=0, n_packets=0, n_bytes=0, priority=2,in_port="patch-tun",dl_src=fa:16:3f:2e:17:8e actions=resubmit(,1)
   cookie=0xe66a6d121ba9839f, duration=9.789s, table=0, n_packets=0, n_bytes=0, priority=4,in_port="int-br-ex",dl_src=fa:16:3f:de:6c:16 actions=resubmit(,2)
   cookie=0xe66a6d121ba9839f, duration=9.786s, table=0, n_packets=0, n_bytes=0, priority=2,in_port="patch-tun",dl_src=fa:16:3f:de:6c:16 actions=resubmit(,1)
   cookie=0xe66a6d121ba9839f, duration=9.817s, table=0, n_packets=0, n_bytes=0, priority=2,in_port="int-br-ex" actions=drop
   cookie=0xe66a6d121ba9839f, duration=10.712s, table=0, n_packets=0, n_bytes=0, priority=0 actions=resubmit(,60)
   cookie=0xe66a6d121ba9839f, duration=9.820s, table=1, n_packets=0, n_bytes=0, priority=1 actions=drop
   cookie=0xe66a6d121ba9839f, duration=9.819s, table=2, n_packets=0, n_bytes=0, priority=1 actions=drop
   cookie=0xe66a6d121ba9839f, duration=9.821s, table=23, n_packets=0, n_bytes=0, priority=0 actions=drop
   cookie=0xe66a6d121ba9839f, duration=10.706s, table=24, n_packets=0, n_bytes=0, priority=0 actions=drop
   cookie=0xe66a6d121ba9839f, duration=10.709s, table=60, n_packets=0, n_bytes=0, priority=3 actions=NORMAL
  [root@compute2 ~]# 

  But, when 'drop_flows_on_start' is configured true, some requisite flows will be missing.
  [root@compute2 ~]# ovs-ofctl dump-flows br-int
   cookie=0x9fbc60c2eb19902d, duration=7.069s, table=0, n_packets=0, n_bytes=0, priority=4,in_port="int-br-ex",dl_src=fa:16:3f:2e:17:8e actions=resubmit(,2)
   cookie=0x9fbc60c2eb19902d, duration=7.066s, table=0, n_packets=0, n_bytes=0, priority=2,in_port="patch-tun",dl_src=fa:16:3f:2e:17:8e actions=resubmit(,1)
   cookie=0x9fbc60c2eb19902d, duration=7.064s, table=0, n_packets=0, n_bytes=0, priority=4,in_port="int-br-ex",dl_src=fa:16:3f:de:6c:16 actions=resubmit(,2)
   cookie=0x9fbc60c2eb19902d, duration=7.061s, table=0, n_packets=0, n_bytes=0, priority=2,in_port="patch-tun",dl_src=fa:16:3f:de:6c:16 actions=resubmit(,1)
   cookie=0x9fbc60c2eb19902d, duration=7.102s, table=0, n_packets=0, n_bytes=0, priority=2,in_port="int-br-ex" actions=drop
   cookie=0x9fbc60c2eb19902d, duration=7.106s, table=1, n_packets=0, n_bytes=0, priority=1 actions=drop
   cookie=0x9fbc60c2eb19902d, duration=7.104s, table=2, n_packets=0, n_bytes=0, priority=1 actions=drop
   cookie=0x9fbc60c2eb19902d, duration=7.107s, table=23, n_packets=0, n_bytes=0, priority=0 actions=drop
  [root@compute2 ~]#

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1775146/+subscriptions


References