Bug 759115

Summary: RFE: headpin ping should provide result for thumbslug
Product: [Retired] Subscription Asset Manager Reporter: Eric Sammons <esammons>
Component: katelloAssignee: Adam Price <adprice>
Status: CLOSED ERRATA QA Contact: sthirugn <sthirugn>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.3CC: bkearney, omaciel, sthirugn, tomckay
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 1.X   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 10:47:12 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: 871586    
Bug Blocks: 833466    

Description Eric Sammons 2011-12-01 13:04:04 UTC
Description of problem:
The headpin cli ping command currently provides results for critical components; candlepin and candlepin_auth.  In katello pulp pulp_auth are also provided, headpin as a on premise subscription management tool requires a functional thumbslug, therefore ping should return a result for thumbslug.

Version-Release number of selected component (if applicable):
katello-cli-headpin-0.1.12-1.el6.noarch

Steps to Reproduce:
1. headpin -u admin -p admin ping
  
Actual results:
 Status   Service          Result   Duration   Message                      
------------------------------------------------------------------------------------------
 fail                                                                       
          candlepin        ok       16ms                                    
          candlepin_auth   ok       14ms                                    
          pulp             fail                404 Resource Not Found       
          pulp_auth        fail                uninitialized constant Pulp  


Expected results:
 Status   Service          Result   Duration   Message                      
------------------------------------------------------------------------------------------
 ok                                                                       
          candlepin        ok       16ms                                    
          candlepin_auth   ok       14ms                                    
          thumbslug        ok       XXms


Additional info:
Currently pulp is erroneously reported on see bz 754840.

Comment 3 Adam Price 2013-01-16 16:57:16 UTC
https://github.com/Katello/katello/pull/1384

Comment 5 sthirugn@redhat.com 2013-02-11 19:31:15 UTC
Note for Retest:
Together with katello/headpin ping, please also test the SAM GUI -> About page under the System Status section for the presence of Thumbslug information.

Comment 6 Bryan Kearney 2013-06-06 20:50:26 UTC
Moving all POST / MODIFIED bugs to ON_QA due to the new builds.

Comment 7 sthirugn@redhat.com 2013-07-05 19:15:21 UTC
Verified in latest headpin nightly.

# headping -u admin -p admin ping
--------------------------------------------------------------------------------
                                 Katello Status

Status Service        Result Duration Message 
--------------------------------------------------------------------------------
ok     
candlepin      ok     47ms     
candlepin_auth ok     51ms     
elasticsearch  ok     34ms     
katello_jobs   ok     73ms     
thumbslug      ok     65ms 

Additionally SAM GUI -> About page -> System Status section also shows the Thumbslug information.

Version Tested:
* candlepin-0.8.16-1.el6.noarch
* candlepin-cert-consumer-ibm-x3655-03.ovirt.rhts.eng.bos.redhat.com-1.0-1.noarch
* candlepin-tomcat6-0.8.16-1.el6.noarch
* elasticsearch-0.19.9-7.el6.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.4.2-1.el6.noarch
* katello-cli-1.4.2-1.git.107.43fee0b.el6.noarch
* katello-cli-common-1.4.2-1.git.107.43fee0b.el6.noarch
* katello-common-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-configure-1.4.3-1.git.67.f71e590.el6.noarch
* katello-glue-candlepin-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-glue-elasticsearch-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-headpin-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-headpin-all-1.4.2-1.git.812.a3a58dc.el6.noarch
* Katello-Katello-Installation-RegisterRHNClassic-1.1-4.noarch
* Katello-Katello-Sanity-ImportKeys-1.2-1.noarch
* katello-repos-1.4.2-1.el6.noarch
* katello-selinux-1.4.3-1.git.4.99dc194.el6.noarch
* thumbslug-0.0.27-1.el6.noarch
* thumbslug-selinux-0.0.27-1.el6.noarch

Comment 9 errata-xmlrpc 2013-10-01 10:47:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1390.html