tempest cleanup should use keystone v3 client
tempest cleanup returns an error when it's initializing a saved
state, because it uses already deprecated v2 client.
The patch makes tempest cleanup use keystone role v3 client.
Closes-Bug: #1788561
Change-Id: Id607dec012ce48af6d4c7ee263a90c3ea2e1799c
diff --git a/tempest/cmd/cleanup_service.py b/tempest/cmd/cleanup_service.py
index ccceb34..e2e1bfb 100644
--- a/tempest/cmd/cleanup_service.py
+++ b/tempest/cmd/cleanup_service.py
@@ -855,7 +855,7 @@
def __init__(self, manager, **kwargs):
super(RoleService, self).__init__(kwargs)
- self.client = manager.roles_client
+ self.client = manager.roles_v3_client
def list(self):
try: