Replace nova_metadata_ip by nova_metadata_host

nova_metadata_ip was deprecated in favor of nova_metadata_host some time
ago [1] and after moving ovn driver to main neutron repo, it has been
removed so we need to use the new parameter.

[1] https://github.com/openstack/networking-ovn/blob/stable/train/networking_ovn/conf/agent/metadata/config.py#L53

Change-Id: Iaba8ff454e01cd5c7455da5d0548d8cfeea3f8d8
This commit is contained in:
Alfredo Moralejo 2020-06-30 09:56:37 +02:00
parent df280619e5
commit 62a9487c2d
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class packstack::neutron::ovn_metadata ()
class { '::neutron::agents::ovn_metadata':
ovn_sb_connection => $ovn_southd,
shared_secret => hiera('CONFIG_NEUTRON_METADATA_PW'),
metadata_ip => force_ip(hiera('CONFIG_KEYSTONE_HOST_URL')),
metadata_host => force_ip(hiera('CONFIG_KEYSTONE_HOST_URL')),
debug => hiera('CONFIG_DEBUG_MODE'),
metadata_workers => hiera('CONFIG_SERVICE_WORKERS'),
}