From: Kefu Chai Date: Sun, 24 May 2020 14:51:05 +0000 (+0800) Subject: qa/tasks/keystone.py: install python3 X-Git-Tag: v14.2.10~17^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=34cf142bfc1fbb0035e85ceca3df3869ff4a9f1d;p=ceph.git qa/tasks/keystone.py: install python3 install python3 for keystone's tox based test otherwise python34 would be installed, and keystone's tox based test does not support python34. this change is not cherry-picked from master, as our python bindings are now built with python3.6, so python3.6 is always used. it's supported by keystone's test. Signed-off-by: Kefu Chai --- diff --git a/qa/tasks/keystone.py b/qa/tasks/keystone.py index 76ac347dfd46..4a22a885e226 100644 --- a/qa/tasks/keystone.py +++ b/qa/tasks/keystone.py @@ -107,6 +107,9 @@ def install_packages(ctx, config): packages[client] = toxvenv_sh(ctx, remote, ['bindep', '--brief', '--file', '{}/bindep.txt'.format(get_keystone_dir(ctx))], check_status=False).splitlines() # returns 1 on success? + # install python3 as bindep installs python34 which is not supported + # by keystone or tempest's tox based tests. + packages[client].append('python3') for dep in packages[client]: install_package(dep, remote) try: