Configure nova 'service' role in tempest

In this release, nova is implementing the service role in
policy[depends-on], and Tempest being branchless needs to
decide if service defaults are present in testing release/
env (Needed-By). Setting the service role availability in
Tempest so that from this release onward, tests can use
service role user to perform the required operation in nova.

Depends-On: https://review.opendev.org/c/openstack/nova/+/957578
Needed-By: https://review.opendev.org/c/openstack/tempest/+/892639

Change-Id: I463cb85f3fcb9f2fdd7aa4a0a5f2ae49782e3fc1
Signed-off-by: Ghanshyam Maan <gmaan@ghanshyammann.com>
This commit is contained in:
Ghanshyam Maan
2025-08-27 02:40:21 +00:00
parent c072f159cf
commit 34689f5879

View File

@@ -535,7 +535,7 @@ function configure_tempest {
fi
# NOTE(gmaan): Since 2025.2, 'manager' role is available in nova.
local nova_policy_roles="admin,manager,member,reader"
local nova_policy_roles="admin,manager,member,reader,service"
iniset $TEMPEST_CONFIG compute-feature-enabled nova_policy_roles $nova_policy_roles
# Network