Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
Édouard Thuleau
committed
Oct 18, 2017
1 parent
812affc
commit 5864ab7
Showing
2 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters