From 62f0aa3cb5f884f228ec3e3cf4035281232e38db Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Sun, 4 Sep 2016 03:21:15 -0700 Subject: [PATCH] NSX_V3: always set the metadata proxy in nova.conf For devstack ensure that this is always set. This willenable the code to work for native and non native matadata support Change-Id: Ibdf0031d99fedbe3cbeb1f40dd19d52b7669d4bb --- devstack/lib/vmware_nsx_v3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/vmware_nsx_v3 b/devstack/lib/vmware_nsx_v3 index 9707678375..b24d45d115 100644 --- a/devstack/lib/vmware_nsx_v3 +++ b/devstack/lib/vmware_nsx_v3 @@ -78,9 +78,9 @@ function neutron_plugin_create_nova_conf { fi # if n-api is enabled, then setup the metadata_proxy_shared_secret if is_service_enabled n-api; then + iniset $NOVA_CONF neutron service_metadata_proxy True if [[ "$NATIVE_DHCP_METADATA" == "True" ]]; then iniset $NOVA_CONF neutron metadata_proxy_shared_secret $METADATA_PROXY_SHARED_SECRET - iniset $NOVA_CONF neutron service_metadata_proxy True fi fi }