Comment 9 for bug 1724179

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

Reviewed: https://review.opencontrail.org/36627
Committed: http://github.com/Juniper/contrail-controller/commit/342ca4044ecc7e4eca01bbb045a080a27386b915
Submitter: Zuul (<email address hidden>)
Branch: master

commit 342ca4044ecc7e4eca01bbb045a080a27386b915
Author: Édouard Thuleau <email address hidden>
Date: Wed Oct 18 16:09:39 2017 +0200

[VNC OpenStack] Fix concurrency project deletion

In mutli API server setup, the sync domains/projects VNC OpenStack
greenthread of one of the servers can try to remove and purge resource related
to a project which another server already purged. That results to not found
API exceptions. That patch catches that exceptions and abandons to purge
the project.
That also reveals an issue in permission code that checks if the
deletion is authorized which fails to read the resource as it was
already deleted.

Change-Id: I140cf5b7f4bd4d7798db18a7afd3b0d6168ea6b1
Closes-Bug: #1724179
Closes-Bug: #1724194