From 188ae8904d6e8511e47f6146e3873f93926d7d83 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 4 Jun 2013 16:11:19 -0700 Subject: [PATCH] ceph_manager: don't say you have no arguments and then list them Calling ceph pg dump --format=json works better without -- before pg (how did this work before?...) Signed-off-by: Dan Mick --- teuthology/task/ceph_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/ceph_manager.py b/teuthology/task/ceph_manager.py index c5c3723fc2e63..7ddf1e8d1937c 100644 --- a/teuthology/task/ceph_manager.py +++ b/teuthology/task/ceph_manager.py @@ -586,7 +586,7 @@ class CephManager: return r def get_pg_stats(self): - out = self.raw_cluster_cmd('--', 'pg','dump','--format=json') + out = self.raw_cluster_cmd('pg','dump','--format=json') j = json.loads('\n'.join(out.split('\n')[1:])) return j['pg_stats'] -- 2.39.5