openstack-ansible-os_neutron/templates/metadata_agent.ini.j2
Major Hayden 63c5bfda2a
Change deprecated nova_metadata_ip option
Neutron's pike release has deprecated nova_metadata_ip in favor
of nova_metadata_host. This patch updates the configuration
option.

Closes-Bug: 1735220
Change-Id: Ifbcb44cac9c79dd178c18d5931227801aa034a04
2017-11-29 11:29:04 -06:00

34 lines
1.1 KiB
Django/Jinja

# {{ ansible_managed }}
# General
[DEFAULT]
debug = {{ debug }}
# Neutron credentials for API access
auth_type = {{ neutron_keystone_auth_plugin }}
auth_url = {{ keystone_service_adminurl }}
auth_uri = {{ keystone_service_internaluri }}
auth_region = {{ keystone_service_region }}
project_domain_id = {{ neutron_service_project_domain_id }}
user_domain_id = {{ neutron_service_user_domain_id }}
project_name = {{ neutron_service_project_name }}
username = {{ neutron_service_user_name }}
password = {{ neutron_service_password }}
endpoint_type = adminURL
# Nova metadata service IP and port
nova_metadata_host = {{ 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 }}
# Workers and backlog requests
metadata_workers = {{ neutron_metadata_workers | default(neutron_api_threads) }}
metadata_backlog = {{ neutron_metadata_backlog }}
# Caching
cache_url = memory://?default_ttl=5