-
Notifications
You must be signed in to change notification settings - Fork 22
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
Some virtual machines are stopped but not deallocated #64
Comments
Thanks for reporting, it could by caused by following: initially some of your cloud agents we're started with termination timeout of 30 mins, then timeout was increased to 60 mins, but it was not propagated to stopped machines. So we need to fix this case. As a workaround you could manually remove such machines, or disable "reuse allocated virtual machines" option untill all of your machines will be recycled. |
Thanks for your replay. Workaround works. |
We are using TC completely in azure. We have one VM as leader without agent.
We are using Auzer Resource Manager cloud type.
Terminate instance idle time 60
Max 10 VM from vhd image.
OS windows with reuse allocated virtual machines.
They are part of default pool.
All VMs are form same vhd image.
Plugin version 0.5.3
When there is no load and all cloud agents are displayed as stopped in TC. We still have 6 vm in azure as stopped not deallocated.
When new build is required TC will start agent. In azure portal one of VM will change status from stopped to deallocating and one from Stoped (deallocated) to starting. So it is not even using one which will start faster.
In log teamcity-clouds.log we have for one of them:
Do you have any idea why all vm are not deallocated?
Thanks and regards,
Josef
The text was updated successfully, but these errors were encountered: