]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-daemon: create log path for shell (if needed)
authorSage Weil <sage@redhat.com>
Tue, 1 Oct 2019 19:14:05 +0000 (14:14 -0500)
committerSage Weil <sage@redhat.com>
Sat, 5 Oct 2019 01:33:35 +0000 (20:33 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon

index a9e5ff0445710ff307aaf20acc021a169b335e79..50c381df348396a64100b9ff6f4f7dc55f8bd8b6 100755 (executable)
@@ -652,6 +652,8 @@ def command_run():
 ##################################
 
 def command_shell():
+    log_dir = get_log_dir(args.log_dir, args.fsid)
+    makedirs(log_dir)
     if '.' in args.name:
         (daemon_type, daemon_id) = args.name.split('.')
     else: