~cbjchen/charms/trusty/nova-compute/lp1391313

Viewing all changes in revision 87.

  • Committer: liang.chen at canonical
  • Date: 2014-11-12 18:50:47 UTC
  • Revision ID: liang.chen@canonical.com-20141112185047-e0uxsfco9f8y6r95
set my_ip to unit private-address

[cbjchen,r=]
The default value for my_ip can be problematic.
The ip assocated with the NIC leading to the
default gateway may not be the desired one for
openstack service communication. Setting it to
the unit private-address when cloud controller
joined the relation, so that all the inter
service communications use the same network -
we alreay use the unit private-address as
service endpoint IPs.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: