From 2722268479dac1bc8de21e484e63ff4cdb97626b Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Mon, 9 Mar 2020 21:12:14 +0100 Subject: [PATCH] Fix TypeError on configparser ConfigParser only accept strings, these two opptions were setting to boolean python value, and failing with TypeEror exception option values must be strings Closes-Bug: #1866687 Change-Id: Ia37ad9e14b51132f7ffd234e8010188e086a6ddf --- config_tempest/services/share.py | 2 +- config_tempest/services/volume.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config_tempest/services/share.py b/config_tempest/services/share.py index 8b98294c..d14ce38a 100644 --- a/config_tempest/services/share.py +++ b/config_tempest/services/share.py @@ -46,7 +46,7 @@ class ShareService(VersionedService): ] conf.set('share', 'backend_names', ','.join(backends)) if len(backends) > 1: - conf.set('share', 'multi_backend', True) + conf.set('share', 'multi_backend', 'True') def get_unversioned_service_type(self): return 'share' diff --git a/config_tempest/services/volume.py b/config_tempest/services/volume.py index 0e88fa5c..b61c34b8 100644 --- a/config_tempest/services/volume.py +++ b/config_tempest/services/volume.py @@ -58,7 +58,7 @@ class VolumeService(VersionedService): ] conf.set('volume', 'backend_names', ','.join(backends)) if len(backends) > 1: - conf.set('volume-feature-enabled', 'multi_backend', True) + conf.set('volume-feature-enabled', 'multi_backend', 'True') def get_service_extension_key(self): return 'api_extensions'