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 1646570 - [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
Summary: [Satellite 6.2.z] Satellite installation fails on rhel 7.6 Beta with /Stage[m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: 6.2.15
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: Unspecified
Assignee: Barnaby Court
QA Contact: jcallaha
URL:
Whiteboard:
Depends On: 1616420
Blocks: 1613992
TreeView+ depends on / blocked
 
Reported: 2018-11-05 16:54 UTC by Mike McCune
Modified: 2021-12-10 18:09 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1615806
Environment:
Last Closed: 2018-11-26 15:34:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3673781 0 None None None 2018-11-19 21:57:36 UTC
Red Hat Product Errata RHBA-2018:3657 0 None None None 2018-11-26 15:35:08 UTC

Description Mike McCune 2018-11-05 16:54:12 UTC
+++ 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

Comment 1 Mike McCune 2018-11-05 16:57:19 UTC
resolved in:

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=757705

candlepin-0.9.54.28-1.el7.noarch.rpm

Comment 3 Mike McCune 2018-11-05 22:14:26 UTC
*** 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

Comment 5 jcallaha 2018-11-14 16:38:00 UTC
Verified in Satellite 6.2.16 Snap 1.

Installation and basic content sync tests passed without issues.

Comment 7 errata-xmlrpc 2018-11-26 15:34:59 UTC
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

Comment 8 jcallaha 2019-08-14 15:06:45 UTC
Standard installation is covered with every automation run, marking this as qe_test_coverage+


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