I tried to install dspace vargrant from git hub on my mac:

git clone https://github.com/DSpace/vagrant-dspace.git
cd vagrant-dspace
vagrant up

Even after vagrant destroy and vagrant up I get errors, see the attached the first trace. After trying this several times I guess that all problems start with vagrant complaining:

stdin: is not a tty

and the later on

Error: ssh -T -oStrictHostKeyChecking=no g...@github.com returned 255 instead of one of [1]

I'd appreciate any tips

Monika



Script started on Mon May 26 14:30:49 2014
> vagrant up

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'dspace-precise64'...

Progress: 40%
Progress: 50%
Progress: 60%
Progress: 70%
Progress: 80%
Progress: 90%
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: dspace-dev
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 8080 => 8080 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Error: Connection timeout. Retrying...
    default: Error: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...


==> default: Running provisioner: shell...
    default: Running: inline script
stdin: is not a tty
==> default: Running provisioner: shell...
    default: Running: inline script
stdin: is not a tty
==> default: Running provisioner: shell...
    default: Running: inline script
stdin: is not a tty
==> default: Running provisioner: shell...
    default: Running: inline script
stdin: is not a tty
   > > > running apt-spy-2-bootstrap.sh, do not worry if it shows an 
error, it will be OK, there is a fallback.
==> default: Running provisioner: shell...
    default: Running: 
/var/folders/5f/b4llncs10ng4wj5qnbqy2bqw0000gn/T/vagrant-shell20140526-2388-1m7rcq6
stdin: is not a tty
Initial apt-get update...
Installing 'apt-spy2'. This tool lets us autoconfigure your 'apt' 
sources.list to a nearby location.
  This may take a while...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
... Setting 'apt' sources.list for closest mirror to country=US
The closest mirror is: 
http://mirror.us.leaseweb.net/ubuntu/
Updating /etc/apt/sources.list
Updated '/etc/apt/sources.list' with 
http://mirror.us.leaseweb.net/ubuntu/
Run `apt-get update` to update
==> default: Running provisioner: shell...
    default: Running: 
/var/folders/5f/b4llncs10ng4wj5qnbqy2bqw0000gn/T/vagrant-shell20140526-2388-n7lquz
stdin: is not a tty
Ensure apt-get update has been run...
Installing wget...
Configuring PuppetLabs repo...
Installing Puppet...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Puppet installed!
Installing Git...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Git installed!
Installing librarian-puppet...
librarian-puppet installed!
Installing third-party Puppet modules (via librarian-puppet)...
Invalid module name 'tomcat', you should qualify it with 
'ORGANIZATION/tomcat' for resolution to work correctly
==> default: Running provisioner: shell...
    default: Running: inline script
stdin: is not a tty
   > > > beginning puppet provisioning, this will appear to hang...
==> default: Running provisioner: shell...
    default: Running: inline script
stdin: is not a tty
   > > > PATIENCE! output is only shown after each step completes...
==> default: Running provisioner: puppet...
Running Puppet with dspace-init.pp...
stdin: is not a tty
Warning: Setting manifestdir is deprecated. See 
http://links.puppetlabs.com/env-settings-deprecations
   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:260:in `block (2 levels) in 
parse_global_options')
Warning: Setting modulepath is deprecated in puppet.conf. See 
http://links.puppetlabs.com/env-settings-deprecations
   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1067:in `each')
Warning: Setting templatedir is deprecated. See 
http://links.puppetlabs.com/env-settings-deprecations
   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1071:in `each')
Info: Loading facts in 
/etc/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb
Info: Loading facts in 
/etc/puppet/modules/firewall/lib/facter/iptables_version.rb
Info: Loading facts in 
/etc/puppet/modules/firewall/lib/facter/ip6tables_version.rb
Info: Loading facts in 
/etc/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in 
/etc/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in 
/etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in 
/etc/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in 
/etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Notice: Compiled catalog for dspace.vagrant.dev in environment 
production in 1.31 seconds
Info: Applying configuration version '1401129244'
Notice: 
/Stage[main]/Concat::Setup/File[/var/lib/puppet/concat]/ensure: created
Notice: 
/Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin]/ensure: created
Notice: 
/Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin/concatfragments.sh]/ensure:
 defined content as '{md5}7bbe7c5fce25a5ddd20415d909ba44fc'
Info: /Stage[main]/Vim/File[/etc/vim/vimrc]: Filebucketed 
/etc/vim/vimrc to puppet with sum 682aa2a07693cc27756eee9751db3903
Notice: /Stage[main]/Vim/File[/etc/vim/vimrc]/content: content 
changed '{md5}682aa2a07693cc27756eee9751db3903' to 
'{md5}e23a609a7058fafceb723dc3673baf1a'
Notice: 
/Stage[main]/Postgresql::Client/File[/usr/local/bin/validate_postgresql_connection.sh]/ensure:
 defined content as '{md5}20301932819f035492a30880f5bf335a'
Notice: /Stage[main]/Main/File[partner.list]/ensure: defined content 
as '{md5}eaa2d87211b40a64662f803391b098e0'
Info: /Stage[main]/Main/File[partner.list]: Scheduling refresh 
of Exec[apt-get-update]
Notice: /Stage[main]/Main/Exec[apt-get-update]: Triggered 'refresh' 
from 1 events
Notice: 
/Stage[main]/Postgresql::Server::Install/Package[postgresql-server]/ensure: 
ensure changed 'purged' to 'present'
Notice: /Stage[main]/Vim/Package[vim-nox]/ensure: ensure changed 
'purged' to 'present'
Notice: /Stage[main]/Vim/Exec[update-alternatives --set editor 
/usr/bin/vim.nox]/returns: executed successfully
Notice: 
/Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf]/ensure:
 created
Info: 
/Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf]:
 Scheduling refresh of 
Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]
Notice: 
/Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat]/ensure:
 created
Notice: 
/Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat.out]/ensure:
 created
Notice: 
/Stage[main]/Main/Tomcat::Instance[dspace]/File[/etc/init.d/tomcat7-vagrant]/ensure:
 defined content as '{md5}751311f14dc26e43f0d3d9460bb86684'
Notice: /Stage[main]/Tomcat/Package[tomcat]/ensure: ensure changed 
'purged' to 'present'
Notice: /Stage[main]/Tomcat/Package[tomcat-user]/ensure: ensure 
changed 'purged' to 'present'
Notice: /Stage[main]/Tomcat/Service[tomcat]/ensure: ensure changed 
'running' to 'stopped'
Notice: /Stage[main]/Main/Tomcat::Instance[dspace]/Exec[create 
instance at /home/vagrant/tomcat]/returns: executed successfully
Notice: /Stage[main]/Main/Tomcat::Instance[dspace]/Exec[copy 
policy.d]/returns: executed successfully
Info: 
/Stage[main]/Main/Tomcat::Instance[dspace]/File[/home/vagrant/tomcat/conf/server.xml]:
 Filebucketed /home/vagrant/tomcat/conf/server.xml to puppet with sum 
523967040584a921450af2265902568d
Notice: 
/Stage[main]/Main/Tomcat::Instance[dspace]/File[/home/vagrant/tomcat/conf/server.xml]/content:
 content changed '{md5}523967040584a921450af2265902568d' to 
'{md5}cd0820ba8dc85fcba0efeb59e9dbdfbf'
Info: 
/Stage[main]/Main/Tomcat::Instance[dspace]/File[/home/vagrant/tomcat/conf/tomcat-users.xml]:
 Filebucketed /home/vagrant/tomcat/conf/tomcat-users.xml to puppet with sum 
4d9f57e1f2d2cc184a5972322df68852
Notice: 
/Stage[main]/Main/Tomcat::Instance[dspace]/File[/home/vagrant/tomcat/conf/tomcat-users.xml]/content:
 content changed '{md5}4d9f57e1f2d2cc184a5972322df68852' to 
'{md5}3d5e555e9e362eb15090a48e25b3fec9'
Notice: /Stage[main]/Main/Package[rcconf]/ensure: ensure changed 
'purged' to 'present'
Notice: 
/Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments]/ensure:
 created
Info: 
/Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments]:
 Scheduling refresh of Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]
Notice: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow 
access to all users]/Concat::Fragment[pg_hba_rule_allow access to all 
users]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/100_pg_hba_rule_allow
 access to all users]/ensure: defined content as 
'{md5}6332aa580d0a4d80f31f6ce365b93c92'
Info: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow 
access to all users]/Concat::Fragment[pg_hba_rule_allow access to all 
users]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/100_pg_hba_rule_allow
 access to all users]: Scheduling refresh of 
Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]
Notice: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[local 
access as postgres user]/Concat::Fragment[pg_hba_rule_local access as postgres 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/001_pg_hba_rule_local
 access as postgres user]/ensure: defined content as 
'{md5}03454101c43efbcdecc71dd3f734a68f'
Info: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[local 
access as postgres user]/Concat::Fragment[pg_hba_rule_local access as postgres 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/001_pg_hba_rule_local
 access as postgres user]: Scheduling refresh of 
Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]
Notice: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[local 
access to database with same name]/Concat::Fragment[pg_hba_rule_local access to 
database with same 
name]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/002_pg_hba_rule_local
 access to database with same name]/ensure: defined content as 
'{md5}61275db6b21adbf53b575d4c1a6bbed1'
Info: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[local 
access to database with same name]/Concat::Fragment[pg_hba_rule_local access to 
database with same 
name]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/002_pg_hba_rule_local
 access to database with same name]: Scheduling refresh of 
Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]
Notice: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow 
localhost TCP access to postgresql user]/Concat::Fragment[pg_hba_rule_allow 
localhost TCP access to postgresql 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/003_pg_hba_rule_allow
 localhost TCP access to postgresql user]/ensure: defined content as 
'{md5}f30c1a00a0759236b37352c32cd0e284'
Info: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[allow 
localhost TCP access to postgresql user]/Concat::Fragment[pg_hba_rule_allow 
localhost TCP access to postgresql 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/003_pg_hba_rule_allow
 localhost TCP access to postgresql user]: Scheduling refresh of 
Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]
Notice: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[deny 
access to postgresql user]/Concat::Fragment[pg_hba_rule_deny access to 
postgresql 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/004_pg_hba_rule_deny
 access to postgresql user]/ensure: defined content as 
'{md5}76a8b986f0664f315337e666d6612877'
Info: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Pg_hba_rule[deny 
access to postgresql user]/Concat::Fragment[pg_hba_rule_deny access to 
postgresql 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragments/004_pg_hba_rule_deny
 access to postgresql user]: Scheduling refresh of 
Exec[concat_/etc/postgresql/9.1/main/pg_hba.conf]
Notice: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[listen_addresses]/Postgresql_conf[listen_addresses]/ensure:
 created
Info: 
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[listen_addresses]/Postgresql_conf[listen_addresses]:
 Scheduling refresh of Class[Postgresql::Server::Service]
Notice: /Stage[main]/Dspace/Package[java]/ensure: ensure changed 
'purged' to 'present'
Notice: /Stage[main]/Dspace/Exec[Verify SSH connection to GitHub 
works?]/returns: Warning: Permanently added 'github.com,192.30.252.128' (RSA) 
to the list of known hosts.

Notice: /Stage[main]/Dspace/Exec[Verify SSH connection to GitHub 
works?]/returns: Permission denied (publickey).

Error: ssh -T -oStrictHostKeyChecking=no g...@github.com 
returned 255 instead of one of [1]
Error: /Stage[main]/Dspace/Exec[Verify SSH connection to GitHub 
works?]/returns: change from notrun to 1 failed: ssh -T 
-oStrictHostKeyChecking=no g...@github.com returned 255 instead of one of 
[1]
^C==> default: Waiting for cleanup before exiting...
^C==> default: Exiting immediately, without cleanup!
> 

> 

> exit 

exit

Script done on Mon May 26 14:37:38 2014
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to