-
Notifications
You must be signed in to change notification settings - Fork 32
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
VM becomes unresponsive to bosh after reboot #35
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/161338351 The labels on this github issue will be updated when the story is started. |
Hey @gossion Bosh does not currently support a workflow where VM restarts are managed outside of the Bosh director. In case you do need to restart VMs, the Was there a particular use case that you had which required the VMs to be restarted from the Azure portal? It would help us understand the requirement a little better. Thanks!! |
Thanks @ashwin-venkatesh . Currently, I don't have any workload blocked, I just saw the error and thought that it could be an issue. A use case that I can think is a test environment, people would like to stop the VMs for purpose of cost saving, and later on when they need to use the test environment again they start the VMs, and finally they find that the VMs are not recovered. |
Hey @gossion That is a reasonable use case. Bosh does currently support this workflow using the Those would be the recommended way to achieve the desired result. This should ensure things work seamlessly.Bosh maintains it's own state of the world and does not work as intended when changes are made to a VM state via mechanisms external to it. I hope this addresses the above concern. Do you have other questions or would it be alright if I closed this issue? |
Additionally, you can use |
Thanks @ashwin-venkatesh . There is no API for CPI to stop (which is allocate on Azure) a VM, for purpose of cost saving I need to delete the VM ( Anyway, I am not blocked. I will close this issue, but think it is a nice-to-have feature. |
Not sure if you realize this issue.
I tried a test to deploy a simple workload on Windows VM on Azure, it deployed successfully. The problem is that when I tried to restart the VM (via azure portal), the VMs became unresponsive forever and never came back to service.
My env:
cloud provider: Azure
stemcell:
https://bosh.io/stemcells/bosh-azure-hyperv-windows1803-go_agent
manifest:
I believe the VM was up because it had response to RDP. Maybe there is an issue with bosh-agent, however, I don't have a credential to login to VM to check.
The text was updated successfully, but these errors were encountered: