This avoids multiple instances of the admin socket and other redundancies.
Fixes: http://tracker.ceph.com/issues/21967
Fixes: http://tracker.ceph.com/issues/21406
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
76a950b2ec473741ed3cffca5c198e8c56f32a1c)
except ImportError:
raise RuntimeError("CephFS unavailable, have you installed libcephfs?")
- filesystem = LibCephFS(cluster.conf_defaults, cluster.conffile)
- filesystem.conf_parse_argv(cluster.parsed_args)
-
+ filesystem = LibCephFS(rados_inst=cluster)
filesystem.init()
ret, outbuf, outs = \
filesystem.mds_command(mds_spec, cmd, inbuf)