From cdf20f9f4da6f57ab709bf2532c356a70bec7878 Mon Sep 17 00:00:00 2001 From: yatin Date: Mon, 2 Jul 2018 09:59:04 +0530 Subject: [PATCH] Fix object store feature-enabled config Currently wrong configuration for object-store service is being set:- object-store-feature-enabled, but it should be: object-storage-feature-enabled [1]. [1] https://git.openstack.org/cgit/openstack/tempest/tree/tempest/config.py#n913 Change-Id: I052b7ed371d6daee886fa94e88ccca7390cebc38 --- config_tempest/services/services.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config_tempest/services/services.py b/config_tempest/services/services.py index 0ad51b7c..1a2ec521 100644 --- a/config_tempest/services/services.py +++ b/config_tempest/services/services.py @@ -240,6 +240,10 @@ class Services(object): supported_versions = [] else: supported_versions = service_object.get_versions() + # FIXME: object-store config param object-storage needs to be + # handled here In future this should be removed from Services class + if service == 'object-store': + service = 'object-storage' section = service + '-feature-enabled' for version in service_info['supported_versions']: is_supported = any(version in item @@ -271,4 +275,8 @@ class Services(object): service_object = self.get_service(service) if service_object is not None: extensions = ','.join(service_object.get_extensions()) + # FIXME: object-store config param object-storage needs to be + # handled here In future this should be removed from Services class + if service == 'object-store': + service = 'object-storage' self._conf.set(service + postfix, ext_key, extensions)