From 40759b59b21cb32853783eff64aca2b874afc83a Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Tue, 28 Jan 2020 12:32:04 +1000 Subject: [PATCH] ceph_ansible: Enforce python3 for virtualenv Fixes: https://tracker.ceph.com/issues/43799 Signed-off-by: Brad Hubbard --- teuthology/task/ceph_ansible.py | 1 + 1 file changed, 1 insertion(+) 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'), -- 2.47.3