diff --git a/etc/tempest.conf.sample b/etc/tempest.conf.sample index ed3cf6cd71..020baa1b20 100644 --- a/etc/tempest.conf.sample +++ b/etc/tempest.conf.sample @@ -210,12 +210,8 @@ build_timeout = 300 [object-storage] # This section contains configuration options used when executing tests # against the OpenStack Object Storage API. -# This should be the username of a user WITHOUT administrative privileges -username = admin -# The above non-administrative user's password -password = password -# The above non-administrative user's tenant name -tenant_name = admin + +# You can configure the credentials in the compute section # The type of endpoint for an Object Storage API service. Unless you have a # custom Keystone service catalog implementation, you probably want to leave diff --git a/etc/tempest.conf.tpl b/etc/tempest.conf.tpl index 880a3c1ce1..8ef5b840ae 100644 --- a/etc/tempest.conf.tpl +++ b/etc/tempest.conf.tpl @@ -181,11 +181,8 @@ build_timeout = %VOLUME_BUILD_TIMEOUT% # This section contains configuration options used when executing tests # against the OpenStack Object Storage API. # This should be the username of a user WITHOUT administrative privileges -username = %USERNAME% -# The above non-administrative user's password -password = %PASSWORD% -# The above non-administrative user's tenant name -tenant_name = %TENANT_NAME% + +# You can configure the credentials in the compute section # The type of endpoint for an Object Storage API service. Unless you have a # custom Keystone service catalog implementation, you probably want to leave diff --git a/tempest/config.py b/tempest/config.py index 0ccd4b6e03..cd41f1c54c 100644 --- a/tempest/config.py +++ b/tempest/config.py @@ -399,21 +399,6 @@ class ObjectStorageConfig(BaseConfig): SECTION_NAME = "object-storage" - @property - def username(self): - """Username to use for Object-Storage API requests.""" - return self.get("username", "admin") - - @property - def tenant_name(self): - """Tenant name to use for Object-Storage API requests.""" - return self.get("tenant_name", "admin") - - @property - def password(self): - """API key to use when authenticating.""" - return self.get("password", "password") - @property def catalog_type(self): """Catalog type of the Object-Storage service."""