~openstack-charmers-next/charms/trusty/neutron-openvswitch/trunk

Viewing all changes in revision 124.

  • Committer: James Page
  • Date: 2016-05-23 08:46:50 UTC
  • Revision ID: james.page@ubuntu.com-20160523084650-b09hpxxaj0wlpyv8
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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: