Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use Jira Cloud for all bug tracking management.

Bug 1346207

Summary: Calamari api /api/v2/cluster/<fsid>/server returns the mon FQDN wrongly with custom mon names in cluster
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Shubhendu Tripathi <shtripat>
Component: CalamariAssignee: Christina Meno <gmeno>
Calamari sub component: Back-end QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: unspecified CC: ceph-eng-bugs, ceph-qe-bugs, hnallurv, kdreyer, poelstra
Version: 2.0   
Target Milestone: rc   
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: calamari-server-1.4.2-1.el7cp, Ubuntu: calamari_1.4.2-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 19:41:29 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, 1346188    

Description Shubhendu Tripathi 2016-06-14 09:24:07 UTC
Description of problem:
If a ceph cluster is created using CLI with custom mon names say mon.a, mon.b, mon.c etc the server listing for a cluster returns the mon FQDN values as "a", "b" and "c".

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a cluster using ceph CLI
2. Invoke the calamari api /api/v2/cluster/<fsid>/server
3.

Actual results:
The mon node FQDB values are listed as "a", "b", "c".... (the suffix of mon.X) in ceph.conf file

Expected results:
The FQDN values should be proper values with full domain names like dhcp46-239.lab.egg.blr.redhat.com

Additional info:
This makes import cluster flow failed in USM as FQDN names are not correctly reported.

Comment 2 Shubhendu Tripathi 2016-06-14 12:03:35 UTC
Raising the severity as URGENT as one use case of import cluster fails in USM..

Comment 3 Christina Meno 2016-06-15 21:19:52 UTC
https://github.com/ceph/calamari/releases/tag/v1.4.2

Comment 6 Shubhendu Tripathi 2016-06-17 12:11:42 UTC
Find this working fine with build calamari-server-1.4.2-1.el7cp.x86_64

Comment 7 Harish NV Rao 2016-06-20 10:20:51 UTC
moving this defect to verified stated based on comment 6

Comment 9 errata-xmlrpc 2016-08-23 19:41:29 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