commit 5864ab70bc8a36d5598cf81375545f445e0448ca
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.
Reviewed: https:/ /review. opencontrail. org/36635 github. com/Juniper/ contrail- controller/ commit/ 5864ab70bc8a36d 5598cf81375545f 445e0448ca
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit 5864ab70bc8a36d 5598cf81375545f 445e0448ca
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: I140cf5b7f4bd4d 7798db18a7afd3b 0d6168ea6b1
Closes-Bug: #1724179
Closes-Bug: #1724194