Hello,
I'm trying to install BOSH on AWS. I'm using Dr Nic`s tutorial:
https://github.com/drnic/bosh-getting-started/blob/master/creating-a-bosh-from-scratch.md
When I run "ruby ../chef_deployer/bin/chef_deployer deploy ~/.microbosh" I
get the following error:
% ruby ../chef_deployer/bin/chef_deployer deploy ~/.microbosh
config reading cloud configuration config.yml
metadata generating cookbook metadata
config reading deploy configuration
config reading repo configuration
syncing syncing bosh
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of
known hosts.
repos checking which repos need to be uploaded
==> DIRECTLY CONNECTING TO ec2-XXX-XX-XX-XXX.eu-west-1.compute.amazonaws.com
repos uploading bosh to
ec2-XXX-XX-XX-XXX.eu-west-1.compute.amazonaws.com
==> EXECUTING SSH LOGIN git push -q
ssh://ubuntu@ec2-XXX-XX-XX-XXX.eu-west-1.compute.amazonaws.com:22/var/vcap/deploy/repos/bosh
master
Warning: Permanently added
'ec2-XXX-XX-XX-XXX.eu-west-1.compute.amazonaws.com,XXX.XX.XX.XXX' (RSA) to
the list of known hosts.
/home/tomas/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/expect.rb:24:in
`eof?': Input/output error - /dev/pts/2 (Errno::EIO)
from
/home/tomas/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/expect.rb:24:in
`expect'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:136:in
`block in answer_ssh'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:135:in
`spawn'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:135:in
`answer_ssh'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:163:in
`block in update_remote_repo'
from
/home/tomas/.rvm/gems/ruby-1.9.2-p180@bosh/gems/thor-0.14.6/lib/thor/actions.rb:178:in
`block in inside'
from
/home/tomas/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:121:in
`chdir'
from
/home/tomas/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:121:in
`cd'
from
/home/tomas/.rvm/gems/ruby-1.9.2-p180@bosh/gems/thor-0.14.6/lib/thor/actions.rb:178:in
`inside'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:161:in
`update_remote_repo'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:409:in
`block (5 levels) in deploy'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:276:in
`connect'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:408:in
`block (4 levels) in deploy'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:405:in `each'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:405:in
`block (3 levels) in deploy'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:230:in
`prepare_connection_for'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:404:in
`block (2 levels) in deploy'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:401:in `each'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:401:in
`block in deploy'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:400:in `each'
from
/home/tomas/.microbosh/bosh/chef_deployer/lib/chef_deployer.rb:400:in
`deploy'
from
/home/tomas/.rvm/gems/ruby-1.9.2-p180@bosh/gems/thor-0.14.6/lib/thor/task.rb:22:in
`run'
from
/home/tomas/.rvm/gems/ruby-1.9.2-p180@bosh/gems/thor-0.14.6/lib/thor/invocation.rb:118:in
`invoke_task'
from
/home/tomas/.rvm/gems/ruby-1.9.2-p180@bosh/gems/thor-0.14.6/lib/thor.rb:263:in
`dispatch'
from
/home/tomas/.rvm/gems/ruby-1.9.2-p180@bosh/gems/thor-0.14.6/lib/thor/base.rb:389:in
`start'
from ../chef_deployer/bin/chef_deployer:16:in `<main>'
I can ssh into the instance without problems and I also get the same error
when I try to deploy it from another ec2 instance.
Is there something I might be doing wrong? Should I use some other version
of ruby? (I have 1.9.2p180 installed with RVM).
Or maybe there is some other way to install BOSH? My goal is to deploy
Cloud Foundry on AWS.
Thanks,
Tomas