Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1335927 - Calamari health_counters api returns INTERNAL SERVER ERROR
Calamari health_counters api returns INTERNAL SERVER ERROR
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Calamari (Show other bugs)
2.0
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 2.0
Assigned To: Gregory Meno
Harish NV Rao
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-13 10:36 EDT by anmol babu
Modified: 2016-08-23 15:38 EDT (History)
4 users (show)

See Also:
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 15:38:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1755 normal SHIPPED_LIVE Red Hat Ceph Storage 2.0 bug fix and enhancement update 2016-08-23 19:23:52 EDT

  None (edit)
Description anmol babu 2016-05-13 10:36:53 EDT
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 Gregory Meno 2016-05-15 09:53:19 EDT
https://github.com/ceph/calamari/pull/444
Comment 3 Gregory Meno 2016-05-15 09:54:15 EDT
qa_ack please
Comment 4 Harish NV Rao 2016-05-16 04:47:28 EDT
acked
Comment 7 Harish NV Rao 2016-06-09 08:39:26 EDT
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 15:38:24 EDT
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.