Configure 'manager' role in tempest
In this release, nova is implementing the manager role in policy[depends-on], and Tempest added (depends-on) a new config option to decide if new defaults are present in testing env. Setting the manager role availability in Tempest so that test can use manager role user to perform the required operation in nova. Depends-On: https://review.opendev.org/c/openstack/nova/+/953063 Depends-On: https://review.opendev.org/c/openstack/tempest/+/953265 Change-Id: I69e32c7de5a63df1c21979f748b77e512068eeec Signed-off-by: Ghanshyam Mann <gmaan@ghanshyammann.com>
This commit is contained in:
committed by
Ghanshyam
parent
37c755e707
commit
9c180f2f06
@@ -524,6 +524,10 @@ function configure_tempest {
|
||||
iniset $TEMPEST_CONFIG compute-feature-enabled serial_console True
|
||||
fi
|
||||
|
||||
# NOTE(gmaan): Since 2025.2, 'manager' role is available in nova.
|
||||
local nova_policy_roles="admin,manager,member,reader"
|
||||
iniset $TEMPEST_CONFIG compute-feature-enabled nova_policy_roles $nova_policy_roles
|
||||
|
||||
# Network
|
||||
iniset $TEMPEST_CONFIG network project_networks_reachable false
|
||||
iniset $TEMPEST_CONFIG network public_network_id "$public_network_id"
|
||||
|
||||
Reference in New Issue
Block a user