Merge "Undercloud: Deprecate unused scheduler_max_attempts"
This commit is contained in:
commit
008ff277db
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
The ``[DEFAULT] scheduler_max_attempts`` option of undercloud.conf has been
|
||||||
|
deprecated. The option has had no effect since nova was removed from
|
||||||
|
undercloud.
|
@ -287,6 +287,10 @@ class UndercloudConfig(StandaloneConfig):
|
|||||||
),
|
),
|
||||||
cfg.IntOpt('scheduler_max_attempts',
|
cfg.IntOpt('scheduler_max_attempts',
|
||||||
default=30, min=1,
|
default=30, min=1,
|
||||||
|
deprecated_for_removal=True,
|
||||||
|
deprecated_reason=_(
|
||||||
|
'This option has no effect since nova was removed '
|
||||||
|
'from undercloud.'),
|
||||||
help=_(
|
help=_(
|
||||||
'Maximum number of attempts the scheduler will '
|
'Maximum number of attempts the scheduler will '
|
||||||
'make when deploying the instance. You should keep '
|
'make when deploying the instance. You should keep '
|
||||||
|
@ -64,7 +64,6 @@ PARAMETER_MAPPING = {
|
|||||||
'undercloud_debug': 'Debug',
|
'undercloud_debug': 'Debug',
|
||||||
'certificate_generation_ca': 'CertmongerCA',
|
'certificate_generation_ca': 'CertmongerCA',
|
||||||
'undercloud_public_host': 'CloudName',
|
'undercloud_public_host': 'CloudName',
|
||||||
'scheduler_max_attempts': 'NovaSchedulerMaxAttempts',
|
|
||||||
'local_mtu': 'UndercloudLocalMtu',
|
'local_mtu': 'UndercloudLocalMtu',
|
||||||
'clean_nodes': 'IronicAutomatedClean',
|
'clean_nodes': 'IronicAutomatedClean',
|
||||||
'container_healthcheck_disabled': 'ContainerHealthcheckDisabled',
|
'container_healthcheck_disabled': 'ContainerHealthcheckDisabled',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user