Clean up deprecated nova::metadata::enabled_api

... because it was deprecated during Train and has nad no effect since
then[1]

[1] 919a4ce5a9

Change-Id: I97094f35c5ed2bd734051f082b9eb1d93c4a632c
This commit is contained in:
Takashi Kajinami 2021-11-03 21:15:57 +09:00
parent f533a5e1ca
commit 0e978aa853
2 changed files with 8 additions and 16 deletions

View File

@ -28,29 +28,17 @@
# (optional) domain to use for building the hostnames
# Defaults to $::os_service_default
#
# DEPRECATED
#
# [*enabled_apis*]
# (optional) A list of apis to enable
# Defaults to undef.
#
class nova::metadata(
$neutron_metadata_proxy_shared_secret = undef,
$metadata_cache_expiration = $::os_service_default,
$local_metadata_per_cell = $::os_service_default,
$dhcp_domain = $::os_service_default,
# DEPRECATED PARAMETERS
$enabled_apis = undef,
$neutron_metadata_proxy_shared_secret = undef,
$metadata_cache_expiration = $::os_service_default,
$local_metadata_per_cell = $::os_service_default,
$dhcp_domain = $::os_service_default,
) inherits nova::params {
include nova::deps
include nova::db
include nova::keystone::authtoken
if $enabled_apis != undef {
warning('enabled_apis parameter is deprecated, use nova::compute::enabled_apis instead.')
}
nova_config {
'api/dhcp_domain': value => $dhcp_domain;
'api/metadata_cache_expiration': value => $metadata_cache_expiration;

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The ``nova::metadata::enabled_api`` parameter has been removed.