]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
cloud.openstack: Cache authentication tokens
authorZack Cerza <zack@redhat.com>
Fri, 10 Feb 2017 17:25:53 +0000 (10:25 -0700)
committerZack Cerza <zack@redhat.com>
Fri, 24 Feb 2017 16:03:33 +0000 (09:03 -0700)
commitba436ba4a0ce12d0bf4439348e421bc355b5b652
tree3ec6fc3ddd7158a8f4ae1a77a1ed0f51aed7bf44
parentbecac177a2bd824f36c6a78eaba26f9166940b7a
cloud.openstack: Cache authentication tokens

Constantly causing Keystone to regenerate auth tokens was the cause of
our hitting rate limits during testing. This will let us reuse auth
tokens - including across processes - to avoid hitting those limits.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/provision/cloud/base.py
teuthology/provision/cloud/openstack.py
teuthology/provision/cloud/test/test_openstack.py