* sync charm-helpers to classic charms
* change openstack-origin/source default to bobcat
* add mantic to metadata series
* align testing with bobcat
* add new bobcat bundles
* add bobcat bundles to tests.yaml
* add bobcat tests to osci.yaml
* update build-on and run-on bases
* drop kinetic
* patch charmhelpers.core.hookenv.is_subordinate due to new
release handlings in charms.openstack:
fd042afdf1
Change-Id: I9269ad8b11b2ad5ee8a9868bf23ab1710758c883
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.
Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: I0417bae3d6311c9dcee53ef974ed49270adb4fc1
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard
Change-Id: I464fa7903727af1e8f6d6d888c6d30f2b9d4ad79
A recent commit to charms.openstack (78ce162e) added support for
using endpoints rather than relations. This caused an aodh unit
test to fail as it was looking for an endpoint. This change is a
simple fix for that.
Change-Id: I6b41352ccf0e422cd5e80a7a47f640164df3e14b
As a part of the dualstack work it was discovered SSL was not getting
setup for aodh. Ensure that it does.
Change-Id: Ia4051b11dbf9cc09c730cc0c3b9dcc4867df8a7a
Every reactive charm that uses charms.openstack and implements unit
testing needs to mock charmhelpers, as otherwise the tests blow up.
This patch uses the mocking of charmhelpers in charms.openstack so that
a charm layer can just import test_mocks and charmhelpers will be mocked
out along with setting up a default
charmhelpers.c.o.u.OPENSTACK_RELEASES so that when an OpenStackCharm()
derived charm class won't fail on definition.
Change-Id: I703f7cc775a78cf3b56583316c3dcb8482751bfd
Related-Bug: #1693017
Depends-On: I5ac40617ee30e5f421ec16fc7592177a5e6aa166
Drop provision of hostname for database configuration;
the latest interface versions correctly use Juju 2.0
network space bindings for the relation, or fallback
to using the units private-address on older Juju
version.
Change-Id: I378eef2a7c4acf4225ba73e4c7261bc057f42a24
This change aligns with the Ocata aodh package, which has
moved the aodh-api to run under mod_wsgi with apache2.
Change-Id: I4aa6a978eb719c955ad216326514d1175c86b4a7
Reactive source charms are Python3-only, but have py27 unit tests
declared in project-config.
The Tox tool recently changed behavior. It used to pass when a tox
target was missing commands. Now it fails in that case.
This commit places a py27 no-op shim to allow gate tests to pass,
effectively restoring the original behavior for these py3x-only repos.
Fix unit tests after underlying changes in charms.openstack which
set_config_defined_certs_and_keys and added oncigure_source to
the default install method.
Change-Id: I82445240c49a2d58c6eb39da4f49d21350d8d8b4
Partial-Bug: 1642981
If there is a new release of the aodh packages available due
to the user changing the 'openstack-origin' option then upgrade
the packages.
Change-Id: Ib3add07c19768a88ec074e0e485e7b77f7a2f87d
Closes-Bug: 1632760
A recent change to charms.openstack causes a cluster adapter to be
created if it is missing which invokes a call to
reactive.RelationBase.from_state('cluster.connected') which fails
outside of a juju env. This unit test change passes a cluster
relation to the adapter class to stop one being automatically
created.
Closes-Bug: 1630358
Change-Id: Ifb23e39b9ee94620705688841fd11db641884f74
Configure SSL termination and advertise SSL endpoints if Keystone
sends the charm certs or the user specifies certs via config.
Change-Id: Ibc73724cb849d3eb05724b06ff3d3ea1124edafe
The charm-guide documentation is now published on
docs.openstack.org; update links for new location.
(also add .gitreview for first gerrit based change).
(also add __init__.py files to ensure py27 tests pass).
(also drop series in metadata as CI is not ready yet).
(add workaround for tox pep8 virtualenv build failure on 14.04).
(add patching for new features in charms_openstack).
Change-Id: I5088d5a27ebf18cbfe1f12af5e727ab83db66fd2