Fix aodh service config option name

aodh service config option name registered in
Tempest's service_available group is 'aodh_plugin' which
is not consistent with all other service_available config
option.

After below patch Devstack will automatically set all service
availability on tempest side. For that all services name should
going to be registered on Tempest must be consistent with
service name registered on devstack side.
- I02be777bf93143d946ccbb8e9eff637bfd1928d4

This patch rename the config option name to 'aodh'
and keep the old name with deprecation warning.
Closes-Bug: #1743688

Change-Id: I7739e0b672a7211a1d643543fdc79031affa0a0b
This commit is contained in:
ghanshyam 2018-01-23 12:35:06 +03:00
parent 319cb26ef6
commit 8bccc06c2b
1 changed files with 5 additions and 2 deletions

View File

@ -24,10 +24,13 @@ service_option = [cfg.BoolOpt('ceilometer',
default=True,
help="Whether or not Panko is expected to be"
"available"),
cfg.BoolOpt("aodh_plugin",
cfg.BoolOpt("aodh",
default=True,
help="Whether or not Aodh is expected to be"
"available"),
"available",
deprecated_opts=[cfg.DeprecatedOpt(
'aodh_plugin',
group='service_available')]),
cfg.BoolOpt('gnocchi',
default=True,
help="Whether or not Gnocchi is expected to be"