Pending updated resource not set to deleted after a delete

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

Bug Description

When draft security mode enable, if a resource is updated and then deleted, the resource is not set to deleted state and not deleted if a commit action is done.

1. set a scope with security draft mode disable
2. create a firewall policy
3. enable security draft mode on the scope
4. update the firewall policy => a cloned resource created with modifications and state set to 'updated'
5. delete the firewall policy => cloned resource state stay to 'updated' and did not move to 'deleted'
6. commit modifications on the scope, enforced firewall policy is not deleted but modifications were applied

information type: Proprietary → Public
Sachin Bansal (sbansal)
Changed in juniperopenstack:
assignee: nobody → Édouard Thuleau (ethuleau)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41724
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/41724
Committed: http://github.com/Juniper/contrail-controller/commit/59557cb1507cc903383a0563a19afe4d23152708
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 59557cb1507cc903383a0563a19afe4d23152708
Author: Édouard Thuleau <email address hidden>
Date: Wed Apr 11 12:28:59 2018 +0200

[config] Allow to delete a pending updated security resource

Update draft mode status to 'deleted' if a security resource is already
in 'updated' state.

Change-Id: I2a0b294627d48feefd4e9b47ce39af223190a060
Closes-Bug: #1762936

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

Review in progress for https://review.opencontrail.org/41788
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/41788
Committed: http://github.com/Juniper/contrail-controller/commit/e911d42ffd408e85caefb4ee3a81df0abfa77e86
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit e911d42ffd408e85caefb4ee3a81df0abfa77e86
Author: Édouard Thuleau <email address hidden>
Date: Wed Apr 11 12:28:59 2018 +0200

[config] Allow to delete a pending updated security resource

Update draft mode status to 'deleted' if a security resource is already
in 'updated' state.

Change-Id: I2a0b294627d48feefd4e9b47ce39af223190a060
Closes-Bug: #1762936
(cherry picked from commit 59557cb1507cc903383a0563a19afe4d23152708)

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.