mgr/mirroring: Display remote fsid and mon_host in daemon status
The cephfs_mirror daemon returns the basic remote info.
Fetch the remote fsid and mon_host from the monitor
config map and append it.
Sample output:
[
{
"daemon_id": 4153,
"filesystems": [
{
"filesystem_id": 1,
"name": "a",
"directory_count": 0,
"peers": [
{
"uuid": "
29304477-1fd7-4709-b9f7-
8153acebbafd",
"remote": {
"client_name": "client.mirror_remote",
"cluster_name": "remote-site",
"fs_name": "a",
"mon_host": "[v2:192.168.64.5:40183,v1:192.168.64.5:40184]",
"fsid": "
5682c8e5-50cd-4cfd-b75c-
5354dcdda487"
},
"stats": {
"failure_count": 0,
"recovery_count": 0
}
}
]
}
]
}
]
Fixes: https://tracker.ceph.com/issues/73455
Signed-off-by: Kotresh HR <khiremat@redhat.com>