Get rid of warning caused by [service_credentials] region_name

oslo.config automatically replaces - in option names by _. Because of
this behavior now we get the following warning always if
the [service_credentials] region_name parameter is set.

Deprecated: Option "region_name" from group "service_credentials" is
deprecated. Use option "region_name" from group "service_credentials".

Change-Id: I2a8d09aaef4621d3f99d1d7025db9b357c44398e
This commit is contained in:
Takashi Kajinami 2022-06-17 21:49:13 +09:00 committed by Eyal
parent f538c886b3
commit 7f2098610a
4 changed files with 9 additions and 5 deletions

View File

@ -10,15 +10,18 @@
jobs:
- vitrage-tempest-plugin-api
- vitrage-tempest-plugin-api-ipv6-only
- vitrage-tempest-plugin-datasources
- vitrage-tempest-plugin-mock
- vitrage-tempest-plugin-datasources:
# TODO(eyalb): until deilomter will be fixed
voting: false
- vitrage-grenade
gate:
jobs:
- vitrage-tempest-plugin-api
- vitrage-tempest-plugin-api-ipv6-only
- vitrage-tempest-plugin-datasources
- vitrage-tempest-plugin-datasources:
# TODO(eyalb): until deilomter will be fixed
voting: false
- vitrage-grenade
- job:

View File

@ -3,4 +3,5 @@
# https://docs.openstack.org/devstack/latest/plugins.html#plugin-interface
# Enable both versioned and unversioned notifications.
NOVA_NOTIFICATION_FORMAT=both
NOVA_NOTIFICATION_FORMAT=both
export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python

View File

@ -12,3 +12,4 @@ testtools>=2.3.0 # MIT
stestr>=2.0.0 # Apache-2.0
reno>=3.1.0 # Apache-2.0
zake>=0.1.6 # Apache-2.0
WebTest>= 3.0.0 # Apache-2.0

View File

@ -85,7 +85,6 @@ def delete_trust_id(trust_id, auth_plugin):
OPTS = [
cfg.StrOpt('region_name',
default=os.environ.get('OS_REGION_NAME'),
deprecated_name="region-name",
help='Region name to use for OpenStack service endpoints.'),
cfg.StrOpt('interface',
default=os.environ.get(