Project

General

Profile

Actions

Bug #27229

closed

ping api call doesn't return messages

Added by Amir Fefer almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

`ping` API call doesn't return messages, so

Katello::Ping.ping[:services]
returns:
{:pulp=>{:status=>"FAIL", :message=>"Not all necessary pulp workers running at https://centos7-devel.tlv-fedora25.example.com/pulp/api/v2/."},
 :pulp_auth=>{:status=>"FAIL", :message=>"Skipped pulp_auth check after failed pulp check"}, 
:candlepin=>{:status=>"ok", :duration_ms=>"56"},
 :candlepin_auth=>{:status=>"ok", :duration_ms=>"26"}, 
:foreman_tasks=>{:status=>"ok", :duration_ms=>"18373"}}

while the api (`/api/ping`) returns:

{"status":"FAIL","services":{"pulp":{"status":"FAIL"},"pulp_auth":{"status":"FAIL"},
"candlepin":{"status":"ok","duration_ms":"19"},
"candlepin_auth":{"status":"ok","duration_ms":"14"},
"foreman_tasks":{"status":"FAIL"}}}

Actions #1

Updated by The Foreman Bot almost 5 years ago

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

Updated by Amir Fefer almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by Jonathon Turel almost 5 years ago

  • Target version set to Katello 3.13.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF