Bug 1212961
Summary: | katello-installer is not installing the required java version | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Elyézer Rezende <erezende> |
Component: | Installation | Assignee: | Katello Bug Bin <katello-bugs> |
Status: | CLOSED WONTFIX | QA Contact: | sthirugn <sthirugn> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.8 | CC: | bkearney, byount, chrobert, cwelton, ehelms, ftsiadim, johfulto, justin.garrison, katello-bugs, kevin.donald.ext, ktordeur, nerawat, omaciel, pgervase, sauchter, sghai, sthirugn, tkolhar |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/10185 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-10-09 14:31:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Elyézer Rezende
2015-04-17 19:19:37 UTC
I filed https://bugzilla.redhat.com/show_bug.cgi?id=1212963 against java-1.8.0-openjdk to fix the issue. Until then, we need to openjdk to less than the .45 version. Moving to POST since upstream bug http://projects.theforeman.org/issues/10185 has been closed ------------- Eric Helms Applied in changeset commit:katello|e6cbabd53a51dc49d1c5c87151ba93b446397306. *** Bug 1213246 has been marked as a duplicate of this bug. *** Until this issue is available you can work around the issue by: yum -y install java-1.7.0-openjdk alternatives --config java Then pick the number next to 1.7.0 and re-run the installer. I switched to java-1.7.0 and also uninstalled 1.8.0 but cannot get satellite 6.1 beta installed because candlepin fails to start. I'm on rhel 7.1 What error specifically are you seeing? Did you run the installer prior to changing to 1.7? The specific error is /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >/var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done returned 4 instead of one of [0] /Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun to 0 failed: /usr/bin/wget --timeout=30 --tries=5 --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init >/var/log/candlepin /cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done returned 4 instead of one of [0] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0] Installing Done [100%] [...............................................................................................................................] *** Bug 1213756 has been marked as a duplicate of this bug. *** Candlepin/tomcat dos not start.. This problem is caused by java-1.8.0-openjdk-1.8.0.45-28.b13.el6_6.x86_64. when you run "java -version" the following is returned openjdk version "1.8.0_45" ... Which breaks the some java functionality checking the version as it is expecting java version "1.8.0_45" To resolve this issue, edit "/usr/share/java-utils/java-functions" line 149,150 replace java with openjdk mkdir /usr/lib/java-1.8.0 mkdir /usr/share/java-1.8.0 katello-remove yum install katello katello-install *** Bug 1221813 has been marked as a duplicate of this bug. *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |