]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/test_orchestrator: correct ceph-volume path 25839/head
authorKefu Chai <kchai@redhat.com>
Tue, 8 Jan 2019 18:59:15 +0000 (02:59 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 9 Jan 2019 14:19:07 +0000 (22:19 +0800)
s/ceph_volume/ceph-volume/

Fixes: http://tracker.ceph.com/issues/37773
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/test_orchestrator/module.py

index 324aeb0761203f182b9f0c2cd2d9be6311b1b7f3..41162b6db9000ecc301d8fe61638a9354edc676f 100644 (file)
@@ -193,7 +193,7 @@ class TestOrchestrator(MgrModule, orchestrator.Orchestrator):
         There is no guarantee which devices are returned by get_inventory.
         """
         try:
-            c_v_out = check_output(['ceph_volume', 'inventory', '--format', 'json'])
+            c_v_out = check_output(['ceph-volume', 'inventory', '--format', 'json'])
         except OSError:
             cmd = """
             . /tmp/ceph-volume-virtualenv/bin/activate