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.

Bug 1325995

Summary: API ping don't return information for foreman_auth service
Product: Red Hat Satellite Reporter: Elyézer Rezende <erezende>
Component: APIAssignee: Andrew Kofink <akofink>
Status: CLOSED ERRATA QA Contact: Martin Korbel <mkorbel>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: aagrawal, akofink, bbuckingham, bkearney, dnagarat, mkorbel, mmccune, yann.renard
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/15582
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1415073 (view as bug list) Environment:
Last Closed: 2018-02-21 16:43:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1415073    

Description Elyézer Rezende 2016-04-11 14:22:46 UTC
Description of problem:
When request a ping using API the foreman_auth service information is not returned.


Version-Release number of selected component (if applicable):
satellite-6.2.0-7.0.beta.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Do a GET request on https://satserver.com/katello/api/v2/ping
2. Check the returned JSON response

Actual results:
There is no information for foreman_auth

Expected results:
There is information for foreman_auth

Additional info:
2016-04-11 11:20:06 - nailgun.client - DEBUG - Making HTTP GET request to https://sat62.example.com:443/katello/api/v2/ping with options {'headers': {'content-type': 'application/json'}, 'verify': False, 'auth': ('admin', 'changeme'), 'data': '{}'} and no data.
2016-04-11 11:20:08 - nailgun.client - DEBUG - Received HTTP 200 response:   {"status":"ok","services":{"foreman_tasks":{"status":"ok","duration_ms":"33"},"foreman_auth":{},"candlepin":{"status":"ok","duration_ms":"33"},"candlepin_auth":{"status":"ok","duration_ms":"34"},"pulp":{"status":"ok","duration_ms":"33"},"pulp_auth":{"status":"ok","duration_ms":"71"}}}

Comment 2 Andrew Kofink 2016-07-05 19:28:40 UTC
Created redmine issue http://projects.theforeman.org/issues/15582 from this bug

Comment 3 Bryan Kearney 2016-07-06 14:13:50 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15582 has been closed

Comment 7 Martin Korbel 2016-10-20 08:53:22 UTC
ERIFIED on satellite-6.3.0-1.0.git.7.fb12bf2.el7sat

> curl https://$(hostname)/katello/api/v2/ping
 
{"status":"ok","services":{"pulp":{"status":"ok","duration_ms":"62"},"pulp_auth":{},"candlepin":{"status":"ok","duration_ms":"43"},"candlepin_auth":{"status":"ok","duration_ms":"37"},"foreman_tasks":{"status":"ok","duration_ms":"911"}}}

Comment 8 Brad Buckingham 2017-01-11 12:26:40 UTC
*** Bug 1410870 has been marked as a duplicate of this bug. ***

Comment 9 Bryan Kearney 2018-02-21 16:40:50 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/RHSA-2018:0336

Comment 10 Bryan Kearney 2018-02-21 16:43:29 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/RHSA-2018:0336

Comment 11 Satellite Program 2018-02-21 16:49:54 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/RHSA-2018:0336