It is possible to grab that from the admin socket, and we already have helpers that do this.
This is helpful for systems that do not provide an FSID in the ceph.conf file (see https://github.com/rook/rook/issues/2628)
ceph --admin-daemon /var/run/ceph/ceph-mon.node2.asok config show | grep -i fsid "fsid": "99c0665d-79b1-4559-a148-09a5311eb3d3",
It is possible to grab that from the admin socket, and we already have helpers that do this.
This is helpful for systems that do not provide an FSID in the ceph.conf file (see https://github.com/rook/rook/issues/2628)
ceph --admin-daemon /var/run/ceph/ceph-mon.node2.asok config show | grep -i fsid "fsid": "99c0665d-79b1-4559-a148-09a5311eb3d3",