Adopt to config_dir option being a list and not a string
Since oslo.config 3.8.0 (that included
Ibd0566f11df62da031afb128c9687c5e8c7b27ae), config_dir option is a list,
not a string. While our custom provider configuration parser for
multistring options assumes the latter.
It makes all installations that 1) pass at least one --config-dir option
in CLI and 2) enable any service plugin that relies on provider
definitions, to fail to start neutron-server. For example, this affects
any RDO Mitaka installation with *aas service plugins enabled.
Since Newton requires >=3.9.0, we are fine to switch to the list type
without any code to support backwards compatibility with older option
type. For Mitaka backport, we will need to handle both cases.
Reviewed: https:/ /review. openstack. org/320304 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7f31ccb7bbe 0f78a34d704c59d 0562ea10029893
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7f31ccb7bbe0f78 a34d704c59d0562 ea10029893
Author: Ihar Hrachyshka <email address hidden>
Date: Tue May 24 10:42:10 2016 +0200
Adopt to config_dir option being a list and not a string
Since oslo.config 3.8.0 (that included f62da031afb128c 9687c5e8c7b27ae ), config_dir option is a list,
Ibd0566f11d
not a string. While our custom provider configuration parser for
multistring options assumes the latter.
It makes all installations that 1) pass at least one --config-dir option
in CLI and 2) enable any service plugin that relies on provider
definitions, to fail to start neutron-server. For example, this affects
any RDO Mitaka installation with *aas service plugins enabled.
Since Newton requires >=3.9.0, we are fine to switch to the list type
without any code to support backwards compatibility with older option
type. For Mitaka backport, we will need to handle both cases.
Change-Id: I10e399a852d9fb a0fd1aea79a10e2 e7c906e4b3c
Closes-Bug: #1585102