Make nova metadata protocol configurable

If https is used as internal protocol, and nova_metdata_protocol is
not set accordingly. The service neutron_metadata_agent will raise a
BadStatusLine exception upon receiving metdata request from instances.

Change-Id: Iaf7bd6f444daf766ed7c43c31a02f67964aff50d
This commit is contained in:
Jacky Hu 2017-04-12 10:34:05 +08:00 committed by Kevin Carter (cloudnull)
parent c8fa21215d
commit f939caf5be

View File

@ -19,6 +19,8 @@ endpoint_type = adminURL
# Nova metadata service IP and port
nova_metadata_ip = {{ internal_lb_vip_address }}
nova_metadata_port = {{ nova_metadata_port }}
nova_metadata_protocol = {{ nova_metadata_protocol }}
nova_metadata_insecure = {{ nova_metadata_insecure }}
# Metadata proxy shared secret
metadata_proxy_shared_secret = {{ nova_metadata_proxy_secret }}