]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-daemon: ceph-volume works without an fsid 31798/head
authorSage Weil <sage@redhat.com>
Thu, 21 Nov 2019 22:48:40 +0000 (16:48 -0600)
committerSage Weil <sage@redhat.com>
Fri, 22 Nov 2019 13:44:56 +0000 (07:44 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon/ceph-daemon

index 480ce55762aa4b2af3a357874017ca00847522bb..802765ac46fe6a21dfaca5d5295e53b28c04a412 100755 (executable)
@@ -1352,7 +1352,8 @@ def command_enter():
 @infer_fsid
 def command_ceph_volume():
     # type: () -> None
-    make_log_dir(args.fsid)
+    if args.fsid:
+        make_log_dir(args.fsid)
 
     mounts = get_container_mounts(args.fsid, 'osd', None)