]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/ceph_manager: accepts commands as str too
authorRishabh Dave <ridave@redhat.com>
Wed, 24 Feb 2021 11:45:49 +0000 (17:15 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 4 Mar 2021 04:12:44 +0000 (09:42 +0530)
commita1dc6b6c1964423158dcd7c930db5e3063ff210e
treea50a42ce5d006231bb736109048b3ff6be1a6247
parent61ea12852f1703d3432cf12a9f53b8e1549f2d5a
qa/ceph_manager: accepts commands as str too

Modify CephManager.run_cluster_cmd() to accept command arguments as
string as well since typing commands as strings is much lesser effort
than typing as list. This brings the interface a step closer to
teuthology.orchestra.remote.run()'s interface since it too can accept
commands arguments as string.

The change in cephfs_test_case.py is just to allow testing this PR
locally and on teuthology.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/ceph_manager.py
qa/tasks/cephfs/cephfs_test_case.py
qa/tasks/vstart_runner.py