Why is the command `ceph mds metadata` not showing information for the active metadata server in Red Hat Ceph Storage?
Issue
-
The commands
ceph fs statusandceph mds metadataare not showing any information about the active metadata server ( MDS ). Some sample outputs:# ceph fs status my-filesystem - 0 clients ============= RANK STATE MDS ACTIVITY DNS INOS DIRS CAPS 0 active my-filesystem.mons-2.awciqy Reqs: 0 /s 0 0 0 0 POOL TYPE USED AVAIL cephfs.my-filesystem.meta metadata 139k 8373M cephfs.my-filesystem.data data 0 8373M STANDBY MDS my-filesystem.mgmt-0.ydwmuf mdsfsname.mons-2.bxmomv mdsfsname.mgmt-0.uyccno VERSION DAEMONS None my-filesystem.mons-2.awciqy, mdsfsname.mons-2.bxmomv ceph version 16.2.8-84.el8cp (c2980f2fd700e979d41b4bad2939bb90f0fe435c) pacific (stable) my-filesystem.mgmt-0.ydwmuf, mdsfsname.mgmt-0.uyccnoThe active MDS is
my-filesystem.mons-2.awciqyin the above capture. Note that theVERSIONfield is empty for this MDS instance and formdsfsname.mons-2.bxmomv. The commandceph mds metadatais also not showing any information for these two services.# ceph mds metadata [ { "name": "my-filesystem.mgmt-0.ydwmuf", "addr": "[v2:sample-ip-1:6802/8088205,v1:sample-ip-1:6803/8088205]", "arch": "x86_64", "ceph_release": "pacific", "ceph_version": "ceph version 16.2.8-84.el8cp (c2980f2fd700e979d41b4bad2939bb90f0fe435c) pacific (stable)", "ceph_version_short": "16.2.8-84.el8cp", "container_hostname": "host.example.com", "container_image": "registry.redhat.io/rhceph/rhceph-5-rhel8@sha256:03c87d18494d1d1796c8729871c001057d0fa19826a672d1bc34da6609e551ba", "cpu": "Intel Xeon Processor (Cascadelake)", "distro": "rhel", "distro_description": "Red Hat Enterprise Linux 8.6 (Ootpa)", "distro_version": "8.6", "hostname": "host.example.com", "kernel_description": "#1 SMP Mon Jul 18 11:14:02 EDT 2022", "kernel_version": "4.18.0-372.19.1.el8_6.x86_64", "mem_swap_kb": "0", "mem_total_kb": "3821300", "os": "Linux" }, { "name": "mdsfsname.mons-2.bxmomv" }, { "name": "my-filesystem.mons-2.awciqy" }, { "name": "mdsfsname.mgmt-0.uyccno", "addr": "[v2:sample-ip-1:6800/3641230075,v1:sample-ip-1:6801/3641230075]", "arch": "x86_64", "ceph_release": "pacific", "ceph_version": "ceph version 16.2.8-84.el8cp (c2980f2fd700e979d41b4bad2939bb90f0fe435c) pacific (stable)", "ceph_version_short": "16.2.8-84.el8cp", "container_hostname": "host.example.com", "container_image": "registry.redhat.io/rhceph/rhceph-5-rhel8@sha256:03c87d18494d1d1796c8729871c001057d0fa19826a672d1bc34da6609e551ba", "cpu": "Intel Xeon Processor (Cascadelake)", "distro": "rhel", "distro_description": "Red Hat Enterprise Linux 8.6 (Ootpa)", "distro_version": "8.6", "hostname": "host.example.com", "kernel_description": "#1 SMP Mon Jul 18 11:14:02 EDT 2022", "kernel_version": "4.18.0-372.19.1.el8_6.x86_64", "mem_swap_kb": "0", "mem_total_kb": "3821300", "os": "Linux" } ] -
Why is this issue occurring? Is there any fix or workaround?
Environment
Red Hat Ceph Storage, all versions.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.