]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/keystone.py: install python3
authorKefu Chai <kchai@redhat.com>
Sun, 24 May 2020 14:51:05 +0000 (22:51 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 3 Jun 2020 11:57:01 +0000 (19:57 +0800)
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 <kchai@redhat.com>
qa/tasks/keystone.py

index 76ac347dfd462422f9f60f6d0aec906b695f500c..4a22a885e226e8d52b4a06ed8adae2182d4a68fd 100644 (file)
@@ -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: