Fix test_spice for rbac policy access error
The below recent tempest change modified the test_spice
to use reader role to get remote console and console auth token,
where those APIs are member and admin user APIs.
- https://review.opendev.org/c/openstack/tempest/+/972060
Change-Id: I80e27f796cb8925b5dc4e1054f4f7a8576aa39b1
Signed-off-by: Ghanshyam Maan <gmaan@ghanshyammann.com>
diff --git a/tempest/api/compute/admin/test_spice.py b/tempest/api/compute/admin/test_spice.py
index 2595212..8942565 100644
--- a/tempest/api/compute/admin/test_spice.py
+++ b/tempest/api/compute/admin/test_spice.py
@@ -70,7 +70,7 @@
# Request a spice-direct console and validate the result. Any user can
# do this.
- body = self.reader_servers_client.get_remote_console(
+ body = self.servers_client.get_remote_console(
self.server['id'], console_type='spice-direct', protocol='spice')
console_url = body['remote_console']['url']
@@ -92,7 +92,7 @@
# admins can do this because its expected that the request is coming
# from a proxy and we don't want to expose intimate hypervisor details
# to all users.
- body = self.reader_servers_client.get_console_auth_token_details(
+ body = self.admin_servers_client.get_console_auth_token_details(
token)
console = body['console']
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index d9c7352..45e117f 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -154,6 +154,7 @@
experimental:
jobs:
- nova-multi-cell
+ - nova-alt-configurations
- tempest-with-latest-microversion
- tempest-full-oslo-master
- tempest-stestr-master