Drop [agent]heartbeat_timeout

The configuration option was deprecated before ocata (even earlier),
this patch drops the deprecated option.

Change-Id: I4cdff9a94aad580d22e93dcb5b9bd4aeef1412f8
This commit is contained in:
Kaifeng Wang 2019-11-18 16:23:54 +08:00
parent d7e7abe63f
commit 6ec9677383
2 changed files with 6 additions and 1 deletions

View File

@ -61,7 +61,6 @@ opts = [
'in certain states.')),
cfg.IntOpt('ramdisk_heartbeat_timeout',
default=300,
deprecated_group='agent', deprecated_name='heartbeat_timeout',
help=_('Maximum interval (in seconds) for agent heartbeats.')),
]

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The configuration option ``[agent]heartbeat_timeout`` was deprecated
before ocata release and now removed, please use
``[api]ramdisk_heartbeat_timeout`` instead.