commit 7730097ca9faa1be3bbee9da6421f0149889353e
Author: James Page <email address hidden>
Date: Mon May 23 09:46:50 2016 +0100
Drop use of resolve_address
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
(cherry picked from commit 4cfdc89c56663d1db4a9f147e62fb1a59e3fceb1)
Reviewed: https:/ /review. openstack. org/320817 /git.openstack. org/cgit/ openstack/ charm-neutron- openvswitch/ commit/ ?id=7730097ca9f aa1be3bbee9da64 21f0149889353e
Committed: https:/
Submitter: Jenkins
Branch: stable/16.04
commit 7730097ca9faa1b e3bbee9da6421f0 149889353e
Author: James Page <email address hidden>
Date: Mon May 23 09:46:50 2016 +0100
Drop use of resolve_address
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: I03fc6d1c7c8ca8 32b02a7df5b1666 c04aaecc589 db4a9f147e62fb1 a59e3fceb1)
Close-Bug: 1580271
(cherry picked from commit 4cfdc89c56663d1