From 5e5f2eb614eb37a7f222cc62622656ded056efb5 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 27 Dec 2021 16:15:10 +0900 Subject: [PATCH] Remove deprecated nova::config::api_config ... because it was deprecated during Victoria cycle[1]. [1] 2daa0b16444f2a2a865b618cbca76fd18c6cd7c6 Change-Id: I91abf7a820685c06d195541c173042469e7b583f --- manifests/config.pp | 19 ++----------------- .../remove-api_config-7a200b44d512b9f1.yaml | 4 ++++ 2 files changed, 6 insertions(+), 17 deletions(-) create mode 100644 releasenotes/notes/remove-api_config-7a200b44d512b9f1.yaml diff --git a/manifests/config.pp b/manifests/config.pp index 49ee91bc0..8dcb4a7ff 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -87,11 +87,6 @@ # [*plugin_nsx_config*] # (optional) Manage configuration of plugins/vmware/nsx.ini # -# DEPRECATED PARAMETERS -# -# [*api_config*] -# (optional) Manage configuration of api-paste.ini -# # NOTE: The configuration MUST NOT be already handled by this module # or Puppet catalog compilation will fail with duplicate resources. # @@ -118,22 +113,12 @@ class neutron::config ( $plugin_ml2_config = {}, $plugin_nsx_config = {}, $plugin_nvp_config = {}, - # DEPRECATED PARAMETERS - $api_config = undef, ) { include neutron::deps - if $api_config != undef { - warning('The neutron::config::api_config parameter has been deprecated and \ -will be removed in a future release. Use the api_paste_ini parameter instead.') - $api_paste_ini_real = $api_config - } else { - $api_paste_ini_real = $api_paste_ini - } - validate_legacy(Hash, 'validate_hash', $server_config) - validate_legacy(Hash, 'validate_hash', $api_paste_ini_real) + validate_legacy(Hash, 'validate_hash', $api_paste_ini) validate_legacy(Hash, 'validate_hash', $ovs_agent_config) validate_legacy(Hash, 'validate_hash', $sriov_agent_config) validate_legacy(Hash, 'validate_hash', $bgpvpn_bagpipe_config) @@ -156,7 +141,7 @@ will be removed in a future release. Use the api_paste_ini parameter instead.') validate_legacy(Hash, 'validate_hash', $plugin_nvp_config) create_resources('neutron_config', $server_config) - create_resources('neutron_api_paste_ini', $api_paste_ini_real) + create_resources('neutron_api_paste_ini', $api_paste_ini) create_resources('neutron_agent_ovs', $ovs_agent_config) create_resources('neutron_sriov_agent_config', $sriov_agent_config) create_resources('neutron_bgpvpn_bagpipe_config', $bgpvpn_bagpipe_config) diff --git a/releasenotes/notes/remove-api_config-7a200b44d512b9f1.yaml b/releasenotes/notes/remove-api_config-7a200b44d512b9f1.yaml new file mode 100644 index 000000000..2b9fadc02 --- /dev/null +++ b/releasenotes/notes/remove-api_config-7a200b44d512b9f1.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The deprecated ``nova::config::api_config`` parameter has been removed.