Description of problem: Recently katello/ping returns 0 for a case when candlepin service is off. Version-Release number of selected component (if applicable): recent katello: katello-0.1.110-2.el6.x86_64 How reproducible: always on stopped tomcat6 Steps to Reproduce: 1. service tomcat6 stop; 2. curl -sk -uadmin:admin https://<fqdn>/katello/api/ping/ 3. echo $? Actual results: 0 Expected results: non zero value. Additional info: Output from katello ping command: --- {"result":"fail","status":{"pulp":{"result":"ok","duration_ms":"61"},"candlepin_auth":{"result":"fail","message":"Connection refused - connect(2)"},"pulp_auth":{"result":"ok","duration_ms":"64"},"candlepin":{"result":"fail","message":"Connection refused - connect(2)"}}}
sorry - doing through curl... will try with `katello ping` CLI command.
so with cli command it's ok. I guess makes sense to close this "bug".