Stop forcing non default operator role 65/67165/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 3 Mar 2019 10:27:09 +0000 (11:27 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 3 Mar 2019 12:08:58 +0000 (13:08 +0100)
Member is the default value [1] and SwiftOperator is not created by
default in OpenStack gates (devstack)

This role should be modified by tempest custom yaml file instead.

[1] https://docs.openstack.org/tempest/latest/sampleconf.html

Change-Id: Ie77b91e36a7011e5730cbf5998e029c07ec7fe2f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 543884f5c2100878692260fd840624a549843238)

functest/ci/config_functest.yaml
functest/opnfv_tests/openstack/tempest/conf_utils.py

index dbea320..eded26e 100644 (file)
@@ -139,8 +139,6 @@ tempest:
         user_password: Tempest123!
     validation:
         ssh_timeout: 130
-    object_storage:
-        operator_role: SwiftOperator
     # network_type: vlan
     # physical_network: physnet2
     # segmentation_id: 2366
index d490ab0..5639f43 100644 (file)
@@ -168,8 +168,6 @@ def configure_tempest_update_params(
     rconfig.set(
         'validation', 'ssh_timeout',
         getattr(config.CONF, 'tempest_validation_ssh_timeout'))
-    rconfig.set('object-storage', 'operator_role',
-                getattr(config.CONF, 'tempest_object_storage_operator_role'))
     rconfig.set(
         'identity', 'v3_endpoint_type',
         os.environ.get('OS_INTERFACE', 'public'))