Bug 1340855
| Summary: | Calamari returns empty dictionary for mon status api | ||
|---|---|---|---|
| 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: | rakesh-gm <rgowdege> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | urgent | CC: | ceph-eng-bugs, gmeno, hnallurv, kdreyer, shtripat, vakulkar |
| Version: | 2.0 | ||
| Target Milestone: | rc | ||
| Target Release: | 2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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 19:40:10 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1343229 | ||
v1.4.1 Find it working with build calamari-server-1.4.2-1.el7cp.x86_64
cluster/{cluster-fsid}/mon/{mon-name}/status?format=json is now displaying:
{"election_epoch": null, "quorum": [0, 1, 2], "rank": 1}
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: 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