From a0e74a96148d29929eab44d67f964d2b0945a03f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 9 Aug 2013 09:04:25 -0700 Subject: [PATCH] admin_socket: split command into multiple arguments We were passing the command as a single string, but that does not work the same way it used to. Signed-off-by: Sage Weil --- teuthology/task/admin_socket.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teuthology/task/admin_socket.py b/teuthology/task/admin_socket.py index 7b800eef4b4b8..81d75c7235b14 100644 --- a/teuthology/task/admin_socket.py +++ b/teuthology/task/admin_socket.py @@ -78,8 +78,7 @@ def _socket_command(ctx, remote, socket_path, command, args): '{tdir}/archive/coverage'.format(tdir=testdir), 'ceph', '--admin-daemon', socket_path, - command, - ] + args, + ] + command.split(' ') + args, stdout=json_fp, ) if proc.exitstatus == 0: -- 2.39.5