Hi all,

I too am having issues with vagrant-dspace -- I'm seeing different error messages, but they are related to ssh too so perhaps another symptom of the same problem?

This is on a Linux machine that was successfully running vagrant-dspace a few months back, updated to current master of vagrant-dspace. I added a stanza to Vagrantfile to ensure the network cable of the virtualbox is plugged in (I had run into this with a different vagrant box). After that, vagrant up eventually fails with

The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Further up in the logĀ  I see failure messages that include
==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Tomcat_instance[/home/vagrant/dspace/webapps]/Service[tomcat]: Dependency Exec[Adding the fingerprint for GitHub so we can connect to it] has failures: true
==> vagrant-dspace: Warning: /Stage[main]/Main/Dspace::Tomcat_instance[/home/vagrant/dspace/webapps]/Service[tomcat]: Skipping because of failed dependencies

and even further up
==> vagrant-dspace: Debug: Exec[Adding the fingerprint for GitHub so we can connect to it](provider=posix): Executing 'ssh -T -oStrictHostKeyChecking=no [email protected]'
==> vagrant-dspace: Debug: Executing 'ssh -T -oStrictHostKeyChecking=no [email protected]'
==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Adding the fingerprint for GitHub so we can connect to it]/returns: Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts.
==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Adding the fingerprint for GitHub so we can connect to it]/returns: Permission denied (publickey).
==> vagrant-dspace: Error: ssh -T -oStrictHostKeyChecking=no [email protected] returned 255 instead of one of [0,1]
==> vagrant-dspace: Error: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Adding the fingerprint for GitHub so we can connect to it]/returns: change from notrun to 0 1 failed: ssh -T -oStrictHostKeyChecking=no [email protected] returned 255 instead of one of [0,1]
==> vagrant-dspace: Notice: /Stage[main]/Main/Dspace::Install[/home/vagrant/dspace]/Exec[Cloning DSpace source code into /home/vagrant/dspace-src]: Dependency Exec[Adding the fingerprint for GitHub so we can connect to it] has failures: true

I tried changing the Vagrantfile stanza to not actually attempt to talk to github but that didn't help either -- it still tries to do the fingerprint check (does that come from puppet-dspace?). My changes are in https://gist.github.com/aschweer/e521f1831fe874bc3f19a40c395eb513

vagrant-ssh then ssh -T -oStrictHostKeyChecking=no [email protected] gives
Permission denied (publickey).
with an exit status of, as it says in the error message, 255.

cheers,
Andrea

-- 
Dr Andrea Schweer
Lead Software Developer, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120


--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to