From 1d141daaf673d7e28e4980812b4bff953a97518b Mon Sep 17 00:00:00 2001 From: Leticia Wanderley Date: Fri, 4 Aug 2017 00:42:59 -0300 Subject: [PATCH] Feature flag on tempest conf to notify enabled LDAP This adds a new feature flag on tempest conf whenever LDAP is enabled. When this flag is set to True Tempest users and groups identity tests adapt to fetch users and groups from different domains. Change-Id: I368ddf34908b906355c422bd1afd6ab9b1a80053 Depends-On: Iedb470c51fa2174ab7651e6b7e22eff1f25f7aac --- lib/tempest | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/tempest b/lib/tempest index cc65ec7aa9..61fda7f1b9 100644 --- a/lib/tempest +++ b/lib/tempest @@ -297,6 +297,12 @@ function configure_tempest { # Newton and Ocata. This option can be removed after Mitaka is end of life. iniset $TEMPEST_CONFIG identity-feature-enabled forbid_global_implied_dsr True + # When LDAP is enabled domain specific drivers are also enabled and the users + # and groups identity tests must adapt to this scenario + if is_service_enabled ldap; then + iniset $TEMPEST_CONFIG identity-feature-enabled domain_specific_drivers True + fi + # Image # We want to be able to override this variable in the gate to avoid # doing an external HTTP fetch for this test.