Bug 1335927
| Summary: | Calamari health_counters api returns INTERNAL SERVER ERROR | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | anmol babu <anbabu> |
| Component: | Calamari | Assignee: | Christina Meno <gmeno> |
| Calamari sub component: | Back-end | QA Contact: | Harish NV Rao <hnallurv> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | unspecified | CC: | ceph-eng-bugs, ceph-qe-bugs, hnallurv, kdreyer |
| Version: | 2.0 | ||
| Target Milestone: | rc | ||
| Target Release: | 2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | RHEL: calamari-server-1.4.0-0.8.rc11.el7cp Ubuntu: calamari-server_1.4.0~rc11-2redhat1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-23 19:38:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 |
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: