NSXv3: Update devstack metadata settings for uwsgi
In Queens release, metadata processing is handled by uwsgi in n-api-meta. The patch updates devstack settings for native metadata proxy when using https between NSX edges and Nova. Change-Id: I34fd53bff621ee80f45adb64cf14ccfe2f9a2889
This commit is contained in:
parent
fa628e3f71
commit
52fc24a182
@ -107,6 +107,14 @@ function neutron_plugin_create_nova_conf {
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# if n-api-meta is enabled, then setup https on n-api-meta
|
||||
if is_service_enabled n-api-meta; then
|
||||
if [[ "$NATIVE_DHCP_METADATA" == "True" && "$METADATA_PROXY_USE_HTTPS" == "True" ]]; then
|
||||
inidelete $NOVA_METADATA_UWSGI_CONF uwsgi http
|
||||
https=":8775,$METADATA_PROXY_CERT_FILE,$METADATA_PROXY_PRIV_KEY_FILE"
|
||||
iniset $NOVA_METADATA_UWSGI_CONF uwsgi https $https
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
function neutron_plugin_install_agent_packages {
|
||||
|
Loading…
Reference in New Issue
Block a user