[chef] Eclipse cookbook install plugin is failing


Chronological Thread 
  • From: Venkatesh Ainalli < >
  • To:
  • Subject: [chef] Eclipse cookbook install plugin is failing
  • Date: Mon, 7 Jul 2014 23:29:33 +0530

Hi,

I tried to deploy eclipse cookbook[https://github.com/geocent-cookbooks/eclipse] on aws-linux and centos.
Getting following error

  * execute[unpack /var/chef/cache/eclipse-kepler.tar.gz] action run[2014-07-07T17:26:43+00:00] INFO: Processing execute[unpack /var/chef/cache/eclipse-kepler.tar.gz] action run (/var/chef/cookbooks/ark/providers/default.rb line 48)
[2014-07-07T17:27:39+00:00] INFO: execute[unpack /var/chef/cache/eclipse-kepler.tar.gz] ran successfully

    - execute /bin/tar xzf /var/chef/cache/eclipse-kepler.tar.gz --strip-components=1

[2014-07-07T17:27:39+00:00] INFO: execute[unpack /var/chef/cache/eclipse-kepler.tar.gz] sending run action to execute[set owner on /usr/local/eclipse-kepler] (delayed)
  * execute[set owner on /usr/local/eclipse-kepler] action run[2014-07-07T17:27:39+00:00] INFO: Processing execute[set owner on /usr/local/eclipse-kepler] action run (/var/chef/cookbooks/ark/providers/default.rb line 57)
[2014-07-07T17:27:40+00:00] INFO: execute[set owner on /usr/local/eclipse-kepler] ran successfully

    - execute chown -R root:0 /usr/local/eclipse-kepler



Recipe: eclipse::default
  * execute[eclipse plugin install] action run[2014-07-07T17:27:40+00:00] INFO: Processing execute[eclipse plugin install] action run (eclipse::default line 44)

Installing org.eclipse.egit.feature.group 3.2.0.201312181205-r.
Operation completed in 162811 ms.
[2014-07-07T17:32:29+00:00] INFO: execute[eclipse plugin install] ran successfully

    - execute eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://download.eclipse.org/releases/kepler -installIUs org.eclipse.egit.feature.group

  * execute[eclipse plugin install] action run[2014-07-07T17:32:29+00:00] INFO: Processing execute[eclipse plugin install] action run (eclipse::default line 44)




Installing org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033.
Installation failed.

================================================================================
Error executing action `run` on resource 'execute[eclipse plugin install]'
================================================================================


Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '13'
---- Begin output of eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://download.eclipse.org/technology/m2e/releases -installIUs org.eclipse.m2e.feature.feature.group ----
STDOUT: Installing org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033.
Installation failed.
STDERR: Cannot complete the install because one or more required items could not be found.
 Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
 Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
 Cannot satisfy dependency:
  From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
  To: org.eclipse.m2e.core [1.5.0.20140606-0033]
Application failed, log file location: /usr/local/eclipse-kepler/configuration/1404754351573.log
---- End output of eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://download.eclipse.org/technology/m2e/releases -installIUs org.eclipse.m2e.feature.feature.group ----
Ran eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://download.eclipse.org/technology/m2e/releases -installIUs org.eclipse.m2e.feature.feature.group returned 13


Resource Declaration:
---------------------
# In /var/chef/cookbooks/eclipse/recipes/default.rb

 44:     execute "eclipse plugin install" do
 45:       command "eclipse -application org.eclipse.equinox.p2.director -noSplash -repository #{repo} -installIUs #{plugins}"
 46:       action :run
 47:     end
 48:   end



Compiled Resource:
------------------
# Declared in /var/chef/cookbooks/eclipse/recipes/default.rb:44:in `block in from_file'

execute("eclipse plugin install") do
  action [:run]
  retries 0
  retry_delay 2
  guard_interpreter :default
  command "eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://download.eclipse.org/technology/m2e/releases -installIUs org.eclipse.m2e.feature.feature.group"
  backup 5
  returns 0
  cookbook_name :eclipse
  recipe_name "default"
end

Regards.
Venky






Archive powered by MHonArc 2.6.16.

§