Merge "Remove deprecated max_concurrent_builds from nova::compute::ironic"
This commit is contained in:
@@ -371,10 +371,6 @@ class nova::compute (
|
|||||||
|
|
||||||
$image_type_exclude_list_real = pick(join(any2array($image_type_exclude_list), ','), $::os_service_default)
|
$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
|
include nova::pci
|
||||||
if $pci_passthrough {
|
if $pci_passthrough {
|
||||||
# Note: also remove the pick from nova::compute::pci
|
# Note: also remove the pick from nova::compute::pci
|
||||||
@@ -496,7 +492,7 @@ Use the same parameter in nova::api class.')
|
|||||||
'DEFAULT/resize_confirm_window': value => $resize_confirm_window;
|
'DEFAULT/resize_confirm_window': value => $resize_confirm_window;
|
||||||
'DEFAULT/shutdown_timeout': value => $shutdown_timeout;
|
'DEFAULT/shutdown_timeout': value => $shutdown_timeout;
|
||||||
'DEFAULT/resume_guests_state_on_host_boot': value => $resume_guests_state_on_host_boot;
|
'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/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_pool_size': value => $sync_power_state_pool_size;
|
||||||
'DEFAULT/sync_power_state_interval': value => $sync_power_state_interval;
|
'DEFAULT/sync_power_state_interval': value => $sync_power_state_interval;
|
||||||
|
@@ -8,14 +8,8 @@
|
|||||||
# (optional) Compute driver.
|
# (optional) Compute driver.
|
||||||
# Defaults to 'ironic.IronicDriver'
|
# Defaults to 'ironic.IronicDriver'
|
||||||
#
|
#
|
||||||
# [*max_concurrent_builds*]
|
|
||||||
# (optional) Maximum number of instance builds to run concurrently
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
class nova::compute::ironic (
|
class nova::compute::ironic (
|
||||||
$compute_driver = 'ironic.IronicDriver',
|
$compute_driver = 'ironic.IronicDriver',
|
||||||
# DEPRECATED PARAMETERS
|
|
||||||
$max_concurrent_builds = undef,
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include nova::deps
|
include nova::deps
|
||||||
@@ -25,10 +19,4 @@ class nova::compute::ironic (
|
|||||||
nova_config {
|
nova_config {
|
||||||
'DEFAULT/compute_driver': value => $compute_driver;
|
'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.
|
Reference in New Issue
Block a user