From 28a433c22b254f4eb016830246f006c3bcb174b9 Mon Sep 17 00:00:00 2001 From: Alan Bishop Date: Fri, 16 Sep 2016 12:05:46 -0400 Subject: [PATCH] Work around upstream issue #92 Work around https://github.com/ceph/cbt/issues/92. --- benchmark/radosbench.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmark/radosbench.py b/benchmark/radosbench.py index 09e836cd..2c0e497c 100644 --- a/benchmark/radosbench.py +++ b/benchmark/radosbench.py @@ -78,7 +78,8 @@ def _run(self, mode, run_dir, out_dir): if self.concurrent_ops: concurrent_ops_str = '--concurrent-ios %s' % self.concurrent_ops #determine rados version - rados_version_str = subprocess.check_output(["rados", "-v"]) + #rados_version_str = subprocess.check_output(["rados", "-v"]) + rados_version_str, err = common.pdsh(settings.getnodes('head'), '/usr/bin/rados -v').communicate() m = re.findall("version (\d+)", rados_version_str) rados_version = int(m[0])