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: Shreyansh Sancheti <ssanchet>
Status: POST --- QA Contact: Pawan <pdhiran>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.2CC: akupczyk, amathuri, bhubbard, ceph-eng-bugs, cephqe-warriors, choffman, 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: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 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)