]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/keystone: add requirements.txt with python-openstackclient
authorCasey Bodley <cbodley@redhat.com>
Tue, 10 Sep 2019 19:49:45 +0000 (15:49 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 13 Sep 2019 19:04:43 +0000 (15:04 -0400)
works around a VersionConflict error by including the requirements on
jsonschema when installing python-openstackclient

also pin the version of python-openstackclient, because newer clients
don't seem to recognize --os-url

Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/tasks/keystone.py

index 2ddb98878d70480bbcec9f74c8ad9079e608643c..c94af50d8e1b44a06014fde1ace1d847efa6de54 100644 (file)
@@ -142,7 +142,9 @@ def setup_venv(ctx, config):
             ])
 
         run_in_keystone_venv(ctx, client,
-            [   'pip', 'install', 'python-openstackclient' ])
+            [   'pip', 'install', 'python-openstackclient<=3.19.0',
+                '-r', 'requirements.txt'
+            ])
     try:
         yield
     finally: