Merge lp://qastaging/~1chb1n/charm-helpers/os-amulet-keystone-pub-addr into lp://qastaging/charm-helpers

Proposed by Ryan Beisner
Status: Merged
Merged at revision: 645
Proposed branch: lp://qastaging/~1chb1n/charm-helpers/os-amulet-keystone-pub-addr
Merge into: lp://qastaging/charm-helpers
Diff against target: 21 lines (+2/-2)
1 file modified
charmhelpers/contrib/openstack/amulet/utils.py (+2/-2)
To merge this branch: bzr merge lp://qastaging/~1chb1n/charm-helpers/os-amulet-keystone-pub-addr
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+307639@code.qastaging.launchpad.net

Description of the change

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/

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches