cloudfoundry-attic / bosh-init

bosh-init is a tool used to create and update the Director VM
Apache License 2.0
31 stars 33 forks source link

Add option to Force redeploy #60

Closed skibum55 closed 7 years ago

skibum55 commented 8 years ago

If the BOSH instance has been stopped on AWS, it will no longer function on restart. We propose a flag to be used with the deploy command that could be used to force a redeploy even though the manifest has not changed.

cppforlife commented 8 years ago

bosh deploy --recreate recreate VMs regardless if anything changes or not.

cppforlife commented 8 years ago

Oops. This is bosh-init repo...

philippthun commented 8 years ago

Also useful when the version of bosh-init has changed (and now supports e.g. pre-start scripts) and I want to redeploy my director...

jgallucci32 commented 7 years ago

Certainly in the past 3 years there have been enough director VMs to have failed to the point they need redeployed. SO my question is...how has the community been redeploying Director VMs while we wait for a feature to do it via command line?

dpb587-pivotal commented 7 years ago

The upcoming version of the CLI will have a --recreate option (see https://github.com/cloudfoundry/bosh-cli/pull/316). Historically, you could modify the state file or deployment manifest to emulate a change.

dpb587-pivotal commented 7 years ago

Closing - released v2.0.40 (requires bosh-cli, since bosh-init is deprecated).