libcloud icon indicating copy to clipboard operation
libcloud copied to clipboard

GCENodeDriver.ex_create_multiple_nodes doesn't clean itself when fails.

Open doranid opened this issue 4 years ago • 1 comments

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!

doranid avatar Jun 01 '21 07:06 doranid

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.

stale[bot] avatar Apr 17 '22 05:04 stale[bot]