From f6d9c54a921c1e5f18d5ce300e0cbeb73ddfcc49 Mon Sep 17 00:00:00 2001 From: Satish Patel Date: Mon, 9 Aug 2021 20:26:02 +0000 Subject: [PATCH] Fix OVN metadata protocol to point https In OSA recently we moved all our LB endpoint vips to https or all SSL and that break ovn metadata which was default using http. This patch will fix that and allow us to override variable. Change-Id: Ia9189adae01d8515e392abdbede7fd7b3f89e02e (cherry picked from commit e5e3ccfae6dbbb164802d3b50c806783c3bd7362) --- templates/neutron_ovn_metadata_agent.ini.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/neutron_ovn_metadata_agent.ini.j2 b/templates/neutron_ovn_metadata_agent.ini.j2 index bac13c08..f9232d4b 100644 --- a/templates/neutron_ovn_metadata_agent.ini.j2 +++ b/templates/neutron_ovn_metadata_agent.ini.j2 @@ -9,6 +9,9 @@ nova_metadata_host = {{ internal_lb_vip_address }} # Metadata proxy shared secret metadata_proxy_shared_secret = {{ nova_metadata_proxy_secret }} +# Protocol to access nova metadata, http or https +nova_metadata_protocol = {{ neutron_nova_metadata_protocol }} + [ovs] ovsdb_connection = unix:{{ neutron_ovs_socket_path }}/db.sock ovsdb_connection_timeout = 180