Re: when update the bosh director, bosh-init says "Address 10.0.0.6 is in use"


Danny Berger
 

This is often due to losing the director-state.json file that bosh-init
created after your initial deploy. That file keeps track of the existing
instance and disk CIDs. It uses those values during an update to cleanly
shut thing down your VM and reattach your disk afterwards.

Double check that you still have the state file or check out some recovery
suggestions from
https://bosh.io/docs/using-bosh-init.html#recover-deployment-state.

Danny

On Tue, Sep 20, 2016 at 6:28 AM, Stanley Shen <meteorping(a)gmail.com> wrote:

I am having a bosh director deployed by bosh-init, which has the private
ip 10.0.0.6

Right now I am trying to upgrade the director to latest, and it keep saying

CPI 'create_vm' method responded with error:
CmdError{"type":"Unknown","message":"Address 10.0.0.6 is in
use.","ok_to_retry":false}


When I trying to run "bosh-init deploy ./director.yml", it's an update
operation, the address is taken up by itself.

What should I do about this, anyone met this issue too? the bosh-init
version is "version 0.0.80-a62aad7-2015-10-28T01:52:29Z"

Thanks in advance.
--
Danny Berger

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.