From 8e2f100632f332c9274ec4161248cc56b3ff5b34 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 29 Jan 2022 16:11:36 +0900 Subject: [PATCH] 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] 577eeab4306f2353bbe8b910ae0c9fc80f1f70cf Change-Id: I4b6dc21d4826941fa464241d88c4e17f9f894af7 --- manifests/compute.pp | 12 ------------ ...e-allow_resize_to_same_host-b5c77e6a44aae77f.yaml | 5 +++++ 2 files changed, 5 insertions(+), 12 deletions(-) create mode 100644 releasenotes/notes/remove-compute-allow_resize_to_same_host-b5c77e6a44aae77f.yaml diff --git a/manifests/compute.pp b/manifests/compute.pp index f1b4cd031..225d80dca 100644 --- a/manifests/compute.pp +++ b/manifests/compute.pp @@ -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. diff --git a/releasenotes/notes/remove-compute-allow_resize_to_same_host-b5c77e6a44aae77f.yaml b/releasenotes/notes/remove-compute-allow_resize_to_same_host-b5c77e6a44aae77f.yaml new file mode 100644 index 000000000..b07585dd4 --- /dev/null +++ b/releasenotes/notes/remove-compute-allow_resize_to_same_host-b5c77e6a44aae77f.yaml @@ -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.