Description of problem:The api /api/v1/cluster/{cluster-fsid}/health_counters returns INTERNAL SERVER ERROR Version-Release number of selected component (if applicable): 1.4.0-0.7.rc10.el7cp.x86_64 How reproducible: consistently Steps to Reproduce: 1. Using rest client make a get request to /api/v1/cluster/{cluster-fsid}/health_counters with xsrf-token as header Actual results: Response is 500 INTERNAL SERVER ERROR Expected results: Ceph health counters like pg status based counters, etc... Additional info:
https://github.com/ceph/calamari/pull/444
qa_ack please
acked
The issue is fixed for v1: GET /api/v1/cluster/c75da670-7316-4a6b-9ff7-4ed0af98b9fc/health_counters HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS Verified on: [ubuntu@magna004 ~]$ sudo ceph -c /etc/ceph/master.conf -v ceph version 10.2.1-12.el7cp (939056d19a2a523223611ef08194666b41086b03) [ubuntu@magna004 ~]$ rpm -qa| grep ri-serv calamari-server-1.4.0-0.12.rc15.el7cp.x86_64 -------------------------------------------------------- Note: for v2, the https://10.8.128.4:8002/api/v2/cluster/<fs-id>/health_counters results in: Not Found The requested URL /api/v2/cluster/<fs-id>/health_counters was not found on this server. There may be a separate defect created for this. -----------------------------------------------------------
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. https://rhn.redhat.com/errata/RHBA-2016-1755.html