-
Committer:
James Page
-
Date:
2016-10-05 08:38:07 UTC
-
mfrom:
(644.1.1 charm-helpers)
-
Revision ID:
james.page@ubuntu.com-20161005083807-e0p1kfbjv0v4ys8z
Use public-address in OpenStack Amulet keystone address helper
'private-address' is not always present, even after a deployment is completely settled.
Here is a dump of all keys from sentry.info:
DEBUG:amulet-logger:['machine', 'open-ports', 'public-address', 'service', 'workload-status', 'agent-status', 'unit_name', 'agent-state', 'unit', 'agent-version']
Given that sentry.info is just a copy of the juju status yaml data, when juju status has no private-address to report, it is also not present.
More detail and an example at:
http://pastebin.ubuntu.com/23277010/