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 773733

Summary: katello ping should take elasticsearch, katello-jobs (others?) into consideration.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: PackagingAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: bkearney, jsherril
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:19:09 UTC Type: ---
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: 747354    

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