bosh icon indicating copy to clipboard operation
bosh copied to clipboard

Using ctrl+c to cancel "bosh deploy" will cause the current vm missing from bosh db

Open gu-bin opened this issue 10 years ago • 1 comments

As our deployments are very big that contains hundreds of vms, we need to use ctrl+c to stop bosh deploy and start again later to do the deploy in several batches. Or, if there are runtime issues during bosh deploy, we need to use ctrl+c to stop it, fix the issues and start the deploy again.

During bosh deploy, if use ctrl+c to cancel the deploy, the vm that is running deploy will be deleted from bosh db. Next bosh deploy will recreate the vm. As we are doing os-reload on Softlayer, vm recreation needs to be avoided. We need bosh to continue the vm deploy after ctrl+c, not delete the vm from bosh db and recreate it in the next bosh deploy. Could you please add the support for Softlayer? Thanks.

/cc @maximilien @mattcui @jianqiu

gu-bin avatar Aug 08 '16 06:08 gu-bin

Add the following parameter to bosh.yml can solve the problem:

      debug:
        keep_unreachable_vms: true

gu-bin avatar Aug 11 '16 07:08 gu-bin