--- /dev/null
+# Right now, cephfs-shell is only available as a package on Ubuntu
+# This overrides the random distribution that's chosen in the other yaml fragments.
+os_type: ubuntu
+os_version: "18.04"
+tasks:
+ - cephfs_test_runner:
+ modules:
+ - tasks.cephfs.test_cephfs_shell
+++ /dev/null
-# Right now, cephfs-shell is only available as a package on Ubuntu
-# This overrides the random distribution that's chosen in the other yaml fragments.
-os_type: ubuntu
-os_version: "18.04"
-tasks:
- - cephfs_test_runner:
- modules:
- - tasks.cephfs.test_cephfs_shell
class TestCephFSShell(CephFSTestCase):
CLIENTS_REQUIRED = 1
- py_version = 'python'
-
- def setUp(self):
- CephFSTestCase.setUp(self)
- self.py_version = self.ctx.config.get('overrides', {}).get('python', 'python')
- log.info("using python version: {}".format(self.py_version))
def _cephfs_shell(self, cmd, opts=None, stdin=None):
args = ["cephfs-shell", "-c", self.mount_a.config_path]