Remove deprecated nova::block_device_* parameters
These parameters were deprecated in favor of the new parameters added
to the nova::compute class during Wallaby cycle[1].
[1] 8c2f57b685
Change-Id: Ia19fbf656ec84420c2e505d53c5d79db6e5c2217
This commit is contained in:
@@ -436,13 +436,6 @@ class nova::compute (
|
|||||||
|
|
||||||
include nova::availability_zone
|
include nova::availability_zone
|
||||||
|
|
||||||
$block_device_allocate_retries_real = pick(
|
|
||||||
$::nova::block_device_allocate_retries,
|
|
||||||
$block_device_allocate_retries)
|
|
||||||
$block_device_allocate_retries_interval_real = pick(
|
|
||||||
$::nova::block_device_allocate_retries_interval,
|
|
||||||
$block_device_allocate_retries_interval)
|
|
||||||
|
|
||||||
# NOTE(tkajinam): In some distros like CentOS9, the genisoimage command
|
# NOTE(tkajinam): In some distros like CentOS9, the genisoimage command
|
||||||
# is no longer available and we should override
|
# is no longer available and we should override
|
||||||
# the mkisofs_cmd parameter to use the available command
|
# the mkisofs_cmd parameter to use the available command
|
||||||
@@ -486,9 +479,9 @@ class nova::compute (
|
|||||||
'DEFAULT/compute_monitors': value => join(any2array($compute_monitors), ',');
|
'DEFAULT/compute_monitors': value => join(any2array($compute_monitors), ',');
|
||||||
'DEFAULT/default_ephemeral_format': value => $default_ephemeral_format;
|
'DEFAULT/default_ephemeral_format': value => $default_ephemeral_format;
|
||||||
'compute/image_type_exclude_list': value => $image_type_exclude_list_real;
|
'compute/image_type_exclude_list': value => $image_type_exclude_list_real;
|
||||||
'DEFAULT/block_device_allocate_retries': value => $block_device_allocate_retries_real;
|
'DEFAULT/block_device_allocate_retries': value => $block_device_allocate_retries;
|
||||||
'DEFAULT/block_device_allocate_retries_interval':
|
'DEFAULT/block_device_allocate_retries_interval':
|
||||||
value => $block_device_allocate_retries_interval_real;
|
value => $block_device_allocate_retries_interval;
|
||||||
}
|
}
|
||||||
|
|
||||||
if $keymgr_backend != undef {
|
if $keymgr_backend != undef {
|
||||||
|
|||||||
@@ -380,15 +380,6 @@
|
|||||||
# <service_type>:<service_name>:<endpoint_type>
|
# <service_type>:<service_name>:<endpoint_type>
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
#
|
#
|
||||||
# [*block_device_allocate_retries*]
|
|
||||||
# (optional) Number of times to retry block device allocation on failures
|
|
||||||
# Defaults to undef.
|
|
||||||
#
|
|
||||||
# [*block_device_allocate_retries_interval*]
|
|
||||||
# (optional) Waiting time interval (seconds) between block device allocation
|
|
||||||
# retries on failures
|
|
||||||
# Defaults to undef.
|
|
||||||
#
|
|
||||||
# [*cross_az_attach*]
|
# [*cross_az_attach*]
|
||||||
# (optional) Allow attach between instance and volume in different availability zones.
|
# (optional) Allow attach between instance and volume in different availability zones.
|
||||||
# Defaults to undef
|
# Defaults to undef
|
||||||
@@ -473,8 +464,6 @@ class nova(
|
|||||||
$auth_strategy = undef,
|
$auth_strategy = undef,
|
||||||
$os_region_name = undef,
|
$os_region_name = undef,
|
||||||
$cinder_catalog_info = undef,
|
$cinder_catalog_info = undef,
|
||||||
$block_device_allocate_retries = undef,
|
|
||||||
$block_device_allocate_retries_interval = undef,
|
|
||||||
$cross_az_attach = undef,
|
$cross_az_attach = undef,
|
||||||
) inherits nova::params {
|
) inherits nova::params {
|
||||||
|
|
||||||
@@ -496,16 +485,6 @@ in a future release. Use nova::cinder::os_region_name instead')
|
|||||||
in a future release. Use nova::cinder::catalog_info instead')
|
in a future release. Use nova::cinder::catalog_info instead')
|
||||||
}
|
}
|
||||||
|
|
||||||
if $block_device_allocate_retries != undef {
|
|
||||||
warning('The block_device_allocate_retries parameter is deprecated. \
|
|
||||||
Use nova::compute::block_device_allocate_retries instead')
|
|
||||||
}
|
|
||||||
|
|
||||||
if $block_device_allocate_retries_interval != undef {
|
|
||||||
warning('The block_device_allocate_retries_interval parameter is deprecated. \
|
|
||||||
Use nova::compute::block_device_allocate_retries_interval instead')
|
|
||||||
}
|
|
||||||
|
|
||||||
if $cross_az_attach != undef {
|
if $cross_az_attach != undef {
|
||||||
warning('The cross_az_attach parameter is deprecated. \
|
warning('The cross_az_attach parameter is deprecated. \
|
||||||
Use nova::cinder::cross_az_attach instead.')
|
Use nova::cinder::cross_az_attach instead.')
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The following parameters of the ``nova`` class have been removed.
|
||||||
|
|
||||||
|
- ``nova::block_device_allocate_retries``
|
||||||
|
- ``nova::block_device_allocate_retries_interval``
|
||||||
Reference in New Issue
Block a user