b14f2fc47e
The change turns off the local nova metadata service and uses endpoint data recieved from the quantum-network-service relation to point the neutron metadata service at the nova metadata service on the nova cloud controller for Queens+. Depends-On: I5ad15ba782cb87b6fdb3c0941a6482d201670bff Change-Id: I7037a20feac73f3a3f1ed1b8b1b70d0fa534bc46
22 lines
997 B
INI
22 lines
997 B
INI
###############################################################################
|
|
# [ WARNING ]
|
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
###############################################################################
|
|
# Metadata service seems to cache neutron api url from keystone so trigger
|
|
# restart if it changes: {{ quantum_url }}
|
|
[DEFAULT]
|
|
auth_url = {{ auth_protocol }}://{{ keystone_host }}:{{ auth_port }}/v2.0
|
|
auth_region = {{ region }}
|
|
admin_tenant_name = {{ service_tenant }}
|
|
admin_user = {{ service_username }}
|
|
admin_password = {{ service_password }}
|
|
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
|
|
state_path = /var/lib/neutron
|
|
# Gateway runs a metadata API server locally
|
|
nova_metadata_ip = {{ nova_metadata_host }}
|
|
nova_metadata_port = {{ nova_metadata_port }}
|
|
nova_metadata_protocol = {{ nova_metadata_protocol }}
|
|
metadata_proxy_shared_secret = {{ shared_secret }}
|
|
cache_url = memory://?default_ttl=5
|
|
metadata_workers = {{ workers }}
|