]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
ceph_ansible: Enforce python3 for virtualenv 1402/head
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 28 Jan 2020 02:32:04 +0000 (12:32 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 28 Jan 2020 02:32:04 +0000 (12:32 +1000)
Fixes: https://tracker.ceph.com/issues/43799
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
teuthology/task/ceph_ansible.py

index b6af083dd5cb78545e1762559d799dadb8fadb57..b6a662252e6cd829b86ee1402050395979af86c1 100644 (file)
@@ -421,6 +421,7 @@ class CephAnsible(Task):
             run.Raw(';'),
             'virtualenv',
             run.Raw('--system-site-packages'),
+            run.Raw('--python=python3'),
             'venv',
             run.Raw(';'),
             run.Raw('source venv/bin/activate'),