Configure Cinder to use new audit middleware testing class
Updated Cinder to use the new Keystone Audit Middleware testing class
in zaza-openstack-tests rather than the previous hardcoded functional
tests. This provides more flexibility and resiliency in the functional
testing of charms using the audit middleware feature.
This commit adds Keystone audit middleware API logging to the Cinder
charm in versions Yoga and newer to allow users to configure their
environment for CADF compliance. This feature can be enabled/disabled
and is set to 'disabled' by default to avoid bloat in log files.
The logging output is configured to /var/log/apache2/cinder_error.log.
This commit builds on previous discussions: https://github.com/juju/charm-helpers/pull/808.
These updates, on the master branch, are to support testing the caracal
packages and support of the charms for caracal. They do NOT lock the charms
down, and don't change the testing branches to stable branches.