[OPNFLWPLUG-369] continuous WARN logs when using neutron ports Created: 25/Feb/15  Updated: 27/Sep/21  Resolved: 21/Apr/15

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Flavio Fernandes Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
duplicates OPNFLWPLUG-402 Openflowplugin manager doesn't use ma... Resolved
External issue ID: 2757

 Description   

2 parts: first, the '%s' seems like en error in the log
second, the warning never stops, repeating every 3 seconds

2015-02-25 18:36:38,026 | WARN | ds-oper-thread-0 | StatListenCommitFlow | 144 - slf4j.api - 1.7.2 | flow hashing hit a duplicate for FlowHashIdMapKey [_hash=Match [_ethernetMatch=EthernetMatch [_ethernetDestination=EthernetDestination [_address=MacAddress [_value=01:00:00:00:00:00], _mask=MacAddress [_value=01:00:00:00:00:00], augmentation=[]], augmentation=[]], _tunnel=Tunnel [_tunnelId=1001, augmentation=[]], augmentation=[GeneralAugMatchNotifUpdateFlowStats [_extensionList=[ExtensionList [_extension=Extension [augmentation=[NxAugMatchNotifUpdateFlowStats [_nxmNxReg=NxmNxReg [_reg=class org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjava.nx.match.rev140421.NxmNxReg0, _value=2, augmentation=[]]]]], _extensionKey=class org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxReg0Key, _key=ExtensionListKey [_extensionKey=class org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxReg0Key], augmentation=[]]]]]]163840] -> Uri [_value=TunnelFloodOut_1001]. Exception %s was raised.



 Comments   
Comment by Jozef Gloncak [ 05/Mar/15 ]

Regarding problem with %s. %s placeholder was added by mistake. Patch which corrects it is
https://git.opendaylight.org/gerrit/#/c/16061/.

Comment by Jozef Gloncak [ 05/Mar/15 ]

problem of repeating logging solves
https://git.opendaylight.org/gerrit/#/c/16086/

Comment by Flavio Fernandes [ 16/Mar/15 ]

I still see this every 3 seconds:

2015-03-16 08:35:13,388 | WARN | ds-oper-thread-0 | StatListenCommitFlow | 240 - org.opendaylight.openflowplugin.applications.statistics-manager - 0.1.0.SNAPSHOT | flow hashing hit a duplicate for FlowHashIdMapKey [_hash=Match [_ethernetMatch=EthernetMatch [_ethernetDestination=EthernetDestination [_address=MacAddress [_value=01:00:00:00:00:00], _mask=MacAddress [_value=01:00:00:00:00:00], augmentation=[]], augmentation=[]], _tunnel=Tunnel [_tunnelId=555, augmentation=[]], augmentation=[GeneralAugMatchNotifUpdateFlowStats [_extensionList=[ExtensionList [_extension=Extension [augmentation=[NxAugMatchNotifUpdateFlowStats [_nxmNxReg=NxmNxReg [_reg=class org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjava.nx.match.rev140421.NxmNxReg0, _value=1, augmentation=[]]]]], _extensionKey=class org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxReg0Key, _key=ExtensionListKey [_extensionKey=class org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxReg0Key], augmentation=[]]]]]]163840] -> Uri [_value=BcastOut_555]. Exception was raised: value already present: Uri [_value=BcastOut_555]

Any chance you would know what in openflow is causing this? I know I can stop it by doing this [1], but that is not ideal.

Thanks,

— flavio

Steps to reproduce:

using master, karaf distribution

  1. start ODL
    feature:install odl-ovsdb-openstack
  1. stack on openstack (single node [2] is fine)

source openrc admin admin
neutron net-create net1 --tenant-id $(keystone tenant-list | grep '\s'admin'' | awk '

{print $2}') --provider:network_type gre --provider:segmentation_id 555
neutron subnet-create --tenant-id $(keystone tenant-list | grep '\s'admin'' | awk '{print $2}

') net1 192.168.10.0/24 --name subnet1 --dns-nameserver 8.8.8.8
neutron router-create demorouter --tenant-id $(keystone tenant-list | grep '\s'admin'' | awk '

{print $2}

')
neutron router-interface-add demorouter subnet1

======

[1]: log:set error org.opendaylight.openflowplugin.applications.statistics.manager
[2]: https://gist.github.com/11aefebb7603055036f0

Comment by Flavio Fernandes [ 21/Apr/15 ]

We now work around this bug by using different priorities for rules
that only differ in the extension portion of the match.

The real issue is now being tracked via OPNFLWPLUG-402.

Generated at Wed Feb 07 20:32:17 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.