4cfdc89c56
The shared secret context makes use of 'resolve_address' to resolve the local_ip address of the unit; the resulting value is not actually used in the metadata_agent.ini template and breaks under Juju 2.0, where resolve_address attempts to use network-get to resolve the public endpoint of the service using extra bindings (which are not relevant for this charm). Drop use of resolve address and tidy templates; the default 127.0.0.1 address is fine for accessing the Nova Metadata service from the Neutron Metadata agent proxy. Change-Id: I03fc6d1c7c8ca832b02a7df5b1666c04aaecc589 Close-Bug: 1580271
19 lines
802 B
INI
19 lines
802 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 = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/v2.0
|
|
auth_region = {{ region }}
|
|
admin_tenant_name = {{ admin_tenant_name }}
|
|
admin_user = {{ admin_user }}
|
|
admin_password = {{ admin_password }}
|
|
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
|
|
state_path = /var/lib/neutron
|
|
nova_metadata_port = 8775
|
|
metadata_proxy_shared_secret = {{ shared_secret }}
|
|
cache_url = memory://?default_ttl=5
|