Skip to content

Instantly share code, notes, and snippets.

@ngtuna
Created August 5, 2014 12:58
Show Gist options
  • Save ngtuna/f6977e0ad2d53ae3d090 to your computer and use it in GitHub Desktop.
Save ngtuna/f6977e0ad2d53ae3d090 to your computer and use it in GitHub Desktop.
bosh-bootstrap deploy
Started deploy micro bosh > Uploading stemcellwdwdwdsq. Done (00:03:54)
Started deploy micro bosh > Creating VM from 0bb770ec-c19b-481f-967e-4aadc80b9e43s/usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient/session.rb:805:in `initialize': Connection refused - connect(2) (http://localhost:25889) (Errno::ECONNREFUSED)
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient/session.rb:805:in `new'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient/session.rb:805:in `create_socket'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient/session.rb:752:in `block in connect'
from /usr/local/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
from /usr/local/lib/ruby/2.0.0/timeout.rb:97:in `timeout'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient/session.rb:751:in `connect'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient/session.rb:609:in `query'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient/session.rb:164:in `query'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient.rb:1087:in `do_get_block'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient.rb:891:in `block in do_request'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient.rb:985:in `protect_keep_alive_disconnected'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient.rb:890:in `do_request'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient.rb:778:in `request'
from /usr/local/lib/ruby/gems/2.0.0/gems/httpclient-2.4.0/lib/httpclient.rb:689:in `put'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-registry-1.2671.0/lib/bosh/registry/client.rb:63:in `update_settings'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_openstack_cpi-1.2671.0/lib/cloud/openstack/cloud.rb:293:in `block in create_vm'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_common-1.2671.0/lib/common/thread_formatter.rb:46:in `with_thread_name'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_openstack_cpi-1.2671.0/lib/cloud/openstack/cloud.rb:202:in `create_vm'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli_plugin_micro-1.2671.0/lib/bosh/deployer/instance_manager.rb:243:in `create_vm'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli_plugin_micro-1.2671.0/lib/bosh/deployer/instance_manager.rb:123:in `block in create'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli_plugin_micro-1.2671.0/lib/bosh/deployer/instance_manager.rb:85:in `step'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli_plugin_micro-1.2671.0/lib/bosh/deployer/instance_manager.rb:122:in `create'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli_plugin_micro-1.2671.0/lib/bosh/deployer/instance_manager.rb:201:in `update'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli_plugin_micro-1.2671.0/lib/bosh/deployer/instance_manager.rb:102:in `block in update_deployment'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli_plugin_micro-1.2671.0/lib/bosh/deployer/instance_manager.rb:92:in `with_lifecycle'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli_plugin_micro-1.2671.0/lib/bosh/deployer/instance_manager.rb:102:in `update_deployment'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli_plugin_micro-1.2671.0/lib/bosh/cli/commands/micro.rb:179:in `perform'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli-1.2671.0/lib/cli/command_handler.rb:57:in `run'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli-1.2671.0/lib/cli/runner.rb:56:in `run'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli-1.2671.0/lib/cli/runner.rb:16:in `run'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh_cli-1.2671.0/bin/bosh:7:in `<top (required)>'
from /usr/local/bin/bosh:23:in `load'
from /usr/local/bin/bosh:23:in `<main>'
/usr/local/lib/ruby/2.0.0/rake/file_utils.rb:53:in `block in create_shell_runner': Command failed with status (1): [bundle exec bosh -n micro deploy --update-...] (RuntimeError)
from /usr/local/lib/ruby/2.0.0/rake/file_utils.rb:45:in `call'
from /usr/local/lib/ruby/2.0.0/rake/file_utils.rb:45:in `sh'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/helpers/bundle.rb:11:in `block in bundle'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.5/lib/bundler.rb:235:in `block in with_clean_env'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.5/lib/bundler.rb:222:in `with_original_env'
from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.6.5/lib/bundler.rb:228:in `with_clean_env'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/helpers/bundle.rb:9:in `bundle'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/microbosh.rb:70:in `block in deploy_or_update'
from /usr/local/lib/ruby/2.0.0/fileutils.rb:125:in `chdir'
from /usr/local/lib/ruby/2.0.0/fileutils.rb:125:in `cd'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/microbosh.rb:68:in `deploy_or_update'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/microbosh.rb:43:in `block in deploy'
from /usr/local/lib/ruby/2.0.0/fileutils.rb:125:in `chdir'
from /usr/local/lib/ruby/2.0.0/fileutils.rb:125:in `cd'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/microbosh.rb:40:in `deploy'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/commands/deploy.rb:75:in `perform_microbosh_deploy'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/cli/commands/deploy.rb:24:in `perform'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/lib/bosh-bootstrap/thor_cli.rb:11:in `deploy'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /usr/local/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /usr/local/lib/ruby/gems/2.0.0/gems/bosh-bootstrap-0.13.2/bin/bosh-bootstrap:13:in `<top (required)>'
from /usr/local/bin/bosh-bootstrap:23:in `load'
from /usr/local/bin/bosh-bootstrap:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment