commit with all firewall rule refs removed from firewall policy doesnt work

Bug #1762318 reported by Senthilnathan Murugappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
High
Édouard Thuleau
Trunk
Fix Committed
High
Édouard Thuleau

Bug Description

Steps:
1) Create a FwPolicy with a single FwRule under project
2) Enable draft mode under project
3) Remove the Rule from the Policy
4) Commit the draft

Observed that the firewall_rule_refs still exist on the FwPolicy object.
This issue is observed only if the last refs been removed, I had another FwP with 2 rules and deleted one of them and things were fine with that.

description: updated
Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41672
Submitter: Édouard Thuleau (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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

commit 77f4d7ebda66808417f077b26ca2a3b72e9b68b9
Author: Édouard Thuleau <email address hidden>
Date: Tue Apr 10 14:35:29 2018 +0200

[config] Ensure ref remove after security commit

If an updated resource reference list becomes empty when the draft mode is
enable, the enforced references were not remove when resource is committed.

Change-Id: I6ab43c45ae5336ba6ece30b60bba363fbbcb4ce2
Closes-Bug: #1762318

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/41746
Submitter: Édouard Thuleau (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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

commit d29ea3e810d0db1ea46adcd6f9834054d22bd6c7
Author: Édouard Thuleau <email address hidden>
Date: Tue Apr 10 14:35:29 2018 +0200

[config] Ensure ref remove after security commit

If an updated resource reference list becomes empty when the draft mode is
enable, the enforced references were not remove when resource is committed.

Change-Id: I6ab43c45ae5336ba6ece30b60bba363fbbcb4ce2
Closes-Bug: #1762318
(cherry picked from commit 77f4d7ebda66808417f077b26ca2a3b72e9b68b9)

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.