Description of problem: The product requires java 1.7 to run. However, this is not installed on base RHEL installs (nor even necessarily up2date installs), and has to be installed separately. As such, we need to get it marked as a dep for Sat6 GA. Version-Release number of selected component (if applicable): Satellite-6.0.3-RHEL-6-20140716.0
Does it require java-1.7.0-openjdk or java-1.7.0-openjdk or java-1.6.0-openjdk? It looks like katello-installer intalls 1.6.0 for elasticsearch on RHEL. If it require 1.7.0 what specifically requires the newer version? I'd like to put the dependency where it belongs, especially since for Capsule we don't really have a meta-package to add the dependency to.
openjdk i believe. i would have to re-run capsule installer to get exact message, but it complains about needing java-openjdk 1.7.0 or higher. I will try to get you the exact msg.
The exact message returned from the capsule installer is Your system does not meet configuration criteria [ INFO 2014-08-13 12:39:29 verbose] Executing hooks in group boot [ INFO 2014-08-13 12:39:29 verbose] All hooks in group boot finished [ INFO 2014-08-13 12:39:29 verbose] Executing hooks in group init [ INFO 2014-08-13 12:39:29 verbose] All hooks in group init finished [ INFO 2014-08-13 12:39:29 verbose] Parsing default values from puppet modules... [ INFO 2014-08-13 12:39:29 verbose] ... finished [ INFO 2014-08-13 12:39:29 verbose] Executing hooks in group pre_values [ INFO 2014-08-13 12:39:29 verbose] All hooks in group pre_values finished tput: No value for $TERM and no -T specified An OpenJDK version of Java greater than 1.7 should be installed
Proposed fix upstream: https://github.com/Katello/katello-installer/pull/100
Capsule is still not pulling in java in Satellite-6.0.4-RHEL-6-20140820.1 [root@ibm-x3550m3-11 ~]# rpm -qa|grep java java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64 libvirt-java-devel-0.4.9-1.el6.noarch java_cup-0.10k-5.el6.x86_64 libvirt-java-0.4.9-1.el6.noarch Your system does not meet configuration criteria [ INFO 2014-08-21 19:30:02 verbose] Executing hooks in group boot [ INFO 2014-08-21 19:30:02 verbose] All hooks in group boot finished [ INFO 2014-08-21 19:30:02 verbose] Executing hooks in group init [ INFO 2014-08-21 19:30:02 verbose] All hooks in group init finished [ INFO 2014-08-21 19:30:02 verbose] Parsing default values from puppet modules... [ INFO 2014-08-21 19:30:02 verbose] ... finished [ INFO 2014-08-21 19:30:02 verbose] Executing hooks in group pre_values [ INFO 2014-08-21 19:30:02 verbose] All hooks in group pre_values finished An OpenJDK version of Java greater than 1.7 should be installed
Capsule doesn't require anything Java related. The installer check shouldn't block capsule installs if we don't have Java.
Created redmine issue http://projects.theforeman.org/issues/7264 from this bug
Proposed fixes in the PRs below. issue 1: do not check for java on capsule install: https://github.com/Katello/katello-installer/pull/110 issue 2: do not install java 1.6.0 on the server: (note: the installer was installing both 1.6 & 1.7): https://github.com/Katello/puppet-elasticsearch/pull/3
Verified in Satellite-6.0.4-RHEL-6-20140829.0
(Actually Satellite-6.0.4-RHEL-7-20140829.0 initially, but both work)
This was delivered with Satellite 6.0 which was released on 10 September 2014.