[NETVIRT-61] aclservice flows fail with BADMATCH code BADMASK Created: 12/Aug/16  Updated: 03/May/18  Resolved: 16/Aug/16

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

Type: Bug
Reporter: Sam Hague Assignee: Aswin Suryanarayanan
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6404

 Description   

2016-08-12 16:20:45,180 | INFO | on-dispatcher-49 | OvsdbConnectionManager | 289 - org.opendaylight.ovsdb.southbound-impl - 1.3.0.SNAPSHOT | Connecting to 127.0.0.1:6641
2016-08-12 16:20:45,489 | INFO | on-dispatcher-49 | OvsdbConnectionManager | 289 - org.opendaylight.ovsdb.southbound-impl - 1.3.0.SNAPSHOT | OVSDB Connection from /127.0.0.1:6641
2016-08-12 16:20:45,497 | DEBUG | pool-47-thread-1 | AclNodeListener | 357 - org.opendaylight.netvirt.aclservice-impl - 0.3.0.SNAPSHOT | Added Ingress ACL Table Miss Flows for dpn 158380687717562
2016-08-12 16:20:45,501 | DEBUG | pool-47-thread-1 | AclNodeListener | 357 - org.opendaylight.netvirt.aclservice-impl - 0.3.0.SNAPSHOT | Added Egress ACL Table Miss Flows for dpn 158380687717562
2016-08-12 16:20:45,543 | ERROR | entLoopGroup-9-2 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_Trk_147577370657608_Tracked_Established17, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,544 | ERROR | entLoopGroup-9-2 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_Trk_147577370657608_Tracked_Related17, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,549 | ERROR | entLoopGroup-9-2 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_NewDrop_147577370657608_Tracked_New41, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,549 | ERROR | entLoopGroup-9-2 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_NewDrop_147577370657608_Tracked_Invalid41, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,549 | ERROR | entLoopGroup-9-2 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_Trk_147577370657608_Tracked_Established220, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,550 | ERROR | entLoopGroup-9-2 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_Trk_147577370657608_Tracked_Related220, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,561 | ERROR | entLoopGroup-9-2 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_NewDrop_147577370657608_Tracked_New252, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,568 | ERROR | entLoopGroup-9-2 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_NewDrop_147577370657608_Tracked_Invalid252, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,615 | ERROR | entLoopGroup-9-1 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_Trk_158380687717562_Tracked_Established17, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,624 | ERROR | entLoopGroup-9-1 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_Trk_158380687717562_Tracked_Related17, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,631 | ERROR | entLoopGroup-9-1 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_NewDrop_158380687717562_Tracked_New41, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,642 | ERROR | entLoopGroup-9-1 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_NewDrop_158380687717562_Tracked_Invalid41, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,651 | ERROR | entLoopGroup-9-1 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_Trk_158380687717562_Tracked_Established220, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,665 | ERROR | entLoopGroup-9-1 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_Trk_158380687717562_Tracked_Related220, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,678 | ERROR | entLoopGroup-9-1 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_NewDrop_158380687717562_Tracked_New252, errors=Device reported error type BADMATCH code BADMASK
2016-08-12 16:20:45,681 | ERROR | entLoopGroup-9-1 | SalFlowServiceImpl | 305 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | flow add failed for id=Fixed_Conntrk_NewDrop_158380687717562_Tracked_Invalid252, errors=Device reported error type BADMATCH code BADMASK



 Comments   
Comment by Sam Hague [ 12/Aug/16 ]

Errors reported in previous reply when simply connecting to an ovsdb node and creating br-int. This was using the NetvirtIT class.

Comment by Aswin Suryanarayanan [ 16/Aug/16 ]

This indicates that OVS does not suppot connection tracking. Ovs < 2.5 does not support connection tracking.
If it happens in OVS2.5 or above, need to check whether the kernel module is installed correctly

Comment by Sam Hague [ 16/Aug/16 ]

Aswin, Ok, marking as resolved.

Should we look into adding anything to check if stateful and ovs version not good, then don't push flows or log some other helpful hint? I guess the failed flows will clue the user in.

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