ACL limit causing rules not being applied on vrouter
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.21.x |
Fix Committed
|
Undecided
|
Sahil Sabharwal | |||
R3.0 |
Fix Committed
|
Undecided
|
Sahil Sabharwal | |||
R3.1 |
Fix Committed
|
Undecided
|
Sahil Sabharwal | |||
R3.2 |
Fix Committed
|
Undecided
|
Sahil Sabharwal | |||
R4.0 |
Fix Committed
|
Undecided
|
Sahil Sabharwal | |||
Trunk |
Fix Committed
|
Undecided
|
Sahil Sabharwal | |||
OpenContrail |
Fix Committed
|
Undecided
|
Sahil Sabharwal |
Bug Description
Build: 2.21.3-71 Icehouse
It looks like we are hitting some contrail limits on the number of ACL rules that can be applied on a particular network. The network in this case has two policies applied to it. These two policies combined together result in 169 ACL rules which seems to be past the limit that we have identified. We could create 134 rules without any issues but Contrail didn’t accept rules more than that. The problem is that when the rule limit hits, Contrail is not able to process these ACLs and push them down to the vrouters which means that these rules don’t take effect and that’s why we see connectivity issues.
Steps to reproduce:
- Create a contrail virtual network
- Create a policy with 135 rules
- Add this policy to the virtual network
- Boot a VM on this network
- Look at the ACLs installed on the vrouter
- ACLs in the policy not pushed to the vrouter, it has two default ACLs
Repeat this with a lower number, for eg. 120 rules in a policy and you will see the ACLs being installed on the vrouter.
description: | updated |
tags: | added: wpc |
Changed in opencontrail: | |
assignee: | nobody → Ignatious Johnson Christopher (ijohnson-x) |
Changed in juniperopenstack: | |
assignee: | nobody → Ignatious Johnson Christopher (ijohnson-x) |
Changed in juniperopenstack: | |
assignee: | Ignatious Johnson Christopher (ijohnson-x) → Sahil Sabharwal (ssabharwal) |
Changed in opencontrail: | |
assignee: | Ignatious Johnson Christopher (ijohnson-x) → Sahil Sabharwal (ssabharwal) |
Changed in opencontrail: | |
status: | New → Fix Committed |
For 2.21.3, we will provide a config knob in api server config file to set the bottle request size limit. In future releases, we have more optimizations to reduce acl size.