Re: Problems bootstrapping with bosh-init on openstack

Mihai Ibanescu <Mihai.Ibanescu@...>

?That worked perfectly, thank you!


From: cf-bosh-bounces(a) <cf-bosh-bounces(a)> on behalf of Dmitriy Kalinin <dkalinin(a)>
Sent: Wednesday, June 24, 2015 1:19 PM
To: Discussions about the Cloud Foundry BOSH project.
Subject: Re: [cf-bosh] Problems bootstrapping with bosh-init on openstack

Please update your manifest to use bosh release 177: It includes following commit which makes bosh-init work with older Ruby versions:

On Wed, Jun 24, 2015 at 8:36 AM, Mihai Ibanescu <Mihai.Ibanescu(a)<mailto:Mihai.Ibanescu(a)>> wrote:


I'm trying to deploy bosh on an OpenStack instance.

I am following the directions from

bosh-init will deploy the instance on Openstack; it will then proceed to recompile everything on that instance, and fails after updating:

Updating instance 'bosh/0'... Finished (00:00:13)
Waiting for instance 'bosh/0' to be running... Failed (00:05:01)
Failed deploying (00:17:34)

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

Command 'deploy' failed:
Received non-running job state: 'failing'

The somewhat useful messages in the log are:


2015/06/24 15:29:33 [error] 24737#0: *13936 connect() failed (111: Connection refused) while connecting to upstream, client:, server: , request: "GET /deployments HTTP/1.1", upstream: "", host: "<>"

/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.2941.0/bin/bosh-director-migrate:49:in `<top (required)>': undefined method `[]' for nil:NilClass (NoMethodError)
from /var/vcap/packages/director/bin/bosh-director-migrate:16:in `load'
from /var/vcap/packages/director/bin/bosh-director-migrate:16:in `<main>'

Output of gem list bosh:

bosh-release (1.2950.0)
bosh-template (1.2950.0)
bosh_common (1.2950.0)

?Stemcell image is:<>

Did I miss a step?

Thank you!


PS I am running bosh-init from a CentOS 6 system. I found out that I had to open up ingress traffic to port 25555 in order for bosh to work, which was not mentioned on the instructions. But I am wondering if I missed more things to set up.

cf-bosh mailing list

Join { to automatically receive all group messages.