y2kbadbug opened a new issue, #102: URL: https://github.com/apache/cloudstack-go/issues/102
So I am learning Golang for a project, and wanted to ask something in comparison to the Python Library ngine-io/cs So in the Python Library, I can create the VM, and it will return the vm details back right away even if it fails. I noticed that in the Go module, if you do a newVirtualMachineDeployment, if it creates the instance in `error` state it will return an error, leaving the broken VM in CloudStack. This makes it impossible to have any automatic cleanup tasks (from what I've tried so far) on VMs that are failed. As we do not have the UUID. I could alter it with listVirtualMachines and provide the name as the keyword, but I do not like this idea in an automated fashion, as it could potentially delete something it shouldn't. So my questions are 1) Is this how it was designed to work in CloudStack-Go? 2) Is there a way to get the vm details when it creates it in error? I appreciate the support! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org