Bug #15582
closedAPI ping don't return information for foreman_auth service
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1325995
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"}}}