From 8e5a594d93d6fee1e1968e62c37ce75abd24a95f Mon Sep 17 00:00:00 2001 From: Eduardo Olivares Date: Fri, 4 Mar 2022 13:13:23 +0100 Subject: [PATCH] discoverability may not be defined on object-storage-feature-enabled Using a deployer-input file that includes object-storage-feature-enabled section without discoverability fails, although discoverability is an optional parameter Change-Id: I52838fc6b6f7e576604764e1b8b7938fe4b2ea0d --- config_tempest/services/object_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_tempest/services/object_storage.py b/config_tempest/services/object_storage.py index 094d3ab9..e2a6d09d 100644 --- a/config_tempest/services/object_storage.py +++ b/config_tempest/services/object_storage.py @@ -99,7 +99,7 @@ class ObjectStorageService(Service): 'discoverability')): return False return True - except configparser.NoSectionError: + except (configparser.NoSectionError, configparser.NoOptionError): # On swift, healthcheck is under http://.../healthcheck, while in # ceph is under http://.../swift/healthcheck, we check both cases return_value = self._check_health_check('healthcheck')