Date
1 - 3 of 3
Problems bootstrapping with bosh-init on openstack
Mihai Ibanescu <Mihai.Ibanescu@...>
Hi,
I'm trying to deploy bosh on an OpenStack instance. I am following the directions from https://bosh.io/docs/init-openstack.html 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: Deploying: Received non-running job state: 'failing' The somewhat useful messages in the log are: /var/vcap/data/sys/log/director/error_log: 2015/06/24 15:29:33 [error] 24737#0: *13936 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /deployments HTTP/1.1", upstream: "http://127.0.0.1:25556/deployments", host: "127.0.0.1:25555" /var/vcap/data/sys/log/director/migrate.stderr.log: /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: https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=2950<https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=2950^> Did I miss a step? Thank you! Mihai 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. |
|
Dmitriy Kalinin
Please update your manifest to use bosh release 177:
https://bosh.io/releases/github.com/cloudfoundry/bosh?version=177. It includes following commit which makes bosh-init work with older Ruby versions: https://github.com/cloudfoundry/bosh/commit/d61d310b7bc9b9b0e2aca4a6523563de8dbb0609 On Wed, Jun 24, 2015 at 8:36 AM, Mihai Ibanescu <Mihai.Ibanescu(a)sas.com> wrote: Hi, |
|
Mihai Ibanescu <Mihai.Ibanescu@...>
?That worked perfectly, thank you!
Mihai ________________________________ From: cf-bosh-bounces(a)lists.cloudfoundry.org <cf-bosh-bounces(a)lists.cloudfoundry.org> on behalf of Dmitriy Kalinin <dkalinin(a)pivotal.io> 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: https://bosh.io/releases/github.com/cloudfoundry/bosh?version=177. It includes following commit which makes bosh-init work with older Ruby versions: https://github.com/cloudfoundry/bosh/commit/d61d310b7bc9b9b0e2aca4a6523563de8dbb0609 On Wed, Jun 24, 2015 at 8:36 AM, Mihai Ibanescu <Mihai.Ibanescu(a)sas.com<mailto:Mihai.Ibanescu(a)sas.com>> wrote: Hi, I'm trying to deploy bosh on an OpenStack instance. I am following the directions from https://bosh.io/docs/init-openstack.html 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: Deploying: Received non-running job state: 'failing' The somewhat useful messages in the log are: /var/vcap/data/sys/log/director/error_log: 2015/06/24 15:29:33 [error] 24737#0: *13936 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /deployments HTTP/1.1", upstream: "http://127.0.0.1:25556/deployments", host: "127.0.0.1:25555<http://127.0.0.1:25555>" /var/vcap/data/sys/log/director/migrate.stderr.log: /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: https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=2950<https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=2950%5E> Did I miss a step? Thank you! Mihai 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 cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org> https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh |
|