ovn-metadata: Remove deprecated metadata_ip
The parameter was deprecated during the previous cycle[1], because
the actual parameter in Neutron had been removed a long ago.
[1] 189d7d6bea
Change-Id: Id07aa47e723b44d53aaac02bbdb3f0b4e8d72968
This commit is contained in:
parent
3206f2f9c2
commit
5e9324e62f
@ -112,12 +112,6 @@
|
||||
# in the metadata config.
|
||||
# Defaults to false.
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*metadata_ip*]
|
||||
# The IP address of the metadata service.
|
||||
# Defaults to undef
|
||||
#
|
||||
class neutron::agents::ovn_metadata (
|
||||
$shared_secret,
|
||||
$package_ensure = 'present',
|
||||
@ -146,20 +140,11 @@ class neutron::agents::ovn_metadata (
|
||||
$root_helper_daemon = $::os_service_default,
|
||||
$state_path = '/var/lib/neutron',
|
||||
$purge_config = false,
|
||||
# DEPRECATED PARAMETERS
|
||||
$metadata_ip = undef,
|
||||
) {
|
||||
|
||||
include neutron::deps
|
||||
include neutron::params
|
||||
|
||||
if $metadata_ip != undef {
|
||||
warning('The metadata_ip parameter is deprecated and has no effect')
|
||||
}
|
||||
ovn_metadata_agent_config {
|
||||
'DEFAULT/nova_metadata_ip': ensure => absent;
|
||||
}
|
||||
|
||||
resources { 'ovn_metadata_agent_config':
|
||||
purge => $purge_config,
|
||||
}
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The ``neutron::agents::ovn_metadata::metadata_ip`` parameter has been
|
||||
removed.
|
Loading…
Reference in New Issue
Block a user