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.
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.
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
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.
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