Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1340855 - Calamari returns empty dictionary for mon status api
Calamari returns empty dictionary for mon status api
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Calamari (Show other bugs)
2.0
Unspecified Unspecified
urgent Severity urgent
: rc
: 2.0
Assigned To: Gregory Meno
rakesh
:
Depends On:
Blocks: 1343229
  Show dependency treegraph
 
Reported: 2016-05-30 08:29 EDT by anmol babu
Modified: 2016-08-23 15:40 EDT (History)
6 users (show)

See Also:
Fixed In Version: calamari-server-1.4.1-1.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-23 15:40:10 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-30 08:29:31 EDT
Description of problem:
With calamari on only one of the mons in the cluster,the mon status api returns empty json for mons without calamari running. However, the status is obtained correctly for mon on which calamari is running.

Version-Release number of selected component (if applicable):
calamari-server-1.4.0-0.10.rc13.el7cp.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create cluster
2. Invoke the calamari api cluster/{cluster-fsid}/mon/{mon-name}/status?format=json with mon-name as the mon name of mon without calamari running

Actual results:
The api returns empty dictionary

Expected results:
The api should return appropriate response.

Additional info:
We are using calamari on one mon in rhscon. And we found the issue in calamari on one mon
Comment 2 Gregory Meno 2016-06-09 00:14:59 EDT
https://github.com/ceph/calamari/pull/459
Comment 4 Gregory Meno 2016-06-14 13:47:17 EDT
v1.4.1
Comment 6 Shubhendu Tripathi 2016-06-17 08:21:13 EDT
Find it working with build calamari-server-1.4.2-1.el7cp.x86_64
Comment 7 Harish NV Rao 2016-06-22 08:25:42 EDT
cluster/{cluster-fsid}/mon/{mon-name}/status?format=json is now displaying: 
{"election_epoch": null, "quorum": [0, 1, 2], "rank": 1}
Comment 9 errata-xmlrpc 2016-08-23 15:40:10 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.