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
> [0mvagrant up
[0mBringing machine 'default' up with 'virtualbox' provider...[0m
[1m==> default: Importing base box 'dspace-precise64'...[0m
[0m
[K[0m[0mProgress: 40%[0m[0m
[K[0m[0mProgress: 50%[0m[0m
[K[0m[0mProgress: 60%[0m[0m
[K[0m[0mProgress: 70%[0m[0m
[K[0m[0mProgress: 80%[0m[0m
[K[0m[0mProgress: 90%[0m[0m
[K[0m[1m==> default: Matching MAC address for NAT networking...[0m
[1m==> default: Setting the name of the VM: dspace-dev[0m
[1m==> default: Clearing any previously set network interfaces...[0m
[1m==> default: Preparing network interfaces based on configuration...[0m
[0m default: Adapter 1: nat[0m
[0m default: Adapter 2: hostonly[0m
[1m==> default: Forwarding ports...[0m
[0m default: 8080 => 8080 (adapter 1)[0m
[0m default: 22 => 2222 (adapter 1)[0m
[1m==> default: Running 'pre-boot' VM customizations...[0m
[1m==> default: Booting VM...[0m
[1m==> default: Waiting for machine to boot. This may take a few minutes...[0m
[0m default: SSH address: 127.0.0.1:2222[0m
[0m default: SSH username: vagrant[0m
[0m default: SSH auth method: private key[0m
[0m default: Error: Connection timeout. Retrying...[0m
[0m default: Error: Connection timeout. Retrying...[0m
[1m==> default: Machine booted and ready![0m
[1m==> default: Checking for guest additions in VM...[0m
[1m==> default: Setting hostname...[0m
[1m==> default: Configuring and enabling network interfaces...[0m
[1m==> default: Mounting shared folders...[0m
[0m
[0m
[1m==> default: Running provisioner: shell...[0m
[0m default: Running: inline script[0m
[0;31mstdin: is not a tty
[0m[1m==> default: Running provisioner: shell...[0m
[0m default: Running: inline script[0m
[0;31mstdin: is not a tty
[0m[1m==> default: Running provisioner: shell...[0m
[0m default: Running: inline script[0m
[0;31mstdin: is not a tty
[0m[1m==> default: Running provisioner: shell...[0m
[0m default: Running: inline script[0m
[0;31mstdin: is not a tty
[0m[0;32m > > > running apt-spy-2-bootstrap.sh, do not worry if it shows an
error, it will be OK, there is a fallback.
[0m[1m==> default: Running provisioner: shell...[0m
[0m default: Running:
/var/folders/5f/b4llncs10ng4wj5qnbqy2bqw0000gn/T/vagrant-shell20140526-2388-1m7rcq6[0m
[0;31mstdin: is not a tty
[0m[0;32mInitial apt-get update...
[0m[0;32mInstalling 'apt-spy2'. This tool lets us autoconfigure your 'apt'
sources.list to a nearby location.
This may take a while...
[0m[0;31mdpkg-preconfigure: unable to re-open stdin: No such file or directory
[0m[0;32m... Setting 'apt' sources.list for closest mirror to country=US
[0m[0;32mThe closest mirror is:
[37m[42mhttp://mirror.us.leaseweb.net/ubuntu/[0m
[33mUpdating /etc/apt/sources.list[0m
[0m[0;32m[32mUpdated '/etc/apt/sources.list' with
http://mirror.us.leaseweb.net/ubuntu/[0m
[31m[43mRun `apt-get update` to update[0m
[0m[1m==> default: Running provisioner: shell...[0m
[0m default: Running:
/var/folders/5f/b4llncs10ng4wj5qnbqy2bqw0000gn/T/vagrant-shell20140526-2388-n7lquz[0m
[0;31mstdin: is not a tty
[0m[0;32mEnsure apt-get update has been run...
[0m[0;32mInstalling wget...
[0m[0;32mConfiguring PuppetLabs repo...
[0m[0;32mInstalling Puppet...
[0m[0;31mdpkg-preconfigure: unable to re-open stdin: No such file or directory
[0m[0;32mPuppet installed!
[0m[0;32mInstalling Git...
[0m[0;31mdpkg-preconfigure: unable to re-open stdin: No such file or directory
[0m[0;32mGit installed!
[0m[0;32mInstalling librarian-puppet...
[0m[0;32mlibrarian-puppet installed!
Installing third-party Puppet modules (via librarian-puppet)...
[0m[0;32mInvalid module name 'tomcat', you should qualify it with
'ORGANIZATION/tomcat' for resolution to work correctly
[0m[1m==> default: Running provisioner: shell...[0m
[0m default: Running: inline script[0m
[0;31mstdin: is not a tty
[0m[0;32m > > > beginning puppet provisioning, this will appear to hang...
[0m[1m==> default: Running provisioner: shell...[0m
[0m default: Running: inline script[0m
[0;31mstdin: is not a tty
[0m[0;32m > > > PATIENCE! output is only shown after each step completes...
[0m[1m==> default: Running provisioner: puppet...[0m
[0mRunning Puppet with dspace-init.pp...[0m
[0mstdin: is not a tty
[0m[0m[1;31mWarning: 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')[0m
[1;31mWarning: 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')[0m
[1;31mWarning: Setting templatedir is deprecated. See
http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1071:in `each')[0m
[0m[0m[0;32mInfo: Loading facts in
/etc/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb[0m
[0m[0m[0;32mInfo: Loading facts in
/etc/puppet/modules/firewall/lib/facter/iptables_version.rb[0m
[0m[0m[0;32mInfo: Loading facts in
/etc/puppet/modules/firewall/lib/facter/ip6tables_version.rb[0m
[0m[0m[0;32mInfo: Loading facts in
/etc/puppet/modules/concat/lib/facter/concat_basedir.rb[0m
[0m[0m[0;32mInfo: Loading facts in
/etc/puppet/modules/stdlib/lib/facter/pe_version.rb[0m
[0m[0m[0;32mInfo: Loading facts in
/etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb[0m
[0m[0m[0;32mInfo: Loading facts in
/etc/puppet/modules/stdlib/lib/facter/root_home.rb[0m
[0m[0m[0;32mInfo: Loading facts in
/etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb[0m
[0m[0m[mNotice: Compiled catalog for dspace.vagrant.dev in environment
production in 1.31 seconds[0m
[0m[0m[0;32mInfo: Applying configuration version '1401129244'[0m
[0m[0m[mNotice:
/Stage[main]/Concat::Setup/File[/var/lib/puppet/concat]/ensure: created[0m
[0m[0m[mNotice:
/Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin]/ensure: created[0m
[0m[0m[mNotice:
/Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin/concatfragments.sh]/ensure:
defined content as '{md5}7bbe7c5fce25a5ddd20415d909ba44fc'[0m
[0m[0m[0;32mInfo: /Stage[main]/Vim/File[/etc/vim/vimrc]: Filebucketed
/etc/vim/vimrc to puppet with sum 682aa2a07693cc27756eee9751db3903[0m
[0m[0m[mNotice: /Stage[main]/Vim/File[/etc/vim/vimrc]/content: content
changed '{md5}682aa2a07693cc27756eee9751db3903' to
'{md5}e23a609a7058fafceb723dc3673baf1a'[0m
[0m[0m[mNotice:
/Stage[main]/Postgresql::Client/File[/usr/local/bin/validate_postgresql_connection.sh]/ensure:
defined content as '{md5}20301932819f035492a30880f5bf335a'[0m
[0m[0m[mNotice: /Stage[main]/Main/File[partner.list]/ensure: defined content
as '{md5}eaa2d87211b40a64662f803391b098e0'[0m
[0m[0m[0;32mInfo: /Stage[main]/Main/File[partner.list]: Scheduling refresh
of Exec[apt-get-update][0m
[0m[0m[mNotice: /Stage[main]/Main/Exec[apt-get-update]: Triggered 'refresh'
from 1 events[0m
[0m[0m[mNotice:
/Stage[main]/Postgresql::Server::Install/Package[postgresql-server]/ensure:
ensure changed 'purged' to 'present'[0m
[0m[0m[mNotice: /Stage[main]/Vim/Package[vim-nox]/ensure: ensure changed
'purged' to 'present'[0m
[0m[0m[mNotice: /Stage[main]/Vim/Exec[update-alternatives --set editor
/usr/bin/vim.nox]/returns: executed successfully[0m
[0m[0m[mNotice:
/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[0m
[0m[0m[0;32mInfo:
/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][0m[0m[0m
[0m[0m[mNotice:
/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[0m
[0m[0m[mNotice:
/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[0m
[0m[0m[mNotice:
/Stage[main]/Main/Tomcat::Instance[dspace]/File[/etc/init.d/tomcat7-vagrant]/ensure:
defined content as '{md5}751311f14dc26e43f0d3d9460bb86684'[0m
[0m[0m[mNotice: /Stage[main]/Tomcat/Package[tomcat]/ensure: ensure changed
'purged' to 'present'[0m
[0m[0m[mNotice: /Stage[main]/Tomcat/Package[tomcat-user]/ensure: ensure
changed 'purged' to 'present'[0m
[0m[0m[mNotice: /Stage[main]/Tomcat/Service[tomcat]/ensure: ensure changed
'running' to 'stopped'[0m
[0m[0m[mNotice: /Stage[main]/Main/Tomcat::Instance[dspace]/Exec[create
instance at /home/vagrant/tomcat]/returns: executed successfully[0m
[0m[0m[mNotice: /Stage[main]/Main/Tomcat::Instance[dspace]/Exec[copy
policy.d]/returns: executed successfully[0m
[0m[0m[0;32mInfo:
/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[0m
[0m[0m[mNotice:
/Stage[main]/Main/Tomcat::Instance[dspace]/File[/home/vagrant/tomcat/conf/server.xml]/content:
content changed '{md5}523967040584a921450af2265902568d' to
'{md5}cd0820ba8dc85fcba0efeb59e9dbdfbf'[0m
[0m[0m[0;32mInfo:
/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[0m
[0m[0m[mNotice:
/Stage[main]/Main/Tomcat::Instance[dspace]/File[/home/vagrant/tomcat/conf/tomcat-users.xml]/content:
content changed '{md5}4d9f57e1f2d2cc184a5972322df68852' to
'{md5}3d5e555e9e362eb15090a48e25b3fec9'[0m
[0m[0m[mNotice: /Stage[main]/Main/Package[rcconf]/ensure: ensure changed
'purged' to 'present'[0m
[0m[0m[mNotice:
/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[0m
[0m[0m[0;32mInfo:
/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][0m
[0m[0m[mNotice:
/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'[0m
[0m[0m[0;32mInfo:
/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][0m
[0m[0m[mNotice:
/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'[0m
[0m[0m[0;32mInfo:
/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][0m
[0m[0m[mNotice:
/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'[0m
[0m[0m[0;32mInfo:
/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][0m
[0m[0m[mNotice:
/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'[0m
[0m[0m[0;32mInfo:
/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][0m
[0m[0m[mNotice:
/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'[0m
[0m[0m[0;32mInfo:
/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][0m
[0m[0m[mNotice:
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[listen_addresses]/Postgresql_conf[listen_addresses]/ensure:
created[0m
[0m[0m[0;32mInfo:
/Stage[main]/Postgresql::Server::Config/Postgresql::Server::Config_entry[listen_addresses]/Postgresql_conf[listen_addresses]:
Scheduling refresh of Class[Postgresql::Server::Service][0m
[0m[0m[mNotice: /Stage[main]/Dspace/Package[java]/ensure: ensure changed
'purged' to 'present'[0m
[0m[0m[mNotice: /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.
[0m
[0m[0m[mNotice: /Stage[main]/Dspace/Exec[Verify SSH connection to GitHub
works?]/returns: Permission denied (publickey).
[0m[0m[0m
[0m[0m[1;31mError: ssh -T -oStrictHostKeyChecking=no g...@github.com
returned 255 instead of one of [1][0m
[0m[0m[1;31mError: /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][0m
[0m^C[1;33m==> default: Waiting for cleanup before exiting...[0m
^C[1;31m==> default: Exiting immediately, without cleanup![0m
> [0m
> [0m
> [0mexit
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