Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

bosh bootstrap fails because server state is error, expected active #323

Open
ghost opened this issue Nov 21, 2015 · 3 comments
Open

bosh bootstrap fails because server state is error, expected active #323

ghost opened this issue Nov 21, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 21, 2015

Hi,

I am trying to deploy cloud foundry on openstack using traveling bosh. It fails at

Stemcell info
-------------
Name:    bosh-openstack-kvm-ubuntu-trusty-go_agent
Version: 3143

  Started deploy micro bosh
  Started deploy micro bosh > Unpacking stemcell. Done (00:00:35)
  Started deploy micro bosh > Uploading stemcell. Done (00:02:31)
  Started deploy micro bosh > Creating VM from a95e4c85-7575-4765-96a5-c14d09c98ceblog writing failed. can't be called from trap context
/home/..../.rvm/gems/ruby-2.2.1/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/cloud.rb:316:in `rescue in block in create_vm': Server `a61cba82-1fa1-4078-9eab-1680c2725df1' state is error, expected active (Bosh::Clouds::VMCreationFailed)

Does anybody know how to get rid of this error?

@ghost ghost changed the title bosh bootstrap fails on starting tcp server bosh bootstrap fails because server state is error, expected active Nov 21, 2015
@drnic
Copy link
Contributor

drnic commented Nov 21, 2015

I would avoid traveling bosh at the moment, sadly. It packages an old version of bosh cli that might not work with latest stemcells. Try installing Ruby via rvm.io and then install bosh-bootstrap and try again

On Sat, Nov 21, 2015 at 1:15 AM, HifzaK [email protected] wrote:

Hi,
I am trying to deploy cloud foundry on openstack using traveling bosh. It fails at

Stemcell info
-------------
Name:    bosh-openstack-kvm-ubuntu-trusty-go_agent
Version: 3143
/home/..../.rvm/gems/ruby-2.2.1/gems/eventmachine-1.0.8/lib/eventmachine.rb:534:in `start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError)
  from /home/..../.rvm/gems/ruby-2.2.1/gems/eventmachine-1.0.8/lib/eventmachine.rb:534:in `start_server'
  from /home/.../.rvm/gems/ruby-2.2.1/gems/thin-1.5.1/lib/thin/backends/tcp_server.rb:16:in `connect'
  from /home/..../.rvm/gems/ruby-2.2.1/gems/thin-1.5.1/lib/thin/backends/base.rb:55:in `block in start'
  from /home/..../.rvm/gems/ruby-2.2.1/gems/eventmachine-1.0.8/lib/eventmachine.rb:193:in `call'
  from /home/..../.rvm/gems/ruby-2.2.1/gems/eventmachine-1.0.8/lib/eventmachine.rb:193:in `run_machine'
  from /home/.../.rvm/gems/ruby-2.2.1/gems/eventmachine-1.0.8/lib/eventmachine.rb:193:in `run'
  from /home/.../.rvm/gems/ruby-2.2.1/gems/thin-1.5.1/lib/thin/backends/base.rb:63:in `start'
  from /home/.../.rvm/gems/ruby-2.2.1/gems/thin-1.5.1/lib/thin/server.rb:159:in `start'
  from /home/..../.rvm/gems/ruby-2.2.1/gems/bosh-registry-1.3140.0/lib/bosh/registry/runner.rb:34:in `start_http_server'
  from /home/.../.rvm/gems/ruby-2.2.1/gems/bosh-registry-1.3140.0/lib/bosh/registry/runner.rb:18:in `run'
  from /home/..../.rvm/gems/ruby-2.2.1/gems/bosh-registry-1.3140.0/bin/bosh-registry:28:in `<top (required)>'
  from /home/.../.rvm/gems/ruby-2.2.1/bin/bosh-registry:23:in `load'
  from /home/.../.rvm/gems/ruby-2.2.1/bin/bosh-registry:23:in `<main>'
  from /home/..../.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
  from /home/.../.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'

Does anybody how to get rid of this error?

Reply to this email directly or view it on GitHub:
#323

@ghost
Copy link
Author

ghost commented Nov 22, 2015

I am getting the same error using bosh-bootstrap. Any suggestions?

@drnic
Copy link
Contributor

drnic commented Nov 22, 2015

This is your ticket I think

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant