lp:~corey.bryant/charm-helpers/stable-newton
- Get this branch:
- bzr branch lp:~corey.bryant/charm-helpers/stable-newton
Branch merges
- Ryan Beisner (community): Approve
-
Diff: 26 lines (+3/-2)1 file modifiedcharmhelpers/contrib/openstack/utils.py (+3/-2)
Branch information
Recent revisions
- 645. By James Page
-
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:
- 641. By James Page
-
Update OpenStack Amulet helper to get keystone ip from sentry info instead of relation data
- 640. By Liam Young
-
[gnuoy, r=james-page] Add the ability to pass in the use_source and no_origin lists to stop having to raise changes to charm-helpers everytime a new service is added to an amulet test which should be added to the list
- 638. By James Page
-
Refactor AppArmorContext
The current design of the AppArmorContext class results in alot of
boilerplate configuration being written:class NeutronMetadata
AppArmorContext (AppArmorContex t): def __init__(self):
super( NeutronMetadata AppArmorContext , self).__init__()
self.aa_ profile = NEUTRON_ METADATA_ AA_PROFILE def __call__(self):
super( NeutronMetadata AppArmorContext , self).__call__()
if not self.ctxt:
return self.ctxt
self._ ctxt.update( {'aa_profile' : self.aa_profile})
return self.ctxtthis might be better done as:
n_metadata = AppArmorContext
(profile_ name=NEUTRON_ METADATA_ AA_PROFILE) thus avoid creating a specific class when not really required.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charm-helpers