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.
Description of problem: After upgrade server response check failed for candlepin.
Version-Release number of selected component (if applicable):
6.8 Snap-14
How reproducible:
always
Steps to Reproduce:
1. Prepare the environment to perform the satellite-upgrade from 6.7 to 6.8
2. Configure all the repository(Enabled the required repository)
3. Execute the pre-check and it has completed successfully.
4. Trigger the upgrade job using below command
foreman-maintain upgrade run --whitelist="disk-performance" --target-version 6.8 -y
....
....
Update package(s) : [OK]
--------------------------------------------------------------------------------
Procedures::Installer::Upgrade: [OK]
--------------------------------------------------------------------------------
Running Procedures after migrating to Satellite 6.8
..
Check whether all services are running using the ping call: [FAIL]
Couldn't connect to the server: undefined method `to_sym' for nil:NilClass
All services started [OK]
5. Candlepin failed to respond.
# hammer ping
database:
Status: ok
Server Response: Duration: 0ms
candlepin:
Status: FAIL
Server Response: Message: 404 Not Found
candlepin_events:
Status: FAIL
message: Not running
Server Response: Duration: 7ms
candlepin_auth:
Status: FAIL
Server Response: Message: Katello::Resources::Candlepin::CandlepinPing: 404 Not Found (GET /candlepin/status)
katello_events:
Status: ok
message: 0 Processed, 0 Failed
Server Response: Duration: 2ms
pulp:
Status: ok
Server Response: Duration: 106ms
pulp_auth:
Status: ok
Server Response: Duration: 81ms
foreman_tasks:
Status: ok
Server Response: Duration: 14ms
Actual results:
candlepin response check fail.
Expected results:
candlepin response check should successful.
Additional info:
Verified on 6.8 Snap16
Verification points
1- Verified the fixed candlepin version
# rpm -q candlepin
candlepin-3.1.21-1.el7sat.noarch
2- Satellite Upgrade completed successfully.
3- After upgrade hammer-ping services worked perfectly
#hammer ping
database:
Status: ok
Server Response: Duration: 0ms
candlepin:
Status: ok
Server Response: Duration: 45ms
candlepin_events:
Status: ok
message: 0 Processed, 0 Failed
Server Response: Duration: 0ms
candlepin_auth:
Status: ok
Server Response: Duration: 36ms
katello_events:
Status: ok
message: 0 Processed, 0 Failed
Server Response: Duration: 1ms
pulp:
Status: ok
Server Response: Duration: 523ms
pulp_auth:
Status: ok
Server Response: Duration: 56ms
foreman_tasks:
Status: ok
Server Response: Duration: 5ms
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 (Important: Satellite 6.8 release), 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/RHSA-2020:4366
Description of problem: After upgrade server response check failed for candlepin. Version-Release number of selected component (if applicable): 6.8 Snap-14 How reproducible: always Steps to Reproduce: 1. Prepare the environment to perform the satellite-upgrade from 6.7 to 6.8 2. Configure all the repository(Enabled the required repository) 3. Execute the pre-check and it has completed successfully. 4. Trigger the upgrade job using below command foreman-maintain upgrade run --whitelist="disk-performance" --target-version 6.8 -y .... .... Update package(s) : [OK] -------------------------------------------------------------------------------- Procedures::Installer::Upgrade: [OK] -------------------------------------------------------------------------------- Running Procedures after migrating to Satellite 6.8 .. Check whether all services are running using the ping call: [FAIL] Couldn't connect to the server: undefined method `to_sym' for nil:NilClass All services started [OK] 5. Candlepin failed to respond. # hammer ping database: Status: ok Server Response: Duration: 0ms candlepin: Status: FAIL Server Response: Message: 404 Not Found candlepin_events: Status: FAIL message: Not running Server Response: Duration: 7ms candlepin_auth: Status: FAIL Server Response: Message: Katello::Resources::Candlepin::CandlepinPing: 404 Not Found (GET /candlepin/status) katello_events: Status: ok message: 0 Processed, 0 Failed Server Response: Duration: 2ms pulp: Status: ok Server Response: Duration: 106ms pulp_auth: Status: ok Server Response: Duration: 81ms foreman_tasks: Status: ok Server Response: Duration: 14ms Actual results: candlepin response check fail. Expected results: candlepin response check should successful. Additional info: