[NETVIRT-603] Adding rules to the security groups does not take effect Created: 06/Apr/17 Updated: 19/Oct/17 Resolved: 25/Sep/17 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | General |
| Affects Version/s: | Carbon |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Rong Xu | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8171 |
| Description |
|
I added a rule to the security group, and then the controller throws an exception. 2017-04-06 12:07:14,538 | ERROR | ChangeHandler-12 | AsyncDataTreeChangeListenerBase | 346 - org.opendaylight.genius.mdsalutil-api - 0.2.0.SNAPSHOT | Thread terminated due to uncaught exception: AsyncDataTreeChangeListenerBase-DataTreeChangeHandler-12 |
| Comments |
| Comment by Rong Xu [ 06/Apr/17 ] |
|
In AclInterfaceStateListener When you new an instance of AclInterface, you do not call setInterfaceId() to set interface id. And then, when you update acl rule, you will get a null as key and cause an exception. private AclInterface updateAclInterfaceCache(Interface dataObjectModification) { aclInterface.setDpId(AclServiceUtils.getDpIdFromIterfaceState(dataObjectModification)); |
| Comment by Rong Xu [ 06/Apr/17 ] |
| Comment by Sam Hague [ 06/Apr/17 ] |
|
Let's keep this open until the patch is merged. |
| Comment by Sam Hague [ 25/Sep/17 ] |