[R5.0-176]- agent introspect has 2 acl's entry for same rule

Bug #1786452 reported by alok kumar on 2018-08-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
High
Ashok Singh
Trunk
Fix Committed
High
Ashok Singh

Bug Description

for single rule, agent introspect has 2 entry for same acl, causing many cases to fail in sanity.

For eg. http://nodem5:8085/Snh_AclReq?uuid=319bc50b-26f4-462b-8c19-e993a062dfdf

In config: https://nodem16:8143/#p=setting_config_editor&q%5BobjName%5D=access-control-list&q%5Buuid%5D=319bc50b-26f4-462b-8c19-e993a062dfdf

please check screenshot attached.

test logs: /cs-shared/bugs/logs/logs_p

alok kumar (kalok) on 2018-08-10
tags: added: sanityblocker
alok kumar (kalok) wrote :

Review in progress for https://review.opencontrail.org/45495
Submitter: Ashok Singh (<email address hidden>)

Review in progress for https://review.opencontrail.org/45496
Submitter: Ashok Singh (<email address hidden>)

Review in progress for https://review.opencontrail.org/45495
Submitter: Ashok Singh (<email address hidden>)

Review in progress for https://review.opencontrail.org/45496
Submitter: Ashok Singh (<email address hidden>)

Jeba Paulaiyan (jebap) on 2018-08-11
tags: added: contrail-networking

Reviewed: https://review.opencontrail.org/45495
Committed: http://github.com/Juniper/contrail-controller/commit/4ac25b9413cffbf1e6d08b4b3561468502e2d4f2
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 4ac25b9413cffbf1e6d08b4b3561468502e2d4f2
Author: Ashok Singh R <email address hidden>
Date: Sat Aug 11 08:13:11 2018 +0530

Fix duplicate ACL rule generation

When both source and destination addresses and ports
are same, don't create rule for other direction.

Change-Id: Ide3fd7a4a444602e99482b1d6337287762e7fd6b
Closes-Bug: #1786452

Reviewed: https://review.opencontrail.org/45496
Committed: http://github.com/Juniper/contrail-controller/commit/b839df2c07c56071f58ddce739f12f687aa1ff04
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit b839df2c07c56071f58ddce739f12f687aa1ff04
Author: Ashok Singh R <email address hidden>
Date: Sat Aug 11 08:13:11 2018 +0530

Fix duplicate ACL rule generation

When both source and destination addresses and ports
are same, don't create rule for other direction.

Closes-Bug: #1786452
(cherry picked from commit acce208ef8dba6ca534466f8460dbb4c00cfa3d3)

Change-Id: I0dac344935defa8c6c752228f4754f634f9ea97a

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers