Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1221813 - `yum install katello` installs a version of Java which fails when katello-installer is used; it should depend on a working Java instead
Summary: `yum install katello` installs a version of Java which fails when katello-ins...
Keywords:
Status: CLOSED DUPLICATE of bug 1212961
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-14 21:33 UTC by John Fulton
Modified: 2017-02-23 20:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-15 15:23:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1450693 0 None None None Never

Description John Fulton 2015-05-14 21:33:51 UTC
* Description of problem:
katello-installer brings in java 1.8 as a dependency but the install will fail unless you remove 1.8 and replace it with Java 1.7. 

MAIN POINT: Running `yum install katello` should bring in a version of Java that works when you want to use the program (katello-installer). 

* Version-Release number of selected component (if applicable):
Satellite 6.1 Beta

* How reproducible:
Deterministic

Steps to Reproduce:
1. Follow our documentation in section 2.2.1. "Configuring Red Hat Satellite Manually"; specifically `yum install katello` and then `katello-installer`
http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Satellite/6.1/html/Installation_Guide/sect-Red_Hat_Satellite-Installation_Guide-Installing_Red_Hat_Satellite_Server-Running_the_Installation_and_Configuration_Program.html

2. Observe failure
[ERROR 2015-05-12 23:43:45 main]  /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 8 instead of one of [0]
Installing             Done                                               [100%] [.........]
  Something went wrong! Check the log for ERROR-level output
  The full log is at /var/log/katello-installer/katello-installer.log

* Actual results:
Candlepin doesn't start as described in BZ 1216180 so when the installer tries to wget candlepin it times out and the installation fails. 

* Expected results:
Install succeeds. 

* Workaround: 
Remove Java 1.8 and install 1.7 BEFORE running katello-installer as described in: https://access.redhat.com/solutions/1450693 

yum install -y katello
yum install -y java-1.7.0-openjdk
yum erase -y java-1.8.0-openjdk-headless java-1.8.0-openjdk
alternatives --config java   # Select 1.7

Comment 1 RHEL Program Management 2015-05-14 21:42:19 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Mike McCune 2015-05-15 15:23:44 UTC

*** This bug has been marked as a duplicate of bug 1212961 ***


Note You need to log in before you can comment on or make changes to this bug.