Skip to content

Fix some race conditions for servers being launched/deleted

Chris Martin requested to merge cmart/exosphere:issues-309-310-311 into master

Fixes issues #309 (closed) and #310 (closed), partially mitigates #311 (closed).

How to Test

  • #309 (closed): Log into multiple OpenStack projects, bulk-create a lot of servers in one of them, toggle back and forth between projects (every second or two) while the servers build. Confirm that you don't get the error shown in #309 (closed)
  • #310 (closed): These conditions may be difficult to reproduce. Maybe bulk-delete a lot of servers at once and hope OpenStack does something it's not supposed to do (show you a deleted server). If this code path is used you'll see a "Deleted" server in the server list view.
  • #311 (closed): Launch a server, wait for the API call to request ports for it, then try to delete the server before the API call to request a floating IP address. Hope you don't get an error.

Screenshots

N/A

Edited by Chris Martin

Merge request reports