Skip to content

Instantly share code, notes, and snippets.

@diegoparrilla
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegoparrilla/18f5b5cad9f10858521d to your computer and use it in GitHub Desktop.
Save diegoparrilla/18f5b5cad9f10858521d to your computer and use it in GitHub Desktop.
MacBook-Air-de-Diego:bosh-bootstrap diego$ ./bin/bosh-bootstrap deploy
1. AWS
2. OpenStack
3. vSphere
Choose your infrastructure: 2
Using provider OpenStack
Username: XXXXXXXXXXX
Password: XXXXXXXXXXX
Tenant: XXXXXXXXX
Authorization Token URL: https://api.stackops.net/v2.0
OpenStack Region (optional):
1. QCOW2*
2. RAW
Image format to be used: 1
Confirming: Using OpenStack (user: XXXXXXXXX)
1. 00000245-subnet (10.0.61.64/26)
2. ext-net (185.45.72.0/XX)
Choose a subnet: 1
Choose IP |10.0.61.66|
Confirming: Using address 10.0.61.66
Reusing security group ssh
-> no additional ports opened
Reusing security group dns_server
-> no additional ports opened
Reusing security group bosh
-> no additional ports opened
Destroying key pair firstbosh... done
Acquiring a key pair firstbosh... done
Confirming: Using key pair firstbosh
Determining stemcell image/file to use... curl -O 'http://bosh-jenkins-artifacts.s3.amazonaws.com/bosh-stemcell/openstack/bosh-stemcell-latest-openstack-kvm-ubuntu.tgz'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 353M 100 353M 0 0 1811k 0 0:03:19 0:03:19 --:--:-- 2469k
/Users/diego/.microbosh/deployments/firstbosh/bosh-stemcell-latest-openstack-kvm-ubuntu.tgz
bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies.....
Using httpclient 2.4.0
Using yajl-ruby 1.1.0
Your user account isn't allowed to install to the system Rubygems.
You can cancel this installation and run:
bundle install --path vendor/bundle
to install the gems into ./vendor/bundle/, or you can enter your password
and install the bundled gems to Rubygems using sudo.
Password:
Installing agent_client 1.2685.0
Using json 1.8.1
Using nokogiri 1.5.11
Using aws-sdk 1.44.0
Using semi_semantic 1.1.0
Installing bosh_common 1.2685.0
Using builder 3.1.4
Using excon 0.25.3
Using formatador 0.2.5
Using mime-types 2.3
Using multi_json 1.10.1
Using net-ssh 2.9.1
Using net-scp 1.1.2
Using ruby-hmac 0.4.0
Using fog 1.14.0
Using log4r 1.1.10
Using ruby-atmos-pure 1.0.5
Installing blobstore_client 1.2685.0
Using highline 1.6.21
Using readwritesettings 3.0.1
Using cyoi 0.10.1
Using trollop 2.0
Using rbvmomi 1.8.1
Using redcard 1.1.0
Using thor 0.19.1
Using bosh-bootstrap 0.13.2 from source at /Users/diego/bosh-bootstrap
Installing bosh-template 1.2685.0
Installing bosh-director-core 1.2685.0
Using sequel 3.43.0
Using rack 1.5.2
Using rack-protection 1.5.3
Using tilt 1.4.1
Using sinatra 1.4.5
Using daemons 1.1.9
Using eventmachine 1.0.3
Using thin 1.5.1
Installing bosh-registry 1.2685.0
Installing bosh_cpi 1.2685.0
Installing bosh_aws_cpi 1.2685.0
Installing bosh-stemcell 1.2685.0
Using json_pure 1.8.1
Using minitar 0.5.4
Using net-ssh-gateway 1.2.0
Using netaddr 1.5.0
Using progressbar 0.9.2
Using terminal-table 1.4.5
Installing bosh_cli 1.2685.0
Installing bosh_openstack_cpi 1.2685.0
Using membrane 0.0.5
Using rest-client 1.6.7
Using bosh_vcloud_cpi 0.5.5
Using mysql2 0.3.16
Using pg 0.15.1
Installing bosh_vsphere_cpi 1.2685.0
Using sqlite3 1.3.9
Installing bosh_cli_plugin_micro 1.2685.0
Using bundler 1.6.5
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
bundle exec bosh micro deployment firstbosh
WARNING! Your target has been changed to `https://10.0.61.66:25555'!
Deployment set to '/Users/diego/.microbosh/deployments/firstbosh/micro_bosh.yml'
bundle exec bosh -n micro deploy --update-if-exists /Users/diego/.microbosh/deployments/firstbosh/bosh-stemcell-latest-openstack-kvm-ubuntu.tgz
Verifying stemcell...
File exists and readable OK
Verifying tarball...
Read tarball OK
Manifest exists OK
Stemcell image file OK
Stemcell properties OK
Stemcell info
-------------
Name: bosh-openstack-kvm-ubuntu
Version: 2427
Started deploy micro bosh
Started deploy micro bosh > Unpacking stemcell. Done (00:00:08)
Started deploy micro bosh > Uploading stemcell. Done (00:16:37)
Started deploy micro bosh > Creating VM from 03d55402-a113-47f4-96b3-c83c9efcffe9. Done (00:00:45)
Started deploy micro bosh > Waiting for the agent
// CTRL+C sent to stop waiting for the agent
Started deploy micro bosh > Waiting for the agent^Clog writing failed. can't be called from trap context
/Library/Ruby/Gems/2.0.0/gems/rake-10.3.2/lib/rake/file_utils.rb:70:in `system': Interrupt
from /Library/Ruby/Gems/2.0.0/gems/rake-10.3.2/lib/rake/file_utils.rb:70:in `rake_system'
from /Library/Ruby/Gems/2.0.0/gems/rake-10.3.2/lib/rake/file_utils.rb:42:in `sh'
from /Users/diego/bosh-bootstrap/lib/bosh-bootstrap/cli/helpers/bundle.rb:11:in `block in bundle'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.6.5/lib/bundler.rb:235:in `block in with_clean_env'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.6.5/lib/bundler.rb:222:in `with_original_env'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.6.5/lib/bundler.rb:228:in `with_clean_env'
from /Users/diego/bosh-bootstrap/lib/bosh-bootstrap/cli/helpers/bundle.rb:9:in `bundle'
from /Users/diego/bosh-bootstrap/lib/bosh-bootstrap/microbosh.rb:70:in `block in deploy_or_update'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:125:in `chdir'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:125:in `cd'
from /Users/diego/bosh-bootstrap/lib/bosh-bootstrap/microbosh.rb:68:in `deploy_or_update'
from /Users/diego/bosh-bootstrap/lib/bosh-bootstrap/microbosh.rb:43:in `block in deploy'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:125:in `chdir'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:125:in `cd'
from /Users/diego/bosh-bootstrap/lib/bosh-bootstrap/microbosh.rb:40:in `deploy'
from /Users/diego/bosh-bootstrap/lib/bosh-bootstrap/cli/commands/deploy.rb:75:in `perform_microbosh_deploy'
from /Users/diego/bosh-bootstrap/lib/bosh-bootstrap/cli/commands/deploy.rb:24:in `perform'
from /Users/diego/bosh-bootstrap/lib/bosh-bootstrap/thor_cli.rb:11:in `deploy'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from ./bin/bosh-bootstrap:13:in `<main>'
log writing failed. can't be called from trap context
MacBook-Air-de-Diego:bosh-bootstrap diego$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment