Hi again, i've added the /tokens to the URI but now it fails uploading
the stemcell and gives an error 'Unable to connect to the OpenStack
Compute API' however if i do 'telnet 10.0.2.44 8774' which is the
address of my Compute API it works.
Using provider OpenStack
Confirming: Using OpenStack
[DEPRECATION]
Defaulting to json library for json parsing. Please consider using
multi_json library for the greatest performance/flexibility.
Confirming: Using address 172.24.4.227
Reusing security group ssh
-> no additional ports opened
Reusing security group bosh_nats_server
-> no additional ports opened
Reusing security group bosh_agent_https
-> no additional ports opened
Reusing security group bosh_blobstore
-> no additional ports opened
Reusing security group bosh_director
-> no additional ports opened
Reusing security group bosh_registry
-> no additional ports opened
Destroying key pair MPSTOR-Bosh... done
Acquiring a key pair MPSTOR-Bosh... done
Confirming: Using key pair MPSTOR-Bosh
Determining
stemcell image/file to use...
/home/ubuntu/.microbosh/deployments/MPSTOR-Bosh/last_successful_micro-bosh-stemcell-openstack.tgz
bundle install
Fetching source index from
https://s3.amazonaws.com/bosh-jenkins-gems/Fetching gem metadata from
https://rubygems.org/........
Fetching gem metadata from
https://rubygems.org/........
Resolving dependencies................
Using httpclient (2.2.4)
Using yajl-ruby (1.1.0)
Installing agent_client (1.5.0.pre.736)
Using json (1.8.0)
Using nokogiri (1.5.6)
Using uuidtools (2.1.4)
Using aws-sdk (1.8.5)
Installing bosh_common (1.5.0.pre.736)
Using builder (3.1.4)
Using excon (0.23.0)
Using formatador (0.2.4)
Using mime-types (1.23)
Installing multi_json (1.7.7)
Using net-ssh (2.6.7)
Using net-scp (1.1.1)
Using ruby-hmac (0.4.0)
Using fog (1.12.1)
Using log4r (1.1.10)
Using ruby-atmos-pure (1.0.5)
Installing blobstore_client (1.5.0.pre.736)
Using highline (1.6.19)
Using readwritesettings (3.0.1)
Using cyoi (0.5.1)
Using redcard (1.1.0)
Using thor (0.18.1)
Using bosh-bootstrap (0.11.4) from source at /home/ubuntu/bosh-bootstrap
Installing bosh_cpi (1.5.0.pre.736)
Using sequel (3.43.0)
Using rack (1.5.2)
Using rack-protection (1.5.0)
Using tilt (1.4.1)
Using sinatra (1.4.3)
Using daemons (1.1.9)
Using eventmachine (1.0.3)
Using thin (1.5.1)
Installing bosh_registry (1.5.0.pre.736)
Installing bosh_aws_cpi (1.5.0.pre.736)
Using json_pure (1.8.0)
Using minitar (0.5.4)
Using net-ssh-gateway (1.1.2)
Using netaddr (1.5.0)
Using progressbar (0.9.2)
Using terminal-table (1.4.5)
Installing bosh_cli (1.5.0.pre.736)
Installing bosh_openstack_cpi (1.5.0.pre.736)
Using rest-client (1.6.7)
Installing ruby_vcloud_sdk (1.5.0.pre.736)
Installing bosh_vcloud_cpi (1.5.0.pre.736)
Using membrane (0.0.2)
Installing ruby_vim_sdk (1.5.0.pre.736)
Installing bosh_vsphere_cpi (1.5.0.pre.736)
Using sqlite3 (1.3.7)
Installing bosh_cli_plugin_micro (1.5.0.pre.736)
Using bundler (1.3.5)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
bundle exec bosh micro deployment MPSTOR-Bosh
Deployment set to '/home/ubuntu/.microbosh/deployments/MPSTOR-Bosh/micro_bosh.yml'
bundle
exec bosh -n micro deploy
/home/ubuntu/.microbosh/deployments/MPSTOR-Bosh/last_successful_micro-bosh-stemcell-openstack.tgz
Verifying stemcell...
File exists and readable OK
Using cached manifest...
Stemcell properties OK
Stemcell info
-------------
Name: micro-bosh-stemcell
Version: 703
Deploy Micro BOSH
unpacking stemcell (00:13:04)
Uploading stemcell |oo | 1/11 00:14:56 ETA: 02:08:51create stemcell failed:
Unable to connect to the OpenStack Compute API. Check task debug log for details.:
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_openstack_cpi-1.5.0.pre.736/lib/cloud/openstack/helpers.rb:18:in `cloud_error'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_openstack_cpi-1.5.0.pre.736/lib/cloud/openstack/cloud.rb:56:in
`rescue in initialize'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_openstack_cpi-1.5.0.pre.736/lib/cloud/openstack/cloud.rb:52:in `initialize'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cpi-1.5.0.pre.736/lib/cloud/provider.rb:11:in `new'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cpi-1.5.0.pre.736/lib/cloud/provider.rb:11:in `create'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/config.rb:68:in `cloud'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/instance_manager.rb:67:in `cloud'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/instance_manager.rb:226:in
`block (2 levels) in create_stemcell'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/instance_manager.rb:92:in `step'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/instance_manager.rb:225:in
`block in create_stemcell'
/home/ubuntu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/instance_manager.rb:211:in
`create_stemcell'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/instance_manager.rb:136:in `create'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/instance_manager.rb:112:in
`block in create_deployment'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/instance_manager.rb:105:in
`with_lifecycle'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/deployer/instance_manager.rb:111:in
`create_deployment'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli_plugin_micro-1.5.0.pre.736/lib/bosh/cli/commands/micro.rb:171:in `perform'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli-1.5.0.pre.736/lib/cli/command_handler.rb:57:in `run'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli-1.5.0.pre.736/lib/cli/runner.rb:59:in `run'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli-1.5.0.pre.736/lib/cli/runner.rb:18:in `run'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/bosh_cli-1.5.0.pre.736/bin/bosh:7:in `<top (required)>'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/bin/bosh:19:in `load'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/bin/bosh:19:in `<main>'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `eval'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `<main>'
/home/ubuntu/.rvm/gems/ruby-1.9.3-p429@global/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in
`block in create_shell_runner': Command failed with status (1): [bundle
exec bosh -n micro deploy /home/ubu...] (RuntimeError)
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p429@global/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p429@global/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh'
from /home/ubuntu/bosh-bootstrap/lib/bosh-bootstrap/cli/helpers/bundle.rb:9:in `block in bundle'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p429@global/gems/bundler-1.3.5/lib/bundler.rb:218:in `block in with_clean_env'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p429@global/gems/bundler-1.3.5/lib/bundler.rb:205:in `with_original_env'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p429@global/gems/bundler-1.3.5/lib/bundler.rb:211:in `with_clean_env'
from /home/ubuntu/bosh-bootstrap/lib/bosh-bootstrap/cli/helpers/bundle.rb:7:in `bundle'
from /home/ubuntu/bosh-bootstrap/lib/bosh-bootstrap/microbosh.rb:71:in `block in deploy_or_update'
from /home/ubuntu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:125:in `chdir'
from /home/ubuntu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:125:in `cd'
from /home/ubuntu/bosh-bootstrap/lib/bosh-bootstrap/microbosh.rb:69:in `deploy_or_update'
from /home/ubuntu/bosh-bootstrap/lib/bosh-bootstrap/microbosh.rb:43:in `block in deploy'
from /home/ubuntu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:125:in `chdir'
from /home/ubuntu/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:125:in `cd'
from /home/ubuntu/bosh-bootstrap/lib/bosh-bootstrap/microbosh.rb:40:in `deploy'
from /home/ubuntu/bosh-bootstrap/lib/bosh-bootstrap/cli/commands/deploy.rb:75:in `perform_microbosh_deploy'
from /home/ubuntu/bosh-bootstrap/lib/bosh-bootstrap/cli/commands/deploy.rb:24:in `perform'
from /home/ubuntu/bosh-bootstrap/lib/bosh-bootstrap/thor_cli.rb:11:in `deploy'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from bin/bosh-bootstrap:11:in `<main>'