]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
admin_socket: split command into multiple arguments
authorSage Weil <sage@inktank.com>
Fri, 9 Aug 2013 16:04:25 +0000 (09:04 -0700)
committerSage Weil <sage@inktank.com>
Fri, 9 Aug 2013 16:04:25 +0000 (09:04 -0700)
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 <sage@inktank.com>
teuthology/task/admin_socket.py

index 7b800eef4b4b8cc20397758f0f2a2aca69960a00..81d75c7235b14b83b00c37fd120abad0f048a457 100644 (file)
@@ -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: