See https://review.opendev.org/c/openstack/charm-guide/+/796639
Its functional tests are written with the deprecated
Amulet framework (replaced by Zaza). Our CI system
zOSCI can't run Amulet tests.
Change-Id: Iae83b12199468c18c76a5571eeae9c6a94e83af6
Related-Bug: #1828424
This adds keystone v2 and v3 tests to the charm.
However, because of bug#1611393 the tests can't execute test 400 which
would check the API to barbican. Thus, it is disabled and the tests
only check that the relation is set up properly.
Change-Id: Ibfcdd82b070f7688a815fcbb1a089090d9529e2a
Working charm with unit tests. Various features:
Change the install ownership for token store
It turns out that the 'user' that creates the token store, is the only one that
can access it, apart from root. As Barbican uses a 'barbican' user for the
barbican-worker process, we need to create the token store with 1777 perms (see
https://github.com/opendnssec/SoftHSMv2/issues/185) and also create the initial
token using the barbican user.
Add an initial README.md: This describes the charm, where to get help
and how to use it.