Remove deprecated max_concurrent_builds from nova::compute::ironic
... because the parameter was migrated to base nova::compute during Victoria cycle and has been deprecated since then. Change-Id: I5abd8d7f667a4863ae9c26d3936c845585d3d896
This commit is contained in:
parent
371242b879
commit
0cba8bc924
@ -382,10 +382,6 @@ class nova::compute (
|
||||
|
||||
$image_type_exclude_list_real = pick(join(any2array($image_type_exclude_list), ','), $::os_service_default)
|
||||
|
||||
$max_concurrent_builds_real = pick(
|
||||
$::nova::compute::ironic::max_concurrent_builds,
|
||||
$max_concurrent_builds)
|
||||
|
||||
include nova::pci
|
||||
if $pci_passthrough {
|
||||
# Note: also remove the pick from nova::compute::pci
|
||||
@ -515,7 +511,7 @@ Use the same parameter in nova::api class.')
|
||||
'DEFAULT/resize_confirm_window': value => $resize_confirm_window;
|
||||
'DEFAULT/shutdown_timeout': value => $shutdown_timeout;
|
||||
'DEFAULT/resume_guests_state_on_host_boot': value => $resume_guests_state_on_host_boot;
|
||||
'DEFAULT/max_concurrent_builds': value => $max_concurrent_builds_real;
|
||||
'DEFAULT/max_concurrent_builds': value => $max_concurrent_builds;
|
||||
'DEFAULT/max_concurrent_live_migrations': value => $max_concurrent_live_migrations;
|
||||
'DEFAULT/sync_power_state_pool_size': value => $sync_power_state_pool_size;
|
||||
'DEFAULT/sync_power_state_interval': value => $sync_power_state_interval;
|
||||
|
@ -8,14 +8,8 @@
|
||||
# (optional) Compute driver.
|
||||
# Defaults to 'ironic.IronicDriver'
|
||||
#
|
||||
# [*max_concurrent_builds*]
|
||||
# (optional) Maximum number of instance builds to run concurrently
|
||||
# Defaults to undef
|
||||
#
|
||||
class nova::compute::ironic (
|
||||
$compute_driver = 'ironic.IronicDriver',
|
||||
# DEPRECATED PARAMETERS
|
||||
$max_concurrent_builds = undef,
|
||||
) {
|
||||
|
||||
include nova::deps
|
||||
@ -25,10 +19,4 @@ class nova::compute::ironic (
|
||||
nova_config {
|
||||
'DEFAULT/compute_driver': value => $compute_driver;
|
||||
}
|
||||
|
||||
if $max_concurrent_builds != undef {
|
||||
warning('The nova::compute::ironic::max_concurrent_builds parameter is deprecated \
|
||||
and will be removed in a future release. Use nova::compute::max_concurrent_builds instead.')
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The ``nova::compute::ironic::max_concurrent_builds`` parameter has been
|
||||
removed.
|
Loading…
x
Reference in New Issue
Block a user