Bug 773733 - katello ping should take elasticsearch, katello-jobs (others?) into consideration.
Summary: katello ping should take elasticsearch, katello-jobs (others?) into considera...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-01-12 18:08 UTC by Corey Welton
Modified: 2019-09-26 13:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:19:09 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Corey Welton 2012-01-12 18:08:28 UTC
Description of problem:
Probably been a while since this was updated. It doesn't check for elasticsearch, maybe there are other bits that need to be checked too.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  curl -k https://admin:admin@localhost/katello/api/ping
2.  view results.
  
Actual results:
{"result":"ok","status":{"candlepin_auth":{"result":"ok","duration_ms":"56"},"pulp":{"result":"ok","duration_ms":"3041"},"pulp_auth":{"result":"ok","duration_ms":"68"},"candlepin":{"result":"ok","duration_ms":"1013"}}}

Expected results:

the same, with an elasticsearch check,

Additional info:

Comment 1 Corey Welton 2012-01-12 18:11:14 UTC
relevance: elasticsearch died on my system. Afterwards, I could not login.  Pinging server showed everything hunky-dory, but in actuality, elasticsearch was down.

Comment 2 Corey Welton 2012-01-12 19:35:33 UTC
adding katello-jobs to this list, if possible.

Comment 3 Justin Sherrill 2012-01-16 21:50:50 UTC
Elastic search was actually added as part of:  

284adce1eabd4ce0c5d132e4e1fc34b07c0e3f1d


I'm not sure how easy delayed job would be, as we can't do a simple rest call (since its not a network service).

Comment 4 Justin Sherrill 2012-01-16 22:18:25 UTC
katello-jobs wasn't too hard to do, just made a system call to 'service katello-jobs status'

c7d5bc7fdc2103e2e52e87c4fdebeb63a1d9a9a2

Comment 5 Corey Welton 2012-01-17 20:49:27 UTC
Verified that the new checks exist and that failures cause an ensuing failure to bubble up.

Comment 8 Mike McCune 2013-08-16 18:11:00 UTC
getting rid of 6.0.0 version since that doesn't exist


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