Project

General

Profile

Bug #51989

cephfs-mirror: cephfs-mirror daemon status for a particular FS is not showing

Added by Venky Shankar over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

`daemon status` doesn't require a file system name.

ceph fs snapshot mirror daemon status  
Error ENOENT: filesystem None does not exist

[ceph: root@magna021 ceph]# ceph fs snapshot mirror daemon status cephfs
[{"daemon_id": 2909186, "filesystems": [{"filesystem_id": 8, "name": "cephfs-ec", "directory_count": 3, "peers": [{"uuid": "a021d3cd-dda6-4d61-802c-9243d0702a8f", "remote": {"client_name": "client.mirror_new", "cluster_name": "new", "fs_name": "cephfs-new"}, "stats": {"failure_count": 0, "recovery_count": 0}}]}, {"filesystem_id": 11, "name": "cephfs", "directory_count": 3, "peers": [{"uuid": "54d054aa-f9a4-484d-851a-5b1cd1c5f678", "remote": {"client_name": "client.mirror_secondary", "cluster_name": "remote-site", "fs_name": "cephfs-remote"}, "stats": {"failure_count": 0, "recovery_count": 0}}]}]}]

[ceph: root@magna021 ceph]# ceph fs snapshot mirror daemon status cephfs-ec
[{"daemon_id": 2909186, "filesystems": [{"filesystem_id": 8, "name": "cephfs-ec", "directory_count": 3, "peers": [{"uuid": "a021d3cd-dda6-4d61-802c-9243d0702a8f", "remote": {"client_name": "client.mirror_new", "cluster_name": "new", "fs_name": "cephfs-new"}, "stats": {"failure_count": 0, "recovery_count": 0}}]}, {"filesystem_id": 11, "name": "cephfs", "directory_count": 3, "peers": [{"uuid": "54d054aa-f9a4-484d-851a-5b1cd1c5f678", "remote": {"client_name": "client.mirror_secondary", "cluster_name": "remote-site", "fs_name": "cephfs-remote"}, "stats": {"failure_count": 0, "recovery_count": 0}}]}]}]
[ceph: root@magna021 ceph]#

Remove file system name from `daemon status` command interface.


Related issues

Copied to CephFS - Backport #52627: pacific: cephfs-mirror: cephfs-mirror daemon status for a particular FS is not showing Resolved

History

#1 Updated by Venky Shankar over 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 42584

#2 Updated by Patrick Donnelly over 2 years ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Backport Bot over 2 years ago

  • Copied to Backport #52627: pacific: cephfs-mirror: cephfs-mirror daemon status for a particular FS is not showing added

#4 Updated by Loïc Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF