Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
[Satellite 6.2.z] Satellite installation fails on rhel 7.6 Beta with /Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun to 0 failed
+++ This bug was initially created as a clone of Bug #1615806 +++
Description of problem:
Installation of latest GA Satellite on rhel 7.6 Beta candidate build fails with:
/Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun to 0 failed: /usr/bin/wget --no-proxy --timeout=30 --tries=40 --wait=20 --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]
Candlepin log (attached) has several occurrences of: org.postgresql.util.PSQLException: The connection attempt failed.
Version-Release number of selected component (if applicable):
satellite-6.3.2-1.el7sat.noarch
Additional info:
Occurs also when installing Satellite 6.2 (satellite-6.2.15-1.0.el7sat.noarch)
installer output <trimmed>
The problem might be in some change in wget timeout settings, I found a kbase with similar error https://access.redhat.com/solutions/1605013, but the solution proposed there does not work for me.
Another suspect is the java version, judging by https://access.redhat.com/solutions/1442573
I'm keeping both machines for investigation, feel free to ping me
*** HOTFIX AVAILABLE ***
1) Download candlepin-0.9.54.28-1.el7.noarch.rpm and candlepin-selinux-0.9.54.28-1.el7.noarch.rpm from this Bugzilla
2) Copy to your Satellite 6.2 server
3) rpm -Uvh candlepin-0.9.54.28-1.el7.noarch.rpm candlepin-selinux-0.9.54.28-1.el7.noarch.rpm
4) katello-service restart
5) upgrade to Red Hat Enterprise Linux 7.6
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2018:3657