Comments (6)
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.
from bosh-windows-stemcell-builder.
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 bosh
cli has commands to do the same. Restarting the VM from the portal leads to the BOSH director thinking the VMs have been torn down and it tries to recreate them.
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!!
from bosh-windows-stemcell-builder.
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.
from bosh-windows-stemcell-builder.
Hey @gossion
That is a reasonable use case. Bosh does currently support this workflow using the bosh stop
command. It also includes the --hard
flag which deletes the VMs but holds onto the persistent disks.
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?
from bosh-windows-stemcell-builder.
Additionally, you can use bosh start
to restart a stopped deployment.
from bosh-windows-stemcell-builder.
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 (bosh stop --hard
) which is not convenient to find the instance id once it is deleted (it is not shown on bosh vms
anymore). So I think it is better if the VM can come back to service after an expected/unexpected reboot.
Anyway, I am not blocked. I will close this issue, but think it is a nice-to-have feature.
from bosh-windows-stemcell-builder.
Related Issues (20)
- Windows Stemcell Size too large HOT 12
- Add HTTP proxy support to install windows updates HOT 6
- link leads to creating a wiki page HOT 3
- Add support for S3 compatible storage to rake tasks HOT 7
- windows2016 stemcells should turn off realtime malware scanning (and windows2012R2 if possible) HOT 2
- The data area passed to a system call is too small HOT 5
- Add support to disable netbios HOT 4
- use vsphere plugin instead of the vmware-vmx plugin HOT 5
- Does CF support the 2016 Standard (No GUI) install? HOT 9
- Enable w32time service and set to auto start in Install-CFFeatures2012 HOT 3
- AWS stemcell build should not require specific envvars HOT 3
- ESXi Compatibility for Windows2016 HOT 4
- Enable Windows long path name support HOT 6
- Link to download Concourse Worker produces a 404 error HOT 2
- Windows 2019 stemcell could only be created using a vmdk set to use BIOS HOT 3
- Http/s proxy issues HOT 7
- 2019 Stemcell Build Failing - DISM Related Failure HOT 1
- In-place Agent Upgrades HOT 11
- OpenStack stemcell builder HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bosh-windows-stemcell-builder.