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 1875357 - After upgrade server response check failed for candlepin.
Summary: After upgrade server response check failed for candlepin.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: 6.8.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: 6.8.0
Assignee: Nikos Moumoulidis
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks: 1877340
TreeView+ depends on / blocked
 
Reported: 2020-09-03 11:43 UTC by Devendra Singh
Modified: 2020-10-27 13:09 UTC (History)
7 users (show)

Fixed In Version: candlepin-3.1.21-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1877340 (view as bug list)
Environment:
Last Closed: 2020-10-27 13:08:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:09:18 UTC

Description Devendra Singh 2020-09-03 11:43:59 UTC
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:

Comment 10 Devendra Singh 2020-09-22 05:06:21 UTC
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

Comment 11 Devendra Singh 2020-09-22 05:17:58 UTC
One minor correction.

(In reply to Devendra Singh from comment #10)
> 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, service's check using "hammer ping" worked correctly.
 
> #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

Comment 14 errata-xmlrpc 2020-10-27 13:08:57 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 (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


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