]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
nuke: fix unmounted multiple fuse mount points
authorJohn Spray <jspray@redhat.com>
Thu, 3 Jul 2014 13:05:34 +0000 (14:05 +0100)
committerJohn Spray <jspray@redhat.com>
Thu, 3 Jul 2014 15:09:29 +0000 (16:09 +0100)
It was trying to pass multiple paths to fusermount, but
it should instead invoke fusermount for each path.

Signed-off-by: John Spray <john.spray@redhat.com>
teuthology/nuke.py

index eebdddb2669ed0a44663c5734d934f4c6724bacb..65b3f4d78003aa1ba6f5c99e209001acd43af536 100644 (file)
@@ -34,7 +34,7 @@ def shutdown_daemons(ctx):
                 'grep', 'ceph-fuse', '/etc/mtab', run.Raw('|'),
                 'grep', '-o', " /.* fuse", run.Raw('|'),
                 'grep', '-o', "/.* ", run.Raw('|'),
-                'xargs', 'sudo', 'fusermount', '-u', run.Raw(';'),
+                'xargs', '-n', '1', 'sudo', 'fusermount', '-u', run.Raw(';'),
                 'fi',
                 run.Raw(';'),
                 'sudo',