← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1788745] [NEW] resource ACCEPT LOG can only print once then get CookieNotFound

 

Public bug reported:

ENV:
neutron stable/queens
with backport patches:
Fix no packet log data when debug is set False in configuration
https://review.openstack.org/#/c/591545/

Fix lost connection when create security group log
https://review.openstack.org/#/c/593534/

Fix no ACCEPT event can get for security group logging
https://review.openstack.org/#/c/591547/

service log:
2018-08-24 11:10:53.179 2627349 WARNING neutron.services.logapi.drivers.openvswitch.ovs_firewall_log [-] Unknown cookie=2664476845653012007 packet_in pkt=ethernet(dst='fa:16:3e:73:9f:a3',ethertype=2048,src='fa:16:3e:81:02:32'), ipv4(csum=39526,dst='192.168.111.5',flags=2,header_length=5,identification=50582,offset=0,option=None,proto=6,src='172.16.0.1',tos=0,total_length=60,ttl=63,version=4), tcp(ack=0,bits=2,csum=60919,dst_port=22,offset=10,option=[TCPOptionMaximumSegmentSize(kind=2,length=4,max_seg_size=1460), TCPOptionSACKPermitted(kind=4,length=2), TCPOptionTimestamps(kind=8,length=10,ts_ecr=0,ts_val=3048195896), TCPOptionNoOperation(kind=1,length=1), TCPOptionWindowScale(kind=3,length=3,shift_cnt=7)],seq=3571909294,src_port=47012,urgent=0,window_size=29200): CookieNotFound: Cookie 2664476845653012007 could not be found.

How to reproduce:
1. add ACCEPT log to port and security group
2. ssh to the server <-- here you can see the ACCEPT LOG
3. disconnect the ssh, and ssh again.
Then the resource log has the WARNING CookieNotFound.


So I think code is basiclly same to the master, I think we can reproduce this in master branch.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  resource ACCEPT LOG can only print once then get CookieNotFound

Status in neutron:
  New

Bug description:
  ENV:
  neutron stable/queens
  with backport patches:
  Fix no packet log data when debug is set False in configuration
  https://review.openstack.org/#/c/591545/

  Fix lost connection when create security group log
  https://review.openstack.org/#/c/593534/

  Fix no ACCEPT event can get for security group logging
  https://review.openstack.org/#/c/591547/

  service log:
  2018-08-24 11:10:53.179 2627349 WARNING neutron.services.logapi.drivers.openvswitch.ovs_firewall_log [-] Unknown cookie=2664476845653012007 packet_in pkt=ethernet(dst='fa:16:3e:73:9f:a3',ethertype=2048,src='fa:16:3e:81:02:32'), ipv4(csum=39526,dst='192.168.111.5',flags=2,header_length=5,identification=50582,offset=0,option=None,proto=6,src='172.16.0.1',tos=0,total_length=60,ttl=63,version=4), tcp(ack=0,bits=2,csum=60919,dst_port=22,offset=10,option=[TCPOptionMaximumSegmentSize(kind=2,length=4,max_seg_size=1460), TCPOptionSACKPermitted(kind=4,length=2), TCPOptionTimestamps(kind=8,length=10,ts_ecr=0,ts_val=3048195896), TCPOptionNoOperation(kind=1,length=1), TCPOptionWindowScale(kind=3,length=3,shift_cnt=7)],seq=3571909294,src_port=47012,urgent=0,window_size=29200): CookieNotFound: Cookie 2664476845653012007 could not be found.

  How to reproduce:
  1. add ACCEPT log to port and security group
  2. ssh to the server <-- here you can see the ACCEPT LOG
  3. disconnect the ssh, and ssh again.
  Then the resource log has the WARNING CookieNotFound.

  
  So I think code is basiclly same to the master, I think we can reproduce this in master branch.

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


Follow ups