From: Brad Hubbard Date: Tue, 28 Jan 2020 02:32:04 +0000 (+1000) Subject: ceph_ansible: Enforce python3 for virtualenv X-Git-Tag: 1.1.0~161^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=40759b59b21cb32853783eff64aca2b874afc83a;p=teuthology.git ceph_ansible: Enforce python3 for virtualenv Fixes: https://tracker.ceph.com/issues/43799 Signed-off-by: Brad Hubbard --- diff --git a/teuthology/task/ceph_ansible.py b/teuthology/task/ceph_ansible.py index b6af083dd..b6a662252 100644 --- a/teuthology/task/ceph_ansible.py +++ b/teuthology/task/ceph_ansible.py @@ -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'),