-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unchecked "Reuse allocated virtual machines" does not delete VMs #61
Comments
@btdevopsteam, thanks for reporting. I tried to fix the possible cause in the latest plugin build. Could you please try updating plugin, then go to Administration -> Diagnostics -> Troubleshooting page and enable |
I'm lost - where shall we download the very latest version of the plugin? |
@btdevopsteam, @konste, please let me know whether it was solved in the latest plugin builds? |
Thank you for working on this and sorry for the non-reply Just installed SNAPSHOT-20170816163918 and restarted TeamCity service, the behavior is as before updating
Is there any steps we need to take after updating the plugin? |
@btdevopsteam, interesting could not reproduce it on my side, so I need logs to investigate the cause. Please follow the instructions in #61 (comment) and attach logs into new issue in TeamCity tracker. |
Thanks @dtretyakov |
@btdevopsteam, got it. It seems that you have missing deployments metadata for image When used build agents deployment into specific resource group the plugin deeply depends on metadata stored for deployment, so when it is missing TeamCity could not find list of allocated resources and remove them. Could you please try to cleanup this group manually or remove and recreate it (if possible, since it is faster). Then try to start a new build agent in it, stop agent and it should properly remove all allocated resources. I will try to improve logging for such cases when no metadata for deployment are available in resource group. |
Made a new Image and retry Logs uploaded to youtrack, let's continue the discussion on youtrack for the moment |
@btdevopsteam, oh, thanks, it should be fixed in the snapshot build 103+. Please let me know if it properly works. |
Thanks! VMs (network interfaces and OS disks) are now being deleted |
Good day
Enhancement #36 works well and consolidate resources into a Resource Group
We notice that when "Reuse allocated virtual machines" is unchecked, the plugin simple "forgets" about it in TeamCity and does not really stop the VM nor delete it
The text was updated successfully, but these errors were encountered: