Comment 6 for bug 1908375

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

I have also made an attempt to run tasks.ceph_deploy test suite with vstart as this seems to be the only one that makes use of `ceph-volume`, but I have failed due to Python2/Python3 syntax issues.

I have set up venv with Python2 (since qa/tasks/vstart_runner.py is not Python3 compatible) with teuthology (pip install git+https://github.com/ceph/teuthology@luminous#egg=teuthology[test]).

Test run result:
Traceback (most recent call last):
  File "../qa/tasks/vstart_runner.py", line 1086, in <module>
    exec_test()
  File "../qa/tasks/vstart_runner.py", line 893, in exec_test
    args=["ps", "-u"+str(os.getuid())]
  File "../qa/tasks/vstart_runner.py", line 296, in run
    proc.wait()
  File "../qa/tasks/vstart_runner.py", line 164, in wait
    self.stdout.write(out)
TypeError: unicode argument expected, got 'str'

I'm not sure how to successfully run the suite, but I'll keep trying.