Giter VIP home page Giter VIP logo

bosh-bootstrap's People

Contributors

cweibel avatar drnic avatar frodenas avatar geofffranks avatar gitbisect avatar lnguyen avatar mdub avatar mkb avatar orsonkent avatar rkoster avatar ryfow avatar teancom avatar yudai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bosh-bootstrap's Issues

Connection refused while "Mounting persistent disk as volume on inception VM"

While creating an inception VM on Openstack a connection refused is raised.
This can be traced back to https://github.com/StarkAndWayne/bosh-bootstrap/blob/master/lib/bosh-bootstrap/cli.rb#L922

Fog can't connect via ssh because it is using the wrong ipaddress as can be seen here https://github.com/fog/fog/blob/master/lib/fog/openstack/models/compute/server.rb#L99

The logic used in fog is not conform the Nova 1.1 api as discussed here: https://answers.launchpad.net/nova/+question/185110

A similar problem has already been solved in the bosh deployer as can be seen here: https://github.com/cloudfoundry/bosh/blob/master/deployer/lib/deployer/instance_manager/openstack.rb#L125

Deployer: Connection Timed out while waiting for agent

After creating micro BOSH vm, when waiting for the agent, the following error shows up in bosh_micro_deploy.log on the inception vm:

#<Errno::ETIMEDOUT: Connection timed out - connect(2)>

This can be traced back to a problem with the network settings as set in micro_bosh.yml

bosh-bootstrap sets the following config:

network:
  type: dynamic
  vip: {public_ip}

The settings that work in our case are:

network:                                                                                                                                                                                   
    name: default                                                                                                                                                                            
    type: dynamic                                                                                                                                                                            
    label: {label_name}                                                                                                                                                                        
    ip: {public_ip}  

Source: https://github.com/cloudfoundry/oss-docs/blob/master/bosh/documentation/install_microbosh_openstack.md#create-manifest-file

bosh-bootstrap deploy fails for AWS: eu-west-1

I'm struggling to use bosh-bootstrap on AWS: eu-west-1.

When it gets to the point of deploying the Micro BOSH, is fails as below:

Deploy Micro BOSH
  unpacking stemcell (00:00:13)                                                 
  uploading stemcell (00:13:20)                                                 
Creating VM from...          |ooo                | 2/11 00:13:34  ETA: 01:01:03
/usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/core/client.rb:318:in `return_or_raise': Invalid availability zone: [us-east-1a] (AWS::EC2::Errors::InvalidParameterValue)

At a guess, I'd say that there is a config file which is hardcoded to use us-east-1a; but I'm unsure how to change that.

Full session output below (in case there is something useful in it):

[17:12][mrdavidlaing@maccy001:~/Projects/CloudFoundry/bosh-bootstrap(master)]$ bundle exec bosh-bootstrap deploy --latest-stemcell

Stage 1: Choose infrastructure

Confirming: Using infrastructure provider AWS

Confirming: Using AWS region eu-west-1


Stage 2: BOSH configuration

Confirming: Micro BOSH will be named microbosh-aws-eu-west-1

Please enter a user/password for the BOSH that will be created.
BOSH username: |mrdavidlaing| 
BOSH password: xxxxxxxxxxxxxxxxxx
Confirming: After BOSH is created, your username will be mrdavidlaing

Defaulting to 16Gb persistent disk for BOSH
Acquiring IP address for micro BOSH...
Confirming: Micro BOSH will be assigned IP address 46.137.98.102

opened port 22 in security group microbosh-aws-eu-west-1
opened port 4222 in security group microbosh-aws-eu-west-1
opened port 6868 in security group microbosh-aws-eu-west-1
opened port 25250 in security group microbosh-aws-eu-west-1
opened port 25555 in security group microbosh-aws-eu-west-1
opened port 25777 in security group microbosh-aws-eu-west-1
Confirming: Micro BOSH protected by security group named microbosh-aws-eu-west-1, with ports [22, 4222, 6868, 25250, 25555, 25777]

creating key pair microbosh-aws-eu-west-1...
Confirming: Micro BOSH accessible via key pair named microbosh-aws-eu-west-1

Locating micro-bosh stemcell, running 'bosh public stemcells --tags micro,aws'...
Confirming: Micro BOSH will be created with stemcell micro-bosh-stemcell-aws-0.7.0.tgz


Stage 3: Create/Allocate the Inception VM

1. create new inception VM
2. use an existing Ubuntu server
3. use this server (must be ubuntu & on same network as bosh)
Create or specify an Inception VM:  1

Provisioning m1.small for inception VM...
Provisioning IP address for inception VM...
Provisioning 32Gb persistent disk for inception VM...
Mounting persistent disk as volume on inception VM...
Confirming: Inception VM has been created

SSH access: ssh -i /Users/mrdavidlaing/.ssh/id_rsa [email protected]
Confirming: Using inception VM [email protected]

validating ubuntu
uploading /tmp/remote_script_validate_ubuntu to Inception VM
Successfully validated ubuntu

Stage 4: Preparing the Inception VM

creating vcap user
uploading /tmp/remote_script_create_vcap_user to Inception VM
creating public keys for vcap/root user...
Generating public/private rsa key pair.
Your identification has been saved in /home/vcap/.ssh/id_rsa.
Your public key has been saved in /home/vcap/.ssh/id_rsa.pub.
The key fingerprint is:
3c:ef:9d:69:7d:ab:7b:20:83:c4:9e:66:62:43:33:f8 vcap@ip-10-235-94-212
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|                 |
|      . .        |
|     . = o       |
|      o S o      |
|       E O o .   |
|      . = . o..  |
|         . ..o...|
|          ..+o+o.|
+-----------------+
copy vcap public keys to root user...
creating /var/vcap/store/microboshes
creating /var/vcap/store/microboshes/deployments
creating /var/vcap/store/deployments
creating /var/vcap/store/releases
creating /var/vcap/store/repos
creating /var/vcap/store/stemcells
creating /var/vcap/store/tmp
creating /var/vcap/store/bosh_cache
adding vcap to sudoers
copying user 'ubuntu' authorized_keys to vcap user
copying user 'ubuntu' .bashrc to vcap user
adding $TMPDIR to .bashrc
setting $EDITOR to vim as default
Successfully created vcap user
installing base packages
uploading /tmp/remote_script_install_base_packages to Inception VM
Get: 1 http://eu-west-1.ec2.archive.ubuntu.com lucid Release.gpg [189B]
Get: 2 http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_GB
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_GB
Get: 3 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_GB [62.9kB]
Get: 4 http://security.ubuntu.com lucid-security Release [57.3kB]
Get: 5 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_GB [33.9kB]
Get: 6 http://eu-west-1.ec2.archive.ubuntu.com lucid-updates Release.gpg [198B]
Get: 7 http://security.ubuntu.com lucid-security/main Packages [473kB]
Get: 8 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_GB [75.4kB]
Get: 9 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_GB [5,416B]
Get: 10 http://security.ubuntu.com lucid-security/universe Packages [168kB]    
Get: 11 http://security.ubuntu.com lucid-security/main Sources [133kB]       
Get: 12 http://eu-west-1.ec2.archive.ubuntu.com lucid Release [57.2kB]      
Get: 13 http://security.ubuntu.com lucid-security/universe Sources [43.8kB]    
Get: 14 http://eu-west-1.ec2.archive.ubuntu.com lucid-updates Release [58.3kB] 
Get: 15 http://eu-west-1.ec2.archive.ubuntu.com lucid/main Packages [1,383kB]
Get: 16 http://eu-west-1.ec2.archive.ubuntu.com lucid/universe Packages [5,430kB]
Get: 17 http://eu-west-1.ec2.archive.ubuntu.com lucid/main Sources [659kB]
Get: 18 http://eu-west-1.ec2.archive.ubuntu.com lucid/universe Sources [3,165kB]
Get: 19 http://eu-west-1.ec2.archive.ubuntu.com lucid-updates/main Packages [664kB]
Get: 20 http://eu-west-1.ec2.archive.ubuntu.com lucid-updates/universe Packages [317kB]
Get: 21 http://eu-west-1.ec2.archive.ubuntu.com lucid-updates/main Sources [234kB]
Get: 22 http://eu-west-1.ec2.archive.ubuntu.com lucid-updates/universe Sources [106kB]
Fetched 13.1MB in 11s (1,095kB/s)                                              
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting libxslt1-dev instead of libxslt-dev
The following extra packages will be installed:
  binutils bridge-utils comerr-dev cpp-4.4 dpkg-dev fakeroot g++ g++-4.4 gcc
  gcc-4.4 gcc-4.4-base krb5-multidev libaio1 libasound2 libc-bin libc-dev-bin
  libc6 libc6-dev libdigest-sha1-perl libdirectfb-1.2-0 liberror-perl libflac8
  libgcc1 libgomp1 libgssapi-krb5-2 libgssrpc4 libice6 libk5crypto3
  libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-3 libkrb5-dev
  libkrb5support0 liblzma1 libmysqlclient16 libogg0 libpq5 libpulse0
  libsdl1.2debian libsdl1.2debian-alsa libsm6 libsndfile1 libssl-dev
  libssl0.9.8 libstdc++6 libstdc++6-4.4-dev libsysfs2 libts-0.0-0 libvorbis0a
  libvorbisenc2 libxi6 libxml2 libxslt1-dev libxslt1.1 libxtst6 linux-libc-dev
  manpages-dev mysql-common qemu-common seabios tsconf vgabios vim-common
  vim-runtime vim-tiny x11-common xz-utils zlib1g-dev
Suggested packages:
  binutils-doc doc-base gcc-4.4-locales debian-keyring debian-maintainers
  g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg gcc-multilib
  autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.4-multilib
  libmudflap0-4.4-dev libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0
  libppl-c2 libppl7 wodim cdrkit-doc git-doc git-arch git-cvs git-svn
  git-email git-daemon-run git-gui gitk gitweb krb5-doc libasound2-plugins
  glibc-doc krb5-user postgresql-doc-8.4 pulseaudio sqlite3-doc
  libstdc++6-4.4-doc mol-drivers-macosx openbios-sparc kvm-pxe
  ubuntu-vm-builder uml-utilities ctags vim-doc vim-scripts indent
The following NEW packages will be installed
  binutils bridge-utils build-essential comerr-dev debootstrap dpkg-dev
  fakeroot g++ g++-4.4 gcc gcc-4.4 genisoimage git-core kpartx krb5-multidev
  libaio1 libasound2 libc-dev-bin libc6-dev libdigest-sha1-perl
  libdirectfb-1.2-0 liberror-perl libflac8 libgomp1 libgssrpc4 libice6
  libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-dev liblzma1
  libmysqlclient-dev libmysqlclient16 libogg0 libpq-dev libpq5 libpulse0
  libsdl1.2debian libsdl1.2debian-alsa libsm6 libsndfile1 libsqlite3-dev
  libssl-dev libstdc++6-4.4-dev libsysfs2 libts-0.0-0 libvorbis0a
  libvorbisenc2 libxi6 libxml2-dev libxslt1-dev libxslt1.1 libxtst6
  linux-libc-dev manpages-dev mkpasswd mysql-common qemu-common qemu-kvm
  seabios tmux tsconf vgabios x11-common xz-utils zlib1g-dev
The following packages will be upgraded:
  cpp-4.4 curl gcc-4.4-base libc-bin libc6 libgcc1 libgssapi-krb5-2
  libk5crypto3 libkrb5-3 libkrb5support0 libssl0.9.8 libstdc++6 libxml2 rsync
  vim vim-common vim-runtime vim-tiny
18 upgraded, 66 newly installed, 0 to remove and 105 not upgraded.
Need to get 62.9MB of archives.
After this operation, 130MB of additional disk space will be used.
Get: 1 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main x11-common 1:7.5+5ubuntu1.1 [308kB]
Get: 2 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libc-bin 2.11.1-0ubuntu7.12 [819kB]
Get: 3 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libc6 2.11.1-0ubuntu7.12 [4,391kB]
Get: 4 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main gcc-4.4-base 4.4.3-4ubuntu5.1 [118kB]
Get: 5 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libgcc1 1:4.4.3-4ubuntu5.1 [45.1kB]
Get: 6 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main cpp-4.4 4.4.3-4ubuntu5.1 [4,111kB]
Get: 7 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libstdc++6 4.4.3-4ubuntu5.1 [340kB]
Get: 8 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libssl0.9.8 0.9.8k-7ubuntu8.13 [981kB]
Get: 9 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main vim-tiny 2:7.2.330-1ubuntu3.1 [400kB]
Get: 10 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main vim 2:7.2.330-1ubuntu3.1 [984kB]
Get: 11 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main vim-runtime 2:7.2.330-1ubuntu3.1 [6,104kB]
Get: 12 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main vim-common 2:7.2.330-1ubuntu3.1 [175kB]
Get: 13 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libk5crypto3 1.8.1+dfsg-2ubuntu0.11 [105kB]
Get: 14 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libgssapi-krb5-2 1.8.1+dfsg-2ubuntu0.11 [129kB]
Get: 15 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libkrb5-3 1.8.1+dfsg-2ubuntu0.11 [369kB]
Get: 16 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libkrb5support0 1.8.1+dfsg-2ubuntu0.11 [45.0kB]
Get: 17 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libgssrpc4 1.8.1+dfsg-2ubuntu0.11 [82.4kB]
Get: 18 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libkadm5clnt-mit7 1.8.1+dfsg-2ubuntu0.11 [63.1kB]
Get: 19 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libkdb5-4 1.8.1+dfsg-2ubuntu0.11 [62.6kB]
Get: 20 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libkadm5srv-mit7 1.8.1+dfsg-2ubuntu0.11 [76.6kB]
Get: 21 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libxml2 2.7.6.dfsg-1ubuntu1.7 [874kB]
Get: 22 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main rsync 3.0.7-1ubuntu1.1 [362kB]
Get: 23 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main binutils 2.20.1-3ubuntu7.1 [1,658kB]
Get: 24 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main bridge-utils 1.4-5ubuntu2 [33.9kB]
Get: 25 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libc-dev-bin 2.11.1-0ubuntu7.12 [225kB]
Get: 26 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-libc-dev 2.6.32-45.102 [863kB]
Get: 27 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libc6-dev 2.11.1-0ubuntu7.12 [2,731kB]
Get: 28 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libgomp1 4.4.3-4ubuntu5.1 [25.5kB]
Get: 29 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main gcc-4.4 4.4.3-4ubuntu5.1 [2,877kB]
Get: 30 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main gcc 4:4.4.3-1ubuntu1 [5,064B]
Get: 31 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libstdc++6-4.4-dev 4.4.3-4ubuntu5.1 [1,522kB]
Get: 32 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main g++-4.4 4.4.3-4ubuntu5.1 [5,756kB]
Get: 33 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main g++ 4:4.4.3-1ubuntu1 [1,450B]
Get: 34 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main liblzma1 4.999.9beta+20091116-1 [151kB]
Get: 35 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main xz-utils 4.999.9beta+20091116-1 [233kB]
Get: 36 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main dpkg-dev 1.15.5.6ubuntu4.6 [653kB]
Get: 37 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main build-essential 11.4build1 [7,278B]
Get: 38 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main curl 7.19.7-1ubuntu1.1 [211kB]
Get: 39 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main fakeroot 1.14.4-1ubuntu1 [101kB]
Get: 40 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main genisoimage 9:1.1.10-1ubuntu1 [644kB]
Get: 41 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main liberror-perl 0.17-1 [23.8kB]
Get: 42 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libdigest-sha1-perl 2.12-1build1 [26.7kB]
Get: 43 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main git-core 1:1.7.0.4-1ubuntu0.2 [6,143kB]
Get: 44 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main comerr-dev 2.1-1.41.11-1ubuntu2.1 [42.1kB]
Get: 45 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main krb5-multidev 1.8.1+dfsg-2ubuntu0.11 [103kB]
Get: 46 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libaio1 0.3.107-3ubuntu2 [9,608B]
Get: 47 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libasound2 1.0.22-0ubuntu7 [437kB]
Get: 48 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libsysfs2 2.1.0-6 [23.9kB]
Get: 49 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main tsconf 1.0-7build1 [12.8kB]
Get: 50 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libts-0.0-0 1.0-7build1 [29.1kB]
Get: 51 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libdirectfb-1.2-0 1.2.8-5ubuntu2 [1,191kB]
Get: 52 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libogg0 1.1.4~dfsg-2 [17.3kB]
Get: 53 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libflac8 1.2.1-2build2 [151kB]
Get: 54 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libice6 2:1.0.6-1 [54.3kB]
Get: 55 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-common 5.1.67-0ubuntu0.10.04.1 [76.2kB]
Get: 56 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libmysqlclient16 5.1.67-0ubuntu0.10.04.1 [1,954kB]
Get: 57 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main zlib1g-dev 1:1.2.3.3.dfsg-15ubuntu1 [167kB]
Get: 58 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libmysqlclient-dev 5.1.67-0ubuntu0.10.04.1 [3,194kB]
Get: 59 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libpq5 8.4.15-0ubuntu10.04 [104kB]
Get: 60 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libssl-dev 0.9.8k-7ubuntu8.13 [2,151kB]
Get: 61 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libkrb5-dev 1.8.1+dfsg-2ubuntu0.11 [36.7kB]
Get: 62 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libpq-dev 8.4.15-0ubuntu10.04 [203kB]
Get: 63 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libsm6 2:1.1.1-1 [25.4kB]
Get: 64 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libvorbis0a 1.2.3-3ubuntu1.1 [110kB]
Get: 65 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libvorbisenc2 1.2.3-3ubuntu1.1 [97.7kB]
Get: 66 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libsndfile1 1.0.21-2ubuntu0.10.04.1 [233kB]
Get: 67 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libxi6 2:1.3-3 [56.0kB]
Get: 68 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libxtst6 2:1.1.0-2 [19.9kB]
Get: 69 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libpulse0 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14 [274kB]
Get: 70 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libsdl1.2debian-alsa 1.2.14-4ubuntu1.1 [213kB]
Get: 71 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libsdl1.2debian 1.2.14-4ubuntu1.1 [23.3kB]
Get: 72 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main libsqlite3-dev 3.6.22-1 [396kB]
Get: 73 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libxml2-dev 2.7.6.dfsg-1ubuntu1.7 [832kB]
Get: 74 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libxslt1.1 1.1.26-1ubuntu1.1 [244kB]
Get: 75 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main libxslt1-dev 1.1.26-1ubuntu1.1 [663kB]
Get: 76 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main manpages-dev 3.23-1 [1,547kB]
Get: 77 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe mkpasswd 5.0.0ubuntu3 [17.9kB]
Get: 78 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main seabios 0.5.1-0ubuntu2.2 [48.3kB]
Get: 79 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main vgabios 0.6c-2ubuntu1 [78.5kB]
Get: 80 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main qemu-common 0.12.3+noroms-0ubuntu9.21 [31.6kB]
Get: 81 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main qemu-kvm 0.12.3+noroms-0ubuntu9.21 [2,954kB]
Get: 82 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe tmux 1.1-1 [196kB]
Get: 83 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main debootstrap 1.0.20ubuntu1.4 [54.4kB]
Get: 84 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main kpartx 0.4.8-14ubuntu4.10.04.2 [29.0kB]
Fetched 62.9MB in 10s (5,941kB/s)                                              
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously deselected package x11-common.
(Reading database ... 24337 files and directories currently installed.)
Unpacking x11-common (from .../x11-common_1%3a7.5+5ubuntu1.1_all.deb) ...
Preparing to replace libc-bin 2.11.1-0ubuntu7.8 (using .../libc-bin_2.11.1-0ubuntu7.12_amd64.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up libc-bin (2.11.1-0ubuntu7.12) ...

(Reading database ... 24416 files and directories currently installed.)
Preparing to replace libc6 2.11.1-0ubuntu7.8 (using .../libc6_2.11.1-0ubuntu7.12_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.11.1-0ubuntu7.12) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 24416 files and directories currently installed.)
Preparing to replace gcc-4.4-base 4.4.3-4ubuntu5 (using .../gcc-4.4-base_4.4.3-4ubuntu5.1_amd64.deb) ...
Unpacking replacement gcc-4.4-base ...
Setting up gcc-4.4-base (4.4.3-4ubuntu5.1) ...
(Reading database ... 24416 files and directories currently installed.)
Preparing to replace libgcc1 1:4.4.3-4ubuntu5 (using .../libgcc1_1%3a4.4.3-4ubuntu5.1_amd64.deb) ...
Unpacking replacement libgcc1 ...
Setting up libgcc1 (1:4.4.3-4ubuntu5.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 24416 files and directories currently installed.)
Preparing to replace cpp-4.4 4.4.3-4ubuntu5 (using .../cpp-4.4_4.4.3-4ubuntu5.1_amd64.deb) ...
Unpacking replacement cpp-4.4 ...
Preparing to replace libstdc++6 4.4.3-4ubuntu5 (using .../libstdc++6_4.4.3-4ubuntu5.1_amd64.deb) ...
Unpacking replacement libstdc++6 ...
Processing triggers for man-db ...
Setting up libstdc++6 (4.4.3-4ubuntu5.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 24416 files and directories currently installed.)
Preparing to replace libssl0.9.8 0.9.8k-7ubuntu8.5 (using .../libssl0.9.8_0.9.8k-7ubuntu8.13_amd64.deb) ...
Unpacking replacement libssl0.9.8 ...
Setting up libssl0.9.8 (0.9.8k-7ubuntu8.13) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 24416 files and directories currently installed.)
Preparing to replace vim-tiny 2:7.2.330-1ubuntu3 (using .../vim-tiny_2%3a7.2.330-1ubuntu3.1_amd64.deb) ...
Unpacking replacement vim-tiny ...
Preparing to replace vim 2:7.2.330-1ubuntu3 (using .../vim_2%3a7.2.330-1ubuntu3.1_amd64.deb) ...
Unpacking replacement vim ...
Preparing to replace vim-runtime 2:7.2.330-1ubuntu3 (using .../vim-runtime_2%3a7.2.330-1ubuntu3.1_all.deb) ...
Leaving `diversion of /usr/share/vim/vim72/doc/help.txt to /usr/share/vim/vim72/doc/help.txt.vim-tiny by vim-runtime'
Leaving `diversion of /usr/share/vim/vim72/doc/tags to /usr/share/vim/vim72/doc/tags.vim-tiny by vim-runtime'
Unpacking replacement vim-runtime ...
Preparing to replace vim-common 2:7.2.330-1ubuntu3 (using .../vim-common_2%3a7.2.330-1ubuntu3.1_amd64.deb) ...
Unpacking replacement vim-common ...
Preparing to replace libk5crypto3 1.8.1+dfsg-2ubuntu0.4 (using .../libk5crypto3_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Unpacking replacement libk5crypto3 ...
Preparing to replace libgssapi-krb5-2 1.8.1+dfsg-2ubuntu0.4 (using .../libgssapi-krb5-2_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Unpacking replacement libgssapi-krb5-2 ...
Preparing to replace libkrb5-3 1.8.1+dfsg-2ubuntu0.4 (using .../libkrb5-3_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Unpacking replacement libkrb5-3 ...
Preparing to replace libkrb5support0 1.8.1+dfsg-2ubuntu0.4 (using .../libkrb5support0_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Unpacking replacement libkrb5support0 ...
Selecting previously deselected package libgssrpc4.
Unpacking libgssrpc4 (from .../libgssrpc4_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Selecting previously deselected package libkadm5clnt-mit7.
Unpacking libkadm5clnt-mit7 (from .../libkadm5clnt-mit7_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Selecting previously deselected package libkdb5-4.
Unpacking libkdb5-4 (from .../libkdb5-4_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Selecting previously deselected package libkadm5srv-mit7.
Unpacking libkadm5srv-mit7 (from .../libkadm5srv-mit7_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Preparing to replace libxml2 2.7.6.dfsg-1ubuntu1.1 (using .../libxml2_2.7.6.dfsg-1ubuntu1.7_amd64.deb) ...
Unpacking replacement libxml2 ...
Preparing to replace rsync 3.0.7-1ubuntu1 (using .../rsync_3.0.7-1ubuntu1.1_amd64.deb) ...
Unpacking replacement rsync ...
Selecting previously deselected package binutils.
Unpacking binutils (from .../binutils_2.20.1-3ubuntu7.1_amd64.deb) ...
Selecting previously deselected package bridge-utils.
Unpacking bridge-utils (from .../bridge-utils_1.4-5ubuntu2_amd64.deb) ...
Selecting previously deselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.11.1-0ubuntu7.12_amd64.deb) ...
Selecting previously deselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.32-45.102_amd64.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.11.1-0ubuntu7.12_amd64.deb) ...
Selecting previously deselected package libgomp1.
Unpacking libgomp1 (from .../libgomp1_4.4.3-4ubuntu5.1_amd64.deb) ...
Selecting previously deselected package gcc-4.4.
Unpacking gcc-4.4 (from .../gcc-4.4_4.4.3-4ubuntu5.1_amd64.deb) ...
Selecting previously deselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.4.3-1ubuntu1_amd64.deb) ...
Selecting previously deselected package libstdc++6-4.4-dev.
Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.3-4ubuntu5.1_amd64.deb) ...
Selecting previously deselected package g++-4.4.
Unpacking g++-4.4 (from .../g++-4.4_4.4.3-4ubuntu5.1_amd64.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.4.3-1ubuntu1_amd64.deb) ...
Selecting previously deselected package liblzma1.
Unpacking liblzma1 (from .../liblzma1_4.999.9beta+20091116-1_amd64.deb) ...
Selecting previously deselected package xz-utils.
Unpacking xz-utils (from .../xz-utils_4.999.9beta+20091116-1_amd64.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.15.5.6ubuntu4.6_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.4build1_amd64.deb) ...
Preparing to replace curl 7.19.7-1ubuntu1 (using .../curl_7.19.7-1ubuntu1.1_amd64.deb) ...
Unpacking replacement curl ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.14.4-1ubuntu1_amd64.deb) ...
Selecting previously deselected package genisoimage.
Unpacking genisoimage (from .../genisoimage_9%3a1.1.10-1ubuntu1_amd64.deb) ...
Selecting previously deselected package liberror-perl.
Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
Selecting previously deselected package libdigest-sha1-perl.
Unpacking libdigest-sha1-perl (from .../libdigest-sha1-perl_2.12-1build1_amd64.deb) ...
Selecting previously deselected package git-core.
Unpacking git-core (from .../git-core_1%3a1.7.0.4-1ubuntu0.2_amd64.deb) ...
Selecting previously deselected package comerr-dev.
Unpacking comerr-dev (from .../comerr-dev_2.1-1.41.11-1ubuntu2.1_amd64.deb) ...
Selecting previously deselected package krb5-multidev.
Unpacking krb5-multidev (from .../krb5-multidev_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Selecting previously deselected package libaio1.
Unpacking libaio1 (from .../libaio1_0.3.107-3ubuntu2_amd64.deb) ...
Selecting previously deselected package libasound2.
Unpacking libasound2 (from .../libasound2_1.0.22-0ubuntu7_amd64.deb) ...
Selecting previously deselected package libsysfs2.
Unpacking libsysfs2 (from .../libsysfs2_2.1.0-6_amd64.deb) ...
Selecting previously deselected package tsconf.
Unpacking tsconf (from .../tsconf_1.0-7build1_all.deb) ...
Selecting previously deselected package libts-0.0-0.
Unpacking libts-0.0-0 (from .../libts-0.0-0_1.0-7build1_amd64.deb) ...
Selecting previously deselected package libdirectfb-1.2-0.
Unpacking libdirectfb-1.2-0 (from .../libdirectfb-1.2-0_1.2.8-5ubuntu2_amd64.deb) ...
Selecting previously deselected package libogg0.
Unpacking libogg0 (from .../libogg0_1.1.4~dfsg-2_amd64.deb) ...
Selecting previously deselected package libflac8.
Unpacking libflac8 (from .../libflac8_1.2.1-2build2_amd64.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from .../libice6_2%3a1.0.6-1_amd64.deb) ...
Selecting previously deselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.1.67-0ubuntu0.10.04.1_all.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.67-0ubuntu0.10.04.1_amd64.deb) ...
Selecting previously deselected package zlib1g-dev.
Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.3.dfsg-15ubuntu1_amd64.deb) ...
Selecting previously deselected package libmysqlclient-dev.
Unpacking libmysqlclient-dev (from .../libmysqlclient-dev_5.1.67-0ubuntu0.10.04.1_amd64.deb) ...
Selecting previously deselected package libpq5.
Unpacking libpq5 (from .../libpq5_8.4.15-0ubuntu10.04_amd64.deb) ...
Selecting previously deselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_0.9.8k-7ubuntu8.13_amd64.deb) ...
Selecting previously deselected package libkrb5-dev.
Unpacking libkrb5-dev (from .../libkrb5-dev_1.8.1+dfsg-2ubuntu0.11_amd64.deb) ...
Selecting previously deselected package libpq-dev.
Unpacking libpq-dev (from .../libpq-dev_8.4.15-0ubuntu10.04_amd64.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from .../libsm6_2%3a1.1.1-1_amd64.deb) ...
Selecting previously deselected package libvorbis0a.
Unpacking libvorbis0a (from .../libvorbis0a_1.2.3-3ubuntu1.1_amd64.deb) ...
Selecting previously deselected package libvorbisenc2.
Unpacking libvorbisenc2 (from .../libvorbisenc2_1.2.3-3ubuntu1.1_amd64.deb) ...
Selecting previously deselected package libsndfile1.
Unpacking libsndfile1 (from .../libsndfile1_1.0.21-2ubuntu0.10.04.1_amd64.deb) ...
Selecting previously deselected package libxi6.
Unpacking libxi6 (from .../libxi6_2%3a1.3-3_amd64.deb) ...
Selecting previously deselected package libxtst6.
Unpacking libxtst6 (from .../libxtst6_2%3a1.1.0-2_amd64.deb) ...
Selecting previously deselected package libpulse0.
Unpacking libpulse0 (from .../libpulse0_1%3a0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14_amd64.deb) ...
Selecting previously deselected package libsdl1.2debian-alsa.
Unpacking libsdl1.2debian-alsa (from .../libsdl1.2debian-alsa_1.2.14-4ubuntu1.1_amd64.deb) ...
Selecting previously deselected package libsdl1.2debian.
Unpacking libsdl1.2debian (from .../libsdl1.2debian_1.2.14-4ubuntu1.1_amd64.deb) ...
Selecting previously deselected package libsqlite3-dev.
Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.6.22-1_amd64.deb) ...
Selecting previously deselected package libxml2-dev.
Unpacking libxml2-dev (from .../libxml2-dev_2.7.6.dfsg-1ubuntu1.7_amd64.deb) ...
Selecting previously deselected package libxslt1.1.
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package libxslt1-dev.
Unpacking libxslt1-dev (from .../libxslt1-dev_1.1.26-1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package manpages-dev.
Unpacking manpages-dev (from .../manpages-dev_3.23-1_all.deb) ...
Selecting previously deselected package mkpasswd.
Unpacking mkpasswd (from .../mkpasswd_5.0.0ubuntu3_amd64.deb) ...
Selecting previously deselected package seabios.
Unpacking seabios (from .../seabios_0.5.1-0ubuntu2.2_all.deb) ...
Selecting previously deselected package vgabios.
Unpacking vgabios (from .../vgabios_0.6c-2ubuntu1_all.deb) ...
Selecting previously deselected package qemu-common.
Unpacking qemu-common (from .../qemu-common_0.12.3+noroms-0ubuntu9.21_all.deb) ...
Selecting previously deselected package qemu-kvm.
Unpacking qemu-kvm (from .../qemu-kvm_0.12.3+noroms-0ubuntu9.21_amd64.deb) ...
Selecting previously deselected package tmux.
Unpacking tmux (from .../archives/tmux_1.1-1_amd64.deb) ...
Selecting previously deselected package debootstrap.
Unpacking debootstrap (from .../debootstrap_1.0.20ubuntu1.4_all.deb) ...
Selecting previously deselected package kpartx.
Unpacking kpartx (from .../kpartx_0.4.8-14ubuntu4.10.04.2_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Processing triggers for install-info ...
Setting up x11-common (1:7.5+5ubuntu1.1) ...

Setting up cpp-4.4 (4.4.3-4ubuntu5.1) ...
Setting up vim-common (2:7.2.330-1ubuntu3.1) ...

Setting up vim-tiny (2:7.2.330-1ubuntu3.1) ...

Setting up vim-runtime (2:7.2.330-1ubuntu3.1) ...
Processing /usr/share/vim/addons/doc

Setting up vim (2:7.2.330-1ubuntu3.1) ...

Setting up libkrb5support0 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libk5crypto3 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libkrb5-3 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libgssapi-krb5-2 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libgssrpc4 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libkadm5clnt-mit7 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libkdb5-4 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libkadm5srv-mit7 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libxml2 (2.7.6.dfsg-1ubuntu1.7) ...

Setting up rsync (3.0.7-1ubuntu1.1) ...

Setting up binutils (2.20.1-3ubuntu7.1) ...

Setting up bridge-utils (1.4-5ubuntu2) ...

Setting up libc-dev-bin (2.11.1-0ubuntu7.12) ...
Setting up linux-libc-dev (2.6.32-45.102) ...
Setting up libc6-dev (2.11.1-0ubuntu7.12) ...
Setting up libgomp1 (4.4.3-4ubuntu5.1) ...

Setting up gcc-4.4 (4.4.3-4ubuntu5.1) ...
Setting up gcc (4:4.4.3-1ubuntu1) ...

Setting up liblzma1 (4.999.9beta+20091116-1) ...

Setting up xz-utils (4.999.9beta+20091116-1) ...
Setting up dpkg-dev (1.15.5.6ubuntu4.6) ...
Setting up curl (7.19.7-1ubuntu1.1) ...
Setting up fakeroot (1.14.4-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.

Setting up genisoimage (9:1.1.10-1ubuntu1) ...
Setting up liberror-perl (0.17-1) ...
Setting up libdigest-sha1-perl (2.12-1build1) ...
Setting up git-core (1:1.7.0.4-1ubuntu0.2) ...
Setting up comerr-dev (2.1-1.41.11-1ubuntu2.1) ...
Setting up krb5-multidev (1.8.1+dfsg-2ubuntu0.11) ...
Setting up libaio1 (0.3.107-3ubuntu2) ...

Setting up libasound2 (1.0.22-0ubuntu7) ...

Setting up libsysfs2 (2.1.0-6) ...

Setting up tsconf (1.0-7build1) ...
Setting up libts-0.0-0 (1.0-7build1) ...

Setting up libdirectfb-1.2-0 (1.2.8-5ubuntu2) ...

Setting up libogg0 (1.1.4~dfsg-2) ...

Setting up libflac8 (1.2.1-2build2) ...

Setting up libice6 (2:1.0.6-1) ...

Setting up mysql-common (5.1.67-0ubuntu0.10.04.1) ...
Setting up libmysqlclient16 (5.1.67-0ubuntu0.10.04.1) ...

Setting up zlib1g-dev (1:1.2.3.3.dfsg-15ubuntu1) ...
Setting up libmysqlclient-dev (5.1.67-0ubuntu0.10.04.1) ...

Setting up libpq5 (8.4.15-0ubuntu10.04) ...

Setting up libssl-dev (0.9.8k-7ubuntu8.13) ...
Setting up libkrb5-dev (1.8.1+dfsg-2ubuntu0.11) ...
Setting up libpq-dev (8.4.15-0ubuntu10.04) ...
Setting up libsm6 (2:1.1.1-1) ...

Setting up libvorbis0a (1.2.3-3ubuntu1.1) ...

Setting up libvorbisenc2 (1.2.3-3ubuntu1.1) ...

Setting up libsndfile1 (1.0.21-2ubuntu0.10.04.1) ...

Setting up libxi6 (2:1.3-3) ...

Setting up libxtst6 (2:1.1.0-2) ...

Setting up libpulse0 (1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14) ...

Setting up libsdl1.2debian-alsa (1.2.14-4ubuntu1.1) ...

Setting up libsdl1.2debian (1.2.14-4ubuntu1.1) ...
Setting up libsqlite3-dev (3.6.22-1) ...
Setting up libxml2-dev (2.7.6.dfsg-1ubuntu1.7) ...
Setting up libxslt1.1 (1.1.26-1ubuntu1.1) ...

Setting up libxslt1-dev (1.1.26-1ubuntu1.1) ...
Setting up manpages-dev (3.23-1) ...
Setting up mkpasswd (5.0.0ubuntu3) ...
Setting up seabios (0.5.1-0ubuntu2.2) ...
Setting up vgabios (0.6c-2ubuntu1) ...
Setting up qemu-common (0.12.3+noroms-0ubuntu9.21) ...
Setting up qemu-kvm (0.12.3+noroms-0ubuntu9.21) ...
qemu-kvm start/running

Setting up tmux (1.1-1) ...

Setting up debootstrap (1.0.20ubuntu1.4) ...
Setting up kpartx (0.4.8-14ubuntu4.10.04.2) ...

Setting up libstdc++6-4.4-dev (4.4.3-4ubuntu5.1) ...
Setting up g++-4.4 (4.4.3-4ubuntu5.1) ...
Setting up g++ (4:4.4.3-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.

Setting up build-essential (11.4build1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Successfully installed base packages
installing ruby 1.9.3
uploading /tmp/remote_script_install_ruby_1_9_3 to Inception VM
Adding the Unboxed APT repository...

 Retrieving the PGP keys for the repository...
--2013-01-23 17:17:20--  http://apt.unboxedconsulting.com/release.asc
Resolving apt.unboxedconsulting.com... 217.158.189.124
Connecting to apt.unboxedconsulting.com|217.158.189.124|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4929 (4.8K) [text/plain]
Saving to: `STDOUT'

100%[======================================>] 4,929       --.-K/s   in 0.01s   

2013-01-23 17:17:20 (392 KB/s) - written to stdout [4929/4929]

OK
Resynchronizing the package index files from their sources...
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid Release.gpg
Hit http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_GB
Hit http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_GB
Get: 1 http://apt.unboxedconsulting.com lucid Release.gpg [836B]
Ign http://apt.unboxedconsulting.com/ lucid/main Translation-en_GB
Hit http://security.ubuntu.com lucid-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_GB
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_GB
Hit http://security.ubuntu.com lucid-security Release                
Get: 2 http://apt.unboxedconsulting.com lucid Release [1,584B]
Hit http://security.ubuntu.com lucid-security/main Packages            
Ign http://apt.unboxedconsulting.com lucid/main Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid-updates Release.gpg
Hit http://security.ubuntu.com lucid-security/universe Packages      
Hit http://security.ubuntu.com lucid-security/main Sources           
Hit http://security.ubuntu.com lucid-security/universe Sources       
Ign http://apt.unboxedconsulting.com lucid/main Packages             
Hit http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_GB
Hit http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_GB
Get: 3 http://apt.unboxedconsulting.com lucid/main Packages [5,017B]
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid Release
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid-updates Release
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid/main Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid/universe Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid/main Sources
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid/universe Sources
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid-updates/main Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid-updates/universe Packages
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid-updates/main Sources
Hit http://eu-west-1.ec2.archive.ubuntu.com lucid-updates/universe Sources
Fetched 7,437B in 0s (29.4kB/s)
Reading package lists... Done
Installing Ruby 1.9.3...

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  ubxd-ruby1.9.3
0 upgraded, 1 newly installed, 0 to remove and 105 not upgraded.
Need to get 5,283kB of archives.
After this operation, 17.7MB of additional disk space will be used.
Get: 1 http://apt.unboxedconsulting.com/ lucid/main ubxd-ruby1.9.3 1.9.3+p125-1lucid1 [5,283kB]
Fetched 5,283kB in 11s (460kB/s)                                               
Selecting previously deselected package ubxd-ruby1.9.3.
(Reading database ... 31321 files and directories currently installed.)
Unpacking ubxd-ruby1.9.3 (from .../ubxd-ruby1.9.3_1.9.3+p125-1lucid1_amd64.deb) ...
Processing triggers for man-db ...
Setting up ubxd-ruby1.9.3 (1.9.3+p125-1lucid1) ...
Upgrading to latest Rubygems...
Updating rubygems-update
Fetching: rubygems-update-1.8.24.gem (100%)
Successfully installed rubygems-update-1.8.24
Installing RubyGems 1.8.24
RubyGems 1.8.24 installed

== 1.8.24 / 2012-04-27

* 1 bug fix:

  * Install the .pem files properly. Fixes #320
  * Remove OpenSSL dependency from the http code path


------------------------------------------------------------------------------

RubyGems installed the following executables:
    /usr/local/bin/gem

RubyGems system software updated
Successfully installed ruby 1.9.3
installing useful ruby gems
uploading /tmp/remote_script_install_useful_ruby_gems to Inception VM
Fetching: bundler-1.2.3.gem (100%)
Successfully installed bundler-1.2.3
1 gem installed
gem rake already installed
Successfully installed useful ruby gems
installing bosh
uploading /tmp/remote_script_install_bosh to Inception VM
Fetching: bosh_common-0.5.4.gem (100%)
Fetching: json_pure-1.6.7.gem (100%)
Fetching: highline-1.6.15.gem (100%)
Fetching: progressbar-0.9.2.gem (100%)
Fetching: httpclient-2.2.4.gem (100%)
Fetching: terminal-table-1.4.5.gem (100%)
Fetching: xml-simple-1.1.2.gem (100%)
Fetching: builder-3.1.4.gem (100%)
Fetching: mime-types-1.19.gem (100%)
Fetching: aws-s3-0.6.3.gem (100%)
Fetching: multi_json-1.1.0.gem (100%)
Fetching: log4r-1.1.10.gem (100%)
Fetching: ruby-hmac-0.4.0.gem (100%)
Fetching: ruby-atmos-pure-1.0.5.gem (100%)
Fetching: uuidtools-2.1.3.gem (100%)
Fetching: blobstore_client-0.4.0.gem (100%)
Fetching: net-ssh-2.2.2.gem (100%)
Fetching: net-ssh-gateway-1.1.0.gem (100%)
Fetching: net-scp-1.0.4.gem (100%)
Fetching: netaddr-1.5.0.gem (100%)
Fetching: bosh_cli-1.0.3.gem (100%)
Successfully installed bosh_common-0.5.4
Successfully installed json_pure-1.6.7
Successfully installed highline-1.6.15
Successfully installed progressbar-0.9.2
Successfully installed httpclient-2.2.4
Successfully installed terminal-table-1.4.5
Successfully installed xml-simple-1.1.2
Successfully installed builder-3.1.4
Successfully installed mime-types-1.19
Successfully installed aws-s3-0.6.3
Successfully installed multi_json-1.1.0
Successfully installed log4r-1.1.10
Successfully installed ruby-hmac-0.4.0
Successfully installed ruby-atmos-pure-1.0.5
Successfully installed uuidtools-2.1.3
Successfully installed blobstore_client-0.4.0
Successfully installed net-ssh-2.2.2
Successfully installed net-ssh-gateway-1.1.0
Successfully installed net-scp-1.0.4
Successfully installed netaddr-1.5.0
Successfully installed bosh_cli-1.0.3
21 gems installed
Fetching: bosh_cpi-0.5.1.gem (100%)
Fetching: rest-client-1.6.7.gem (100%)
Fetching: nokogiri-1.5.6.gem (100%)
Building native extensions.  This could take a while...
Fetching: ruby_vcloud_sdk-0.4.8.gem (100%)
Fetching: yajl-ruby-1.1.0.gem (100%)
Building native extensions.  This could take a while...
Fetching: bosh_vcloud_cpi-0.4.9.gem (100%)
Fetching: membrane-0.0.2.gem (100%)
Fetching: ruby_vim_sdk-0.0.3.gem (100%)
Fetching: sequel-3.43.0.gem (100%)
Fetching: bosh_vsphere_cpi-0.6.0.gem (100%)
Fetching: multi_xml-0.5.2.gem (100%)
Fetching: httparty-0.10.0.gem (100%)
When you HTTParty, you must party hard!
Fetching: aws-sdk-1.6.9.gem (100%)
Fetching: bosh_aws_cpi-0.7.0.gem (100%)
Fetching: rack-1.5.0.gem (100%)
Fetching: rack-protection-1.3.2.gem (100%)
Fetching: tilt-1.3.3.gem (100%)
Fetching: sinatra-1.3.3.gem (100%)
Fetching: eventmachine-1.0.0.gem (100%)
Building native extensions.  This could take a while...
Fetching: daemons-1.1.9.gem (100%)
Fetching: thin-1.5.0.gem (100%)
Building native extensions.  This could take a while...
Fetching: bosh_aws_registry-0.2.3.gem (100%)
Fetching: excon-0.16.10.gem (100%)
Fetching: formatador-0.2.4.gem (100%)
Fetching: fog-1.9.0.gem (100%)
Fetching: bosh_openstack_cpi-0.0.6.gem (100%)
Fetching: bosh_openstack_registry-0.0.5.gem (100%)
Fetching: agent_client-0.1.1.gem (100%)
Fetching: sqlite3-1.3.7.gem (100%)
Building native extensions.  This could take a while...
Fetching: bosh_deployer-1.4.0.gem (100%)
Successfully installed bosh_cpi-0.5.1
Successfully installed rest-client-1.6.7
Successfully installed nokogiri-1.5.6
Successfully installed ruby_vcloud_sdk-0.4.8
Successfully installed yajl-ruby-1.1.0
Successfully installed bosh_vcloud_cpi-0.4.9
Successfully installed membrane-0.0.2
Successfully installed ruby_vim_sdk-0.0.3
Successfully installed sequel-3.43.0
Successfully installed bosh_vsphere_cpi-0.6.0
Successfully installed multi_xml-0.5.2
Successfully installed httparty-0.10.0
Successfully installed aws-sdk-1.6.9
Successfully installed bosh_aws_cpi-0.7.0
Successfully installed rack-1.5.0
Successfully installed rack-protection-1.3.2
Successfully installed tilt-1.3.3
Successfully installed sinatra-1.3.3
Successfully installed eventmachine-1.0.0
Successfully installed daemons-1.1.9
Successfully installed thin-1.5.0
Successfully installed bosh_aws_registry-0.2.3
Successfully installed excon-0.16.10
Successfully installed formatador-0.2.4
Successfully installed fog-1.9.0
Successfully installed bosh_openstack_cpi-0.0.6
Successfully installed bosh_openstack_registry-0.0.5
Successfully installed agent_client-0.1.1
Successfully installed sqlite3-1.3.7
Successfully installed bosh_deployer-1.4.0
30 gems installed
Symlinking the expected stemcell creation folder into mounted volume...
Successfully installed bosh
captures value of salted password
uploading /tmp/remote_script_capture_value_salted_password to Inception VM
$6$pkMvca4mqy$M1dgK6eeoJwoKECJlgTFWWn8xNGogJICu4Jgn5bieSAXfAuSwsDWLunWk4folDX45IBQqYixeehgWs7J7WcPv1
Successfully captured value of salted password
validating bosh deployer
uploading /tmp/remote_script_validate_bosh_deployer to Inception VM
Testing for 'bosh micro deploy' command...
Successfully installed bosh deployer (bosh micro deploy)
Successfully validated bosh deployer

Stage 5: Deploying micro BOSH

downloading micro-bosh stemcell
uploading /tmp/remote_script_download_micro_bosh_stemcell to Inception VM
Downloading public stemcell micro-bosh-stemcell-aws-0.7.0.tgz
micro-bosh-st: 100% |oooooooooooooooooooooooo| 452.7MB   3.9MB/s Time: 00:01:56
Download complete
Successfully downloaded micro-bosh stemcell
uploading file
uploading /var/vcap/store/microboshes/deployments/microbosh-aws-eu-west-1/micro_bosh.yml to Inception VM
Successfully uploaded file
installing key pair for user
uploading /tmp/remote_script_install_key_pair_for_user to Inception VM
Successfully installed key pair for user
deploy micro bosh
uploading /tmp/remote_script_deploy_micro_bosh to Inception VM
WARNING! Your target has been changed to `http://microbosh-aws-eu-west-1:25555'!
Deployment set to '/var/vcap/store/microboshes/deployments/microbosh-aws-eu-west-1/micro_bosh.yml'
Downloaded stemcell path /var/vcap/store/stemcells/micro-bosh-stemcell-aws-0.7.0.tgz
Performing initial deploy of micro BOSH microbosh-aws-eu-west-1

Verifying stemcell...
File exists and readable                                     OK
Manifest not found in cache, verifying tarball...
Extract tarball                                              OK
Manifest exists                                              OK
Stemcell image file                                          OK
Writing manifest to cache...
Stemcell properties                                          OK

Stemcell info
-------------
Name:    micro-bosh-stemcell
Version: 0.7.0


Deploy Micro BOSH
  unpacking stemcell (00:00:13)                                                 
  uploading stemcell (00:13:20)                                                 
Creating VM from...          |ooo                | 2/11 00:13:34  ETA: 01:01:03/usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/core/client.rb:318:in `return_or_raise': Invalid availability zone: [us-east-1a] (AWS::EC2::Errors::InvalidParameterValue)
    from /usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/core/client.rb:419:in `client_request'
    from (eval):3:in `run_instances'
    from /usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/ec2/instance_collection.rb:265:in `create'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:119:in `block in create_vm'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_common-0.5.4/lib/common/thread_formatter.rb:46:in `with_thread_name'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:91:in `create_vm'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:224:in `create_vm'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:134:in `block in create'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:84:in `step'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:133:in `create'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:104:in `block in create_deployment'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:97:in `with_lifecycle'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:103:in `create_deployment'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/bosh/cli/commands/micro.rb:171:in `perform'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/lib/cli/command_handler.rb:57:in `run'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/lib/cli/runner.rb:61:in `run'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/lib/cli/runner.rb:18:in `run'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/bin/bosh:16:in `<top (required)>'
    from /usr/local/bin/bosh:23:in `load'
    from /usr/local/bin/bosh:23:in `<main>'
       error  deploy micro bosh

Remove fog warnings

  [WARN] Fog::AWS::Compute::Server => #ip_address is deprecated, use #public_ip_address instead (/Users/chanezonp/.rvm/gems/ruby-1.9.2-p290/gems/fog-0.8.2/lib/fog/compute/models/aws/server.rb:9:in `<class:Server>')

~vcap/.bosh_config root:root instead of vcap:vcap

Root cause seems to be:

cleanup permissions
uploading /tmp/remote_script_cleanup_permissions to Inception VM
chown: cannot access `/home/vcap/.gem': No such file or directory
Successfully cleanup permissions
  • add set -e so it fails if anything fails
  • what caused the error?

Allow user to ignore AZs that are not available to them

Commit: 2a18420
Deployment Command: bundle exec bin/bosh-bootstrap deploy --latest-stemcell --edge-deployer

deploy micro bosh
uploading /tmp/remote_script_deploy_micro_bosh to Inception VM
WARNING! Your target has been changed to `http://microbosh-aws-us-east-1:25555'!
Deployment set to '/var/vcap/store/microboshes/deployments/microbosh-aws-us-east-1/micro_bosh.yml'
Downloaded stemcell path /var/vcap/store/stemcells/micro-bosh-stemcell-aws-0.7.0.tgz
Performing initial deploy of micro BOSH microbosh-aws-us-east-1

Verifying stemcell...
File exists and readable                                     OK
Manifest not found in cache, verifying tarball...
Extract tarball                                              OK
Manifest exists                                              OK
Stemcell image file                                          OK
Writing manifest to cache...
Stemcell properties                                          OK

Stemcell info
-------------
Name:    micro-bosh-stemcell
Version: 0.7.0


Deploy Micro BOSH
  unpacking stemcell (00:00:13)                                                 
  uploading stemcell (00:15:21)                                                 
                             |ooo                | 2/11 00:15:35  ETA: 01:10:07/usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/core/client.rb:318:in `return_or_raise': The requested Availability Zone is currently constrained and we are no longer accepting new customer requests for t1/m1/c1/m2 instance types. Please retry your request by not specifying an Availability Zone or choosing us-east-1c, us-east-1d, us-east-1e. (AWS::EC2::Errors::Unsupported)
    from /usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/core/client.rb:419:in `client_request'
    from (eval):3:in `run_instances'
    from /usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/ec2/instance_collection.rb:265:in `create'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:119:in `block in create_vm'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_common-0.5.5/lib/common/thread_formatter.rb:46:in `with_thread_name'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:91:in `create_vm'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:224:in `create_vm'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:134:in `block in create'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:84:in `step'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:133:in `create'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:104:in `block in create_deployment'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:97:in `with_lifecycle'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:103:in `create_deployment'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/bosh/cli/commands/micro.rb:171:in `perform'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.4/lib/cli/command_handler.rb:57:in `run'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.4/lib/cli/runner.rb:58:in `run'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.4/lib/cli/runner.rb:18:in `run'
    from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.4/bin/bosh:16:in `<top (required)>'
    from /usr/local/bin/bosh:23:in `load'
    from /usr/local/bin/bosh:23:in `<main>'
       error  deploy micro bosh
Failed to complete Stage 5: Deploying micro BOSH

Deloyment fails at step 5

Where can I find logs of what went wrong?

Stage 5: Deploying micro BOSH

downloading micro-bosh stemcell
uploading /tmp/remote_script_download_micro_bosh_stemcell to Inception VM
Successfully downloaded micro-bosh stemcell
uploading file
uploading /var/vcap/store/microboshes/deployments/microbosh-aws-us-east-1/micro_bosh.yml to Inception VM
Successfully uploaded file
installing key pair for user
uploading /tmp/remote_script_install_key_pair_for_user to Inception VM
Successfully installed key pair for user
deploy micro bosh
uploading /tmp/remote_script_deploy_micro_bosh to Inception VM
error deploy micro bosh
Failed to complete Stage 5: Deploying micro BOSH

salted password not being created

hey all,
when I use the bootstrap, got an error. response show that "Security group id should be integer".

root@bosh-cli:~# bosh-bootstrap deploy --latest-stemcell

Stage 1: Choose infrastructure

Confirming: Using infrastructure provider OpenStack

Confirming: No specific region/data center for OpenStack


Stage 2: BOSH configuration

Confirming: Micro BOSH will be named microbosh-openstack

Confirming: After BOSH is created, your username will be admin

Confirming: Micro BOSH will be assigned IP address xxxxx

/usr/local/rvm/gems/ruby-1.9.3-p374/gems/excon-0.16.10/lib/excon/connection.rb:292:in `request_kernel': Expected([200]) <=> Actual(400 Bad Request) (Excon::Errors::BadRequest)
  request => {:chunk_size=>1048576, :connect_timeout=>60, :headers=>{"User-Agent"=>"fog/1.8.0", "Content-Type"=>"application/json", "Accept"=>"application/json", "X-Auth-Token"=>"3b08f4d83f1548bc8cedc097c75593c1", "Host"=>"1xxx.150:8774"}, :instrumentor_name=>"excon", :mock=>false, :nonblock=>true, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/usr/local/rvm/gems/ruby-1.9.3-p374/gems/excon-0.16.10/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"xxx.150", :host_port=>"xxx.150:8774", :path=>"/v2/69816bacecd749f9ba1d68b3c8bae1f1/os-security-groups/microbosh-openstack", :port=>"8774", :query=>"ignore_awful_caching1359521491", :scheme=>"http", :expects=>[200], :method=>"GET"}
  response => #<Excon::Response:0x00000000f0fed8 @body="{\"badRequest\": {\"message\": \"Security group id should be integer\", \"code\": 400}}", @headers={"Content-Length"=>"79", "Content-Type"=>"application/json; charset=UTF-8", "X-Compute-Request-Id"=>"req-23d9dde1-e078-401e-98f8-fdc26e6b46a1", "Date"=>"Wed, 30 Jan 2013 04:51:34 GMT"}, @status=400>
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/excon-0.16.10/lib/excon/connection.rb:103:in `request'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/fog-1.8.0/lib/fog/core/connection.rb:21:in `request'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/fog-1.8.0/lib/fog/openstack/compute.rb:303:in `request'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/fog-1.8.0/lib/fog/openstack/requests/compute/get_security_group.rb:10:in `get_security_group'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/fog-1.8.0/lib/fog/openstack/models/compute/security_groups.rb:18:in `get'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bosh-bootstrap-0.5.0/lib/bosh/providers/openstack.rb:18:in `create_security_group'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bosh-bootstrap-0.5.0/lib/bosh-bootstrap/cli.rb:567:in `create_security_group'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bosh-bootstrap-0.5.0/lib/bosh-bootstrap/cli.rb:126:in `deploy_stage_2_bosh_configuration'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bosh-bootstrap-0.5.0/lib/bosh-bootstrap/cli.rb:34:in `deploy'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/thor-0.17.0/lib/thor/task.rb:27:in `run'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/thor-0.17.0/lib/thor/invocation.rb:120:in `invoke_task'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/thor-0.17.0/lib/thor.rb:344:in `dispatch'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/thor-0.17.0/lib/thor/base.rb:434:in `start'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bosh-bootstrap-0.5.0/bin/bosh-bootstrap:8:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/bin/bosh-bootstrap:19:in `load'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/bin/bosh-bootstrap:19:in `<main>'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `eval'
    from /usr/local/rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `<main>'

Agent not coming up on Openstack

Micro bosh deploy hangs on

Waiting for the agent

This happens because the vm does not boot.
When looking at the vm trough the vnc console the following message is shown

Booting from Hard Disk…
Boot failed: not a bootable disk

When inspecting the uploaded stemcell the properties are formatted wrong

Fog::Image.new(provider: :openstack).images.first.properties
# result {"\#{key}"=>"0.7.0"}

The kernel_id and ramdisk_id are not set. This is why the stemcell is not bootable.
This problem can be tranced back to:
https://github.com/fog/fog/blob/master/lib/fog/openstack/requests/image/create_image.rb#L30

Failed to complete Stage 4: Preparing the Inception VM -- Validating BOSH Deployer

With commit: 2a18420
Deploy command: bundle exec bin/bosh-bootstrap deploy --latest-stemcell

ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: bosh_deployer requires bosh_vcloud_cpi (~> 0.4.9)
Successfully installed bosh
captures value of salted password
uploading /tmp/remote_script_capture_value_salted_password to Inception VM
[...snip...]
Successfully captured value of salted password
validating bosh deployer
uploading /tmp/remote_script_validate_bosh_deployer to Inception VM
Testing for 'bosh micro deploy' command...
Failed to install 'bosh micro deploy'. Please investigate issue and report root cause so we can fix it.
Output of 'bosh --no-color help micro':

       error  validating bosh deployer
Failed to complete Stage 4: Preparing the Inception VM

I was able to get further in the install by running with --edge-deployer

Support multiple regions

Currently the app drops a single ~/.bosh-bootstrap/manifest.yml for a single inception VM (one per region) and single BOSH.

To support multiple regions:

  • need an inception VM in each region
  • need 1+ BOSH deployed from each region's inception VM

Cannot install bosh_vcloud_cpi ~> 0.4.9

During bosh install there is a gem dependency issue.
It is related to the bosh_vcloud_cpi gem version 0.4.9 not being released yet.
I would be nice if the version of the bosh_cli and bosh_deployer cloud be specified.

ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: bosh_deployer requires bosh_vcloud_cpi (~> 0.4.9)

Connection refused while uploading stemcell on openstack

While uploading the stemcell on openstack a connection refused is raised.

Uploading stemcell |o | 1/11 00:00:42 ETA: 00:00:29/usr/local/lib/ruby/gems/1.9.1/gems/excon-0.16.10/lib/excon/socket.rb:55:in `connect_nonblock': Connection refused - connect(2) (Errno::ECONNREFUSED) (Excon::Errors::SocketError)

I could trace this problem back to:
https://github.com/piston/openstack-bosh-cpi/blob/master/lib/cloud/openstack/cloud.rb#L45
the cpi does not uses the :openstack_endpoint_type:
Which defaults to adminURL which is not correct in my environment
https://github.com/fog/fog/blob/master/lib/fog/openstack/image.rb#L115

I think this problem should be fixed in the openstack-bosh-cpi but maybe the openstack_endpoint_type should be passed on two by the bosh-bootstrap gem

prompted to manually delete existing security group

When I re-ran bosh-bootstrap deploy after a previous failed attempt, I got the following prompt.

An improvement here might be to allow reuse of the security group?


Shanes-MacBook-Pro:~ shane$ bosh-bootstrap deploy

Stage 1: Choose infrastructure

Found infrastructure API credentials at /Users/shane/.fog (override with --fog)

  1. AWS (default)
  2. Alternate credentials
    Choose infrastructure: 1
    Confirming: Using infrastructure provider AWS
  3. ap-northeast-1
  4. ap-southeast-1
  5. eu-west-1
  6. sa-east-1
  7. us-east-1
  8. us-west-1
  9. us-west-2
    Choose AWS region: 5
    Confirming: Using AWS region us-east-1

Stage 2: BOSH configuration

Useful name for Micro BOSH? |microbosh-aws-us-east-1|
Confirming: Micro BOSH will be named microbosh-aws-us-east-1

Please enter a user/password for the BOSH that will be created.
BOSH username: shane
BOSH password: xxxxx
Confirming: After BOSH is created, your username will be shane

Defaulting to 16Gb persistent disk for BOSH
Acquiring IP address for micro BOSH...
Confirming: Micro BOSH will be assigned IP address 174.129.41.115

AWS security group 'microbosh-aws-us-east-1' already exists. Rename BOSH or delete old security group manually and re-run CLI.

"snapshot in use" error during deploying micro BOSH from inception VM

raised by @jbayer

Deploy Micro BOSH
unpacking stemcell (00:00:14)

uploading stemcell (00:12:29)

Delete stemcell |ooo | 2/11 00:12:45 ETA: 00:57:19/usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/core/client.rb:318:in return_or_raise': The snapshot snap-2a38ed6b is currently in use by ami-e9039680 (AWS::EC2::Errors::InvalidSnapshot::InUse)
from /usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/core/client.rb:419:inclient_request'
from (eval):3:in delete_snapshot'
from /usr/local/lib/ruby/gems/1.9.1/gems/aws-sdk-1.6.9/lib/aws/ec2/snapshot.rb:97:indelete'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:385:in block (2 levels) in delete_stemcell'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:382:ineach'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:382:in block in delete_stemcell'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_common-0.5.4/lib/common/thread_formatter.rb:46:inwith_thread_name'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_aws_cpi-0.7.0/lib/cloud/aws/cloud.rb:368:in delete_stemcell'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:426:inblock in delete_stemcell'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:84:in step'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:425:indelete_stemcell'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:140:in rescue in create'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:132:increate'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:104:in block in create_deployment'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:97:inwith_lifecycle'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:103:in create_deployment'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/bosh/cli/commands/micro.rb:171:inperform'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/lib/cli/command_handler.rb:57:in run'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/lib/cli/runner.rb:61:inrun'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/lib/cli/runner.rb:18:in run'
from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_cli-1.0.3/bin/bosh:16:in'
from /usr/local/bin/bosh:23:in load'
from /usr/local/bin/bosh:23:in'
error deploy micro bosh
Failed to complete Stage 5: Deploying micro BOSH

bosh-bootstrap deploy --latest-stemcell fails with: Unable to resolve dependencies: aws-sdk requires httparty (~> 0.7)

This morning creation of a new inception VM seems to be failing at the gem install bosh_deployer stage.

Manually installing bosh_deployer v1.4.0 -> sudo gem install --version '=1.4.0' bosh_deployer --no-rdoc -no-ri seems to fix the issue.

Below a more complete error log:

$ bundle exec bosh-bootstrap deploy --latest-stemcell
...snip...
Successfully installed useful ruby gems
installing bosh
uploading /tmp/remote_script_install_bosh to Inception VM
gem bosh_cli already installed
ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: aws-sdk requires httparty (~> 0.7)
Successfully installed bosh
captures value of salted password
uploading /tmp/remote_script_capture_value_salted_password to Inception VM
$6$QpoYM6n7$LTXVLjNkVsv4q/ySIkY1STRuqL28oGWSo87SB71O/ghEe30vQhS3HH59itqhIRk2CBvuJ/I3apr43gKMfXSqM1
Successfully captured value of salted password
validating bosh deployer
uploading /tmp/remote_script_validate_bosh_deployer to Inception VM
Testing for 'bosh micro deploy' command...
Failed to install 'bosh micro deploy'. Please investigate issue and report root cause so we can fix it.
Output of 'bosh --no-color help micro':

       error  validating bosh deployer
Failed to complete Stage 4: Preparing the Inception VM

vcap@ip-10-244-31-91:~$ sudo gem install bosh_deployer --no-rdoc -no-ri
ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: aws-sdk requires httparty (~> 0.7)

$ sudo gem install --version '=1.4.0' bosh_deployer --no-rdoc -no-ri
$ sudo gem install bosh_aws_registry --no-ri --no-rdoc

$ rm -rf /var/vcap/store/microboshes/deployments/bosh-deployments.yml

Restarting $ bundle exec bosh-bootstrap deploy --latest-stemcell works after these manual step

need better "to update or create" test

If deploy has already been run, but it didn't create an instance successfully, the bosh-deployment.yml may mention the deployment name, but show there is no instance. Please test correctly.

# $ cat bosh-deployments.yml 
--- 
instances: 
- :id: 1
  :name: microbosh-aws-us-east-1
  :uuid: bm-00e444e1-eb3b-432b-ac37-00e2b755ef8d
  :stemcell_cid: 
  :stemcell_name: 
  :vm_cid: 
  :disk_cid: 
disks: []

aws_instances: []

change deploy --git & deploy --custom flags to be more verbose and meaningful

deploy --git means that the BOSH CLI & BOSH Deployer (bosh micro deploy) gems are built from latest bosh source, instead of just from latest rubygems.

deploy --custom means that the MicroBOSH is built from a custom stemcell, which is created from the latest bosh source (agent subproject).

Perhaps change these flags to --edge-gems & --edge-stemcell

net-ssh gem version conflict

I got the following but was able to get around it by uninstalling net-ssh-2.5.2 in favor of net-ssh-2.2.2.

When I initially ran bosh-bootstrap I didn't get this exception so I'm guessing the newer version was installed when I was working with latest source of bosh.

Shanes-MacBook-Pro:~ shane$ bosh-bootstrap deploy
/Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1637:in raise_if_conflicts': Unable to activate bosh_cli-1.0.3, because net-ssh-2.5.2 conflicts with net-ssh (~> 2.2.1) (Gem::LoadError) from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:746:inactivate'
from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:51:in block in require' from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:50:ineach'
from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:50:in require' from /Users/shane/.rvm/gems/ruby-1.9.3-p194/gems/bosh-bootstrap-0.0.1/lib/bosh-bootstrap/stages/stage_micro_bosh_deploy.rb:1:in<top (required)>'
from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in require' from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:inrequire'
from /Users/shane/.rvm/gems/ruby-1.9.3-p194/gems/bosh-bootstrap-0.0.1/lib/bosh-bootstrap/stages.rb:6:in <top (required)>' from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:inrequire'
from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in require' from /Users/shane/.rvm/gems/ruby-1.9.3-p194/gems/bosh-bootstrap-0.0.1/lib/bosh-bootstrap.rb:8:in<top (required)>'
from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in require' from /Users/shane/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:inrequire'
from /Users/shane/.rvm/gems/ruby-1.9.3-p194/gems/bosh-bootstrap-0.0.1/bin/bosh-bootstrap:5:in <top (required)>' from /Users/shane/.rvm/gems/ruby-1.9.3-p194/bin/bosh-bootstrap:19:inload'
from /Users/shane/.rvm/gems/ruby-1.9.3-p194/bin/bosh-bootstrap:19:in <main>' from /Users/shane/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:ineval'
from /Users/shane/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `

'

passphrase-less local ssh keys only

If the local ~/.ssh/id_dsa private key has a passphrase then fog.bootstrap gets cranky.

Possible solution - generate a new unique bosh-bootstrap ssh key; and an appropriate entry in ~/.ssh/config for sshing into the inception VM.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.