~ec0/charm-helpers:fix-haproxy-check-credentials

Last commit made on 2018-01-15
Get this branch:
git clone -b fix-haproxy-check-credentials https://git.launchpad.net/~ec0/charm-helpers
Only James Hebden can upload to this branch. If you are James Hebden please log in for upload directions.

Branch merges

Branch information

Name:
fix-haproxy-check-credentials
Repository:
lp:~ec0/charm-helpers

Recent commits

bec9314... by James Hebden

Fix credential gathering for haproxy NRPE checks

6ddb00f... by James Page

Add helpers for hacluster interface type (#82)

Most OpenStack API charms that make use of the hacluster charm
follow the same model with regards to ha resource configuration.

Provide a helper function to support generic generation of the
data set used when charms are deployed in HA configurations with
the hacluster charm.

63fff2d... by James Page

dfs: drop venv specific parts from wsgi template (#89)

Drop /usr/bin and python path template values from wsgi template
for OpenStack API services; this is only required for deploy
from source which has been removed from the charms and charmhelpers.

19da662... by James Page

Drop OpenStack deploy-from-source helpers (#85)

DFS has gradually bitrotted since is was originally written; inline
with agreed deprecation a few cycles back, drop deploy from source
helpers in preparation for remove from OpenStack charms.

7ed4112... by Chris Sanders

Fix for pool_set function and validator handling of strings (#80)

(from https://github.com/chris-sanders): Bug was discovered when trying to use the relation with Ceph-fs and Ceph-mon. Trying to pass a non-string value to the Ceph-mon via the broker dies.

Error in a lack of casting and an issue with types during validation.

Fix non-string inputs for `def pool_set(service, pool_name, key, value)`:
 - New test for pool_set with bool
 - New test for pool_set with str
 - Fixed test for pool_set with int

Fix handling of strings in `def validator(value, valid_type, valid_range=None)`.
 - New test that six.string_type still works with this change
 - New test that type 'str' works, test fails w/o the above fix

aa24e67... by James Page

Fix presentation use of domain for identity-credentials (#79)

The configured domain is presented via the 'domain' key, not
'credentials_domain' as previously committed.

ea11c5a... by James Page

Add OpenStack Context for identity-credentials interface type (#78)

Add new IdentityCredentialsContext based on IdentityServiceContext
which is __call__() return dict compatible with the existing
templates as used with the identity-service relation.

This will be used by the ceilometer charm for OpenStack Queens
or later where access to other services is required, but the
charm won't actually register any endpoints in the keystone
catalog.

335b01f... by Chris Sanders

Handle profile creation in luminous (#71)

* Handle profile creation in luminous

* Fixed erasure failure domain prior to Luminous and updated unit testing

517981a... by Liam Young

Add support for setting object prefix permissions (#76)

The grammer for ceph osd capabilities shows that permissions can
be applied to a pool or to a object_prefix:

match := [pool[=]<poolname> | object_prefix <prefix>]

This patch adds support for requesting object_prefix permissions on
a given set of prefixes.

http://docs.ceph.com/docs/firefly/man/8/ceph-authtool/#osd-capabilities

Partial-Bug: #1696073

496d509... by Liam Young

Ensure all keys checked when comparing broker obj (#75)

Charms check whether a broker request needs to be sent by
comparing previous broker requests with a new one. Currently
changes to permissions go undetected because not all keys are
checking in CephBrokerRq._ops_equal