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
diff --git a/telemetry_tempest_plugin/config.py b/telemetry_tempest_plugin/config.py
index 7fc17a8..d5d9245 100644
--- a/telemetry_tempest_plugin/config.py
+++ b/telemetry_tempest_plugin/config.py
@@ -24,10 +24,13 @@
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"