Bug 2110933

Summary: [RFE] : ceph versions : mds : remove empty list entries from ceph versions
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: RADOSAssignee: Prashant Dhange <pdhange>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: low Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 5.2CC: akraj, akupczyk, amathuri, bhubbard, ceph-eng-bugs, cephqe-warriors, choffman, kdreyer, ksirivad, lflores, nojha, pdhange, rfriedma, rzarzyns, skanta, sseshasa, vumrao
Target Milestone: ---Keywords: FutureFeature
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.0-1 Doc Type: Bug Fix
Doc Text:
.The Ceph version command no longer returns the empty version list Previously, if the MDS daemon was not deployed in the cluster then the Ceph version command returned an empty version list for MDS daemons that represented version inconsistency. This should not be shown if the daemon is not deployed in the cluster. With this fix, the daemon version information is skipped if the daemon version map is empty and the Ceph version returns the version information only for the Ceph daemons which are deployed in the cluster.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-13 15:19:05 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: 2237662    

Description Vasishta 2022-07-26 08:22:46 UTC
Description of problem:
In out put of ceph versions, empty list gets printed for mds but not for other daemons.

if there are no rgw/rbd-mirror daemon, ceph-version doesn't display any information (empty list) for those daemons.
only for mds, empty list gets printed if there are no mds.

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

Steps to Reproduce:
1. Configure a ceph cluster without mds and rgw, check ceph versions

Actual results:
Empty list gets printed only for mds

Expected results:
no empty list

Additional info:
(Just a enhancement request to maintain uniformity and aesthetic)

Comment 28 errata-xmlrpc 2023-12-13 15:19:05 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 (Red Hat Ceph Storage 7.0 Bug Fix update), 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://access.redhat.com/errata/RHBA-2023:7780

Comment 29 Red Hat Bugzilla 2024-04-12 04:25:08 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days