Bug 1348529

Summary: 2.0: /api/v2/cluster/{cluster-fsid}/server lists all the mons and osds but with incorrect values for few fields.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Harish NV Rao <hnallurv>
Component: CalamariAssignee: Christina Meno <gmeno>
Calamari sub component: Back-end QA Contact: Harish NV Rao <hnallurv>
Status: CLOSED WONTFIX Docs Contact:
Severity: medium    
Priority: unspecified CC: ceph-eng-bugs
Version: 2.0   
Target Milestone: rc   
Target Release: 2.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-04 18:22: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:

Description Harish NV Rao 2016-06-21 11:54:59 UTC
Description of problem:
-----------------------

This is from https://bugzilla.redhat.com/show_bug.cgi?id=1319892#c9:

The api /api/v2/cluster/{cluster-fsid}/server lists all the mons and osds but with incorrect values for few fields.

1) The mon details for non-leader mon does not show the right values for:
        "boot_time": "1970-01-01T00:00:00+00:00" (expected: actual boot time) 
        "ceph_version": null (expected: should show proper ceph version)
        "fqdn": cephqe4 (expected: should show actual fqdn)

2) The osd details for all osd hosts show following:
        "last_contact": null, 
        "boot_time": null, 
        "ceph_version": null

Version-Release number of selected component (if applicable):
 calamari-server-1.4.0-0.12.rc15.el7cp.x86_64
 ceph version 10.2.1-13.el7cp

Comment 2 Christina Meno 2016-06-21 17:35:02 UTC
boottime and ceph version aren't needed in 2.0 moving out
The mon FQDN issue is reported separately here https://bugzilla.redhat.com/show_bug.cgi?id=1348166