Re: bosh-init fails to create vm during upgrade

Michal Kuratczyk


Seems to be an IaaS error indicating you have no hosts with enough capacity
to run the VM. Check you IaaS logs (I guess that would be Nova logs in your

Best regards,

On Tue, Sep 13, 2016 at 6:53 PM, Nithiyasri Gnanasekaran -X (ngnanase -
TECH MAHINDRA LIM at Cisco) <ngnanase(a)> wrote:


I am trying to upgrade the bosh director using bosh-init. My existing
director uses 3155 stemcell and bosh version is BOSH 1.3071.0.

I am able to upgrade to 3262 stemcell version and BOSH 1.3262.4.0, but
after upgrade the bosh vms are lost.

So to retain them I tried using the same stemcell version 3155. But it
fails with the below error:

Started deploying

Creating VM for instance 'bosh/0' from stemcell '81be5b73-a8b8-495e-9785-d896222ec8cb'...
Failed (00:02:54)

Failed deploying (00:02:54)

Stopping registry... Finished (00:00:00)

Cleaning up rendered CPI jobs... Finished (00:00:00)

Command 'deploy' failed:


Creating instance 'bosh/0':

Creating VM:

Creating vm with stemcell cid '81be5b73-a8b8-495e-9785-

CPI 'create_vm' method responded with error:
CmdError{"type":"Bosh::Clouds::VMCreationFailed","message ":"Server
`3a3d1481-f308-4e40-ab64-c779ee3e0fc6' state is error, expected
active\nNo valid host was found. Excee ded max scheduling attempts 3
for instance 3a3d1481-f308-4e40-ab64-c779ee3e0fc6","ok_to_retry":true}

Bosh-deployments.yml is available in the deployment directory..

Michal Kuratczyk | Solution Architect | Pivotal Inc.
Mobile +48602421588 | mkuratczyk(a)

Join to automatically receive all group messages.