Bug 1335927 - Calamari health_counters api returns INTERNAL SERVER ERROR
Summary: Calamari health_counters api returns INTERNAL SERVER ERROR
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Calamari
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 2.0
Assignee: Christina Meno
QA Contact: Harish NV Rao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-13 14:36 UTC by anmol babu
Modified: 2022-02-21 18:17 UTC (History)
4 users (show)

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:
Clone Of:
Environment:
Last Closed: 2016-08-23 19:38:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1755 0 normal SHIPPED_LIVE Red Hat Ceph Storage 2.0 bug fix and enhancement update 2016-08-23 23:23:52 UTC

Description anmol babu 2016-05-13 14:36:53 UTC
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:

Comment 2 Christina Meno 2016-05-15 13:53:19 UTC
https://github.com/ceph/calamari/pull/444

Comment 3 Christina Meno 2016-05-15 13:54:15 UTC
qa_ack please

Comment 4 Harish NV Rao 2016-05-16 08:47:28 UTC
acked

Comment 7 Harish NV Rao 2016-06-09 12:39:26 UTC
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.
-----------------------------------------------------------

Comment 9 errata-xmlrpc 2016-08-23 19:38:24 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.

https://rhn.redhat.com/errata/RHBA-2016-1755.html


Note You need to log in before you can comment on or make changes to this bug.