Remove deprecated nova::compute::allow_resize_to_same_host

This parameter was deprecated during Victoria cycle by [1], and has
had no effect since then.

[1] 577eeab430

Change-Id: I4b6dc21d4826941fa464241d88c4e17f9f894af7
This commit is contained in:
Takashi Kajinami
2022-01-29 16:11:36 +09:00
parent 5e4243a8ba
commit 8e2f100632
2 changed files with 5 additions and 12 deletions

View File

@@ -270,12 +270,6 @@
# pinned and unpinned instances on the same host.
# Defaults to undef
#
# [*allow_resize_to_same_host*]
# (optional) Allow destination machine to match source for resize.
# Useful when testing in single-host environments. Note that generally
# this should be set in the api.pp class instead.
# Defaults to undef
#
# [*pci_passthrough*]
# DEPRECATED. Use nova::compute::pci::passthrough instead.
# (optional) Pci passthrough list of hash.
@@ -359,7 +353,6 @@ class nova::compute (
$block_device_allocate_retries_interval = $::os_service_default,
# DEPRECATED PARAMETERS
$vcpu_pin_set = undef,
$allow_resize_to_same_host = undef,
$pci_passthrough = undef,
$verify_glance_signatures = undef,
$keymgr_backend = undef,
@@ -395,11 +388,6 @@ class nova::compute (
warning('vcpu_pin_set is deprecated, instead use cpu_dedicated_set or cpu_shared_set.')
}
if $allow_resize_to_same_host != undef {
warning('allow_resize_to_same_host is deprecated, and has no effect. \
Use the same parameter in nova::api class.')
}
if $verify_glance_signatures != undef {
# NOTE(tkajinam): If nova::glance is defined first and the deployment doesn't use hieradata
# it doesn't pick up this value correctly and unset the parameter.

View File

@@ -0,0 +1,5 @@
---
upgrade:
- |
The ``nova::compute::allow_resize_to_same_host`` parameter has been
removed. Use the same parameter of the ``nova::api`` class.