Project

General

Profile

Bug #15582

API ping don't return information for foreman_auth service

Added by Andrew Kofink over 2 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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"}}}

Associated revisions

Revision 95d7b906 (diff)
Added by Andrew Kofink over 2 years ago

Fixes #15582 - Remove foreman_auth from ping (#6168)

The `SERVICES` array now comes from the Ping model to avoid this same
issue in the future.

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6168 added

#2 Updated by Anonymous over 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Justin Sherrill over 2 years ago

  • Assignee set to Andrew Kofink
  • Legacy Backlogs Release (now unused) set to 162
  • Difficulty set to trivial

Also available in: Atom PDF