GCENodeDriver.ex_create_multiple_nodes doesn't clean itself when fails.
Summary
When calling GCENodeDriver.ex_create_multiple_nodes, if it gets timeout, the whole operation raises an exception, and the already created nodes are dangling and are not passed to the caller.
Detailed Information
When calling GCENodeDriver.ex_create_multiple_nodes, if it gets timeout, the whole operation raises an exception , and the already created nodes are dangling and are not passed to the caller. I think that actually deleting the created nodes is pretty intrusive. But, it may be helpful to pass the information regarding the already created nodes in the raised exception object, so that the caller would be able to act on this information. Another option is to yield all created nodes as soon as they are created.
Thanks!
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.