Public bug reported:

When vm is deleted or migrate to other compute node, the function
'delete_accepted_egress_direct_flow' was not executed. This will resule
in stale flows in table 61.

reproduction steps:
 1. Create a VM, which mac is fa:16:3e:2a:4c:9f
 2. Show the flows in br-int:
    cookie=0xf19902187e0bc0bf, duration=76.736s, table=1, n_packets=0, 
n_bytes=0, priority=20,dl_vlan=9,dl_dst=fa:16:3e:2a:4c:9f 
actions=mod_dl_src:fa:16:3e:e4:8a:e4,resubmit(,60)
    cookie=0xf19902187e0bc0bf, duration=74.976s, table=25, n_packets=126, 
n_bytes=11031, priority=2,in_port="qvode3db9ac-24",dl_src=fa:16:3e:2a:4c:9f 
actions=resubmit(,60)
    cookie=0xf19902187e0bc0bf, duration=76.732s, table=60, n_packets=28, 
n_bytes=3314, priority=20,dl_vlan=9,dl_dst=fa:16:3e:2a:4c:9f 
actions=strip_vlan,output:"qvode3db9ac-24"
    cookie=0xf19902187e0bc0bf, duration=76.299s, table=60, n_packets=126, 
n_bytes=11031, priority=9,in_port="qvode3db9ac-24",dl_src=fa:16:3e:2a:4c:9f 
actions=resubmit(,61)
    cookie=0xf19902187e0bc0bf, duration=76.299s, table=61, n_packets=62, 
n_bytes=6401, priority=12,dl_dst=fa:16:3e:2a:4c:9f 
actions=output:"qvode3db9ac-24"
    cookie=0xf19902187e0bc0bf, duration=76.299s, table=61, n_packets=24, 
n_bytes=1782, 
priority=10,in_port="qvode3db9ac-24",dl_src=fa:16:3e:2a:4c:9f,dl_dst=00:00:00:00:00:00/01:00:00:00:00:00
 actions=mod_vlan_vid:9,output:"patch-tun"
 3. Delete the VM
 4. Show the flows in br-int again:
    cookie=0xf19902187e0bc0bf, duration=134.991s, table=61, n_packets=62, 
n_bytes=6401, priority=12,dl_dst=fa:16:3e:2a:4c:9f actions=output:58

As shown above, the flow remains after deleting the virtual machine.

** Affects: neutron
     Importance: Undecided
     Assignee: Li YaJie (yjmango)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Li YaJie (yjmango)

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

Title:
  the accepted-egress-direct-flows can't be deleted when the VM is
  deleted

Status in neutron:
  New

Bug description:
  When vm is deleted or migrate to other compute node, the function
  'delete_accepted_egress_direct_flow' was not executed. This will
  resule in stale flows in table 61.

  reproduction steps:
   1. Create a VM, which mac is fa:16:3e:2a:4c:9f
   2. Show the flows in br-int:
      cookie=0xf19902187e0bc0bf, duration=76.736s, table=1, n_packets=0, 
n_bytes=0, priority=20,dl_vlan=9,dl_dst=fa:16:3e:2a:4c:9f 
actions=mod_dl_src:fa:16:3e:e4:8a:e4,resubmit(,60)
      cookie=0xf19902187e0bc0bf, duration=74.976s, table=25, n_packets=126, 
n_bytes=11031, priority=2,in_port="qvode3db9ac-24",dl_src=fa:16:3e:2a:4c:9f 
actions=resubmit(,60)
      cookie=0xf19902187e0bc0bf, duration=76.732s, table=60, n_packets=28, 
n_bytes=3314, priority=20,dl_vlan=9,dl_dst=fa:16:3e:2a:4c:9f 
actions=strip_vlan,output:"qvode3db9ac-24"
      cookie=0xf19902187e0bc0bf, duration=76.299s, table=60, n_packets=126, 
n_bytes=11031, priority=9,in_port="qvode3db9ac-24",dl_src=fa:16:3e:2a:4c:9f 
actions=resubmit(,61)
      cookie=0xf19902187e0bc0bf, duration=76.299s, table=61, n_packets=62, 
n_bytes=6401, priority=12,dl_dst=fa:16:3e:2a:4c:9f 
actions=output:"qvode3db9ac-24"
      cookie=0xf19902187e0bc0bf, duration=76.299s, table=61, n_packets=24, 
n_bytes=1782, 
priority=10,in_port="qvode3db9ac-24",dl_src=fa:16:3e:2a:4c:9f,dl_dst=00:00:00:00:00:00/01:00:00:00:00:00
 actions=mod_vlan_vid:9,output:"patch-tun"
   3. Delete the VM
   4. Show the flows in br-int again:
      cookie=0xf19902187e0bc0bf, duration=134.991s, table=61, n_packets=62, 
n_bytes=6401, priority=12,dl_dst=fa:16:3e:2a:4c:9f actions=output:58

  As shown above, the flow remains after deleting the virtual machine.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to