Commit Graph

148 Commits

Author SHA1 Message Date
Alex Kavanagh 9ea1a00bca Updates for caracal testing support
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.

Change-Id: I41641bebf78705ca3f5a3e09b8ac918a44a863aa
2024-02-24 19:53:10 +00:00
Corey Bryant 2f053a6cef Add 2023.2 Bobcat support
* 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
* update charmcraft_channel to 2.x/stable

Change-Id: I12adaadd0a5991c271fba3aa8ebaf6c4e5122df0
2023-08-08 21:17:05 +00:00
Corey Bryant 035ab02dc9 Enable jammy-antelope voting and drop kinetic-zed tests
* Voting was turned on for jammy-antelope in the
  project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
  is turned on in individual charms
* Kinetic-zed bundles/tests are removed

Change-Id: I4efc0e7fb5eb1a8de43e5ac5fe62cf661ff08a7b
2023-03-29 21:01:47 +00:00
Corey Bryant 35a347d69e Add Antelope support
* sync charm-helpers to classic charms
* change openstack-origin/source default to antelope
* align testing with antelope
* add new antelope bundles
* add antelope bundles to tests.yaml
* add antelope tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases

Change-Id: I35b051fb5a86081380abe9d73b88b797b91febac
2023-03-07 20:32:46 +00:00
Liam Young 42d520d4e3 Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I957d1e86bc59351404becaca64c8766d687cb1e0
2023-01-16 16:12:09 +00:00
Corey Bryant 118f10a707 Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml

Change-Id: I785cad8d470af5560ba2eb0616622d454e9d1c1b
2022-08-26 18:40:27 +00:00
Alex Kavanagh 26dd49b79d Update to classic charms to build using charmcraft in CI
This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests.  This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.

Change-Id: I9560c8801640e3629dc21716f2e0e4534f5a330e
2022-02-17 12:30:02 -05:00
Alex Kavanagh 074e8085a7 Migrate charm to charmhub latest/edge track
Change-Id: If6ecb9a650054944b89606d4c4117a8aea1af868
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-01-28 16:23:13 -07:00
Zuul 4739d79133 Merge "Add yoga bundles and release-tool syncs" 2021-11-18 14:30:23 +00:00
Corey Bryant 4043379eab Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* sync from release-tools
* switch to release-specific zosci functional tests
* run focal-ussuri as smoke tests
* remove trusty, xenial, and groovy metadata/tests
* drop py35 and add py39

Change-Id: Ib1856e48daa51fe9abeefc7f2899051968329893
2021-11-17 13:45:38 -05:00
Arif Ali f4d772e6a3
Enable pipeline_yaml for mitaka and above
This configuration for pipeline.yaml is still valid for mitaka and
above, so adding this in.

The ceilometer-collector package is not available in newer openstack
releases, so basing this on QUEENS_SERVICES.

This should solve the custom requirement of pipeline moving forward.

Other fixes:
* Update test-requirements.txt for cffi and related pins.
* Update focal-xena bundle to fix memcached series bionic requirement.

Closes-Bug: 1938807
Change-Id: I1946b6f172cdae6f444d07999d5e54d4e11a450e
2021-11-03 13:49:49 +00:00
Alex Kavanagh 8e6c6f1f8f Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- charm-helpers sync for new charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: Ide4746558d5be4b2a68b37320a1b601447686c2c
2021-09-28 14:54:10 +01:00
Alex Kavanagh 4c8670c598 Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby supporto.

hisute-wallaby test is disabled (moved to dev) due to [1] as bundle may
reference a reactive charm.

[1] https://github.com/juju-solutions/layer-basic/issues/194

Sync charm-helpers for wallable identifiers

Change-Id: I1369b5eaf4efd18043e665d5fc5bd2f21e567970
2021-05-06 11:16:26 +00:00
Billy Olsen 5d897d2242 Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: I7378e7a3e5a016e3bb1b6583bba5cf0de598fa95
2021-02-19 16:58:35 -07:00
Aurelien Lourot 0568c8e19e Remove Disco and Eoan bits
Change-Id: Ie944d919dd7a2595454b72836657210f6477b3ed
2021-01-12 13:50:38 +01:00
Aurelien Lourot 9e33790a76 Add Groovy to the test gate
Change-Id: I70bfbb6782a546ee5c2410a6fb202d1d573d4826
2020-11-05 12:43:07 +01:00
Aurelien Lourot 576696d0ab Add focal-victoria to the test gate
Change-Id: I960f9e628275a1e1ff1c5f9b94725685e9a23fd0
2020-08-28 14:24:13 +02:00
Alex Kavanagh 7c0ecdbd1a Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt

Change-Id: Ib6a159eb5c079d5818f5e03e249aa56b600c1ff3
2020-07-30 12:25:11 +01:00
Aurelien Lourot 17366cbf65 Add Victoria test bundles
Change-Id: If311b8952d68bdc3c05e883ff77664515ee4f888
2020-07-09 09:56:49 +02:00
David Ames f7d8cf7469 Enable gnocchi in xenial-ocata bundle
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/344
Change-Id: I60ceb3d753ca16f1165eed11ed2a7d3852fb9d84
2020-07-02 16:13:05 -07:00
Alex Kavanagh 956243bc68 Enable focal and ussuri for gate
Change-Id: I25bfbf7923b012443f2085f6ace47f36dda84fe6
2020-04-23 15:30:33 +01:00
Eduardo Sousa bbf4ad60dd Porting tests from Amulet to Zaza and support for Python 3.8
Zaza tests can be found here:
https://github.com/openstack-charmers/zaza-openstack-tests/pull/59
https://github.com/openstack-charmers/zaza-openstack-tests/pull/185

Support Python 3.8 by pulling a version of charm-helpers containing https://github.com/juju/charm-helpers/pull/423

Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/185
Closes-Bug: #1828424

Change-Id: I844836b0c2f7556da0b73a7917b8ec18052ba841
2020-03-05 12:08:25 +01:00
Alex Kavanagh 08ed5de953 Remove cosmic dev test as cosmic is EOL
Change-Id: If27746161a6f661242f5cf6059c8b60e5b0620ec
2020-02-18 18:48:33 +00:00
Liam Young 6ddb81f24b Charmhelper sync for 20.02
Remove disco

Change-Id: Iea8aa135267d1409defa24cc3b74472f05aad26e
2020-02-05 15:39:22 +00:00
Liam Young cda8c3bb72 Add placement charm for tests for train+
Change-Id: Ibdacf37b7ddacb145e4bca0757b2691a26778200
2019-11-12 13:25:40 +00:00
Sahid Orentino Ferdjaoui 9cb5185253 Enable functional tests for train
This patch also updates the smoke test to run train.

Change-Id: I6cf2fb970bd47a93033a95100720bc4c87529aed
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-10-21 09:11:38 +02:00
Camille Rodriguez 95688f064e Add disco-stein bundle to gate tests
The bundle disco-stein was in the dev bundles because
a bug with the Python 3.7 syntax prevented the success of
the deployment of HA clusters. This bug is fixed, we can
reintegrate disco-stein in the gate bundles.

Other small additions:
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

LP Related-Bug: #1823718

Change-Id: If15188c82c21c24d404b9b7620fc042b8be70143
2019-09-04 14:47:36 -04:00
Chris MacNaughton 6fca362f08 Sync charm-helpers
Change-Id: I8691fa05d9a30d17a5f643505e1f31ae59242ff9
2019-07-16 07:06:04 +00:00
Frode Nordahl d6c5aac099 Enable bionic/stein and disco/stein functional tests
Change-Id: I9f4d4b8ec71a603dbc237e9f159a6363c0ddb679
2019-04-09 06:40:26 +02:00
Frode Nordahl 7ca09a1793
Add support for tls-certificates relation
Add support for the charm to request and receive certificates from
the tls-certificates relation.

Add missing direct ``amqp`` relation between ``ceilometer-agent``
and ``rabbitmq-server``

Change-Id: I931f5d3fcbf28e85b1a8e3e7cf24d13cf741e4bd
Closes-Bug: #1818546
2019-03-18 15:07:59 +01:00
Ryan Beisner e761ad36b8
Update functional test definitions
Remove trusty-icehouse test combo from gate, leaving trusty-mitaka
if/where it exists.

Change-Id: Id14d83ae5a2dcb31267270ac5dacb2015708c756
2019-02-06 14:47:06 -06:00
David Ames e2ca8f06de Status blocked until ceilometer-upgrade action
Currently it is unclear that ceilometer is not actually ready when it
is related to gnocchi until the ceilometer-upgrade action has run. The
status will show active Unit is ready when it is not.

When gnocchi is related, check that the ceilometer-upgrade action has
been run. If not set workload status to prompt the administator to run
the action.

Please merge the charm-helpers change first:
https://github.com/juju/charm-helpers/pull/270

Partial-Bug: #1811108
Change-Id: Id778ed3f59e4bcde9c6586aad46be2b5b9ccb531
2019-01-29 23:59:57 +00:00
Ryan Beisner d394a61682 Sync charm-helpers
Change-Id: Idfc2d473bcb76552e8f280e795cae02cffafa865
2018-11-09 11:21:35 -08:00
Liam Young 67b149f89c Support listening to multiple rabbit queues.
This change adds the ability to listen for events across multiple
rabbit queues. Nova cells v2 has a message broker per cell and
the charms already support having a separate message broker for
neutron, in both these topologies ceilometer needs the ability to
listen to multiple brokers.

To achieve this a new relation 'amqp-listener' has been introduced.
The existing 'amqp' relation should be used for the broker that
ceilometer listens to and publishes to. 'amqp-listener' should be
used for additional brokers that ceilometer just listens on.

Update functional tests to satisfy relation with
nova-cloud-controller.

Change-Id: Ifdade3f7814620f4cd4a1d35a584cbc099bb6d88
2018-10-19 07:30:12 +00:00
Ryan Beisner 2b4f4428a1 Update requirements
Change-Id: I78010884bce5c025901aa16bc32d123ac1d33c9d
2018-10-03 11:14:54 -05:00
Corey Bryant 7cee61a193 py3: Switch to using Python 3 for rocky or later
Switch package install to Python 3 for OpenStack Rocky or later.

When upgrading, remove any python-* packages that where explicitly
installated and then autoremove --purge any dependencies that are
no longer required.

Change-Id: I120ed44988f9e86a27f464dc879acdc1b8926dd8
2018-09-19 12:54:22 +00:00
Ryan Beisner b3ba55216d Update functional test definitions
Change-Id: I6ef5624c5cfeabc81c74e9e078df83e461321a5a
2018-08-27 18:11:52 -05:00
Ryan Beisner 60f947e10f Update functional test definitions
Change-Id: I8014e4b9c174e91f547cba689c05266fb4ef0fa7
2018-07-18 18:34:18 -04:00
Chris MacNaughton fed72d6f2e Remove old nova-compute / mysql relation
Change-Id: I9ad9e7668a2664a0ac9fde680869737e76ed87b6
Closes-Bug: #1713807
2018-07-18 10:28:33 +02:00
Chris MacNaughton e4b1c244fb Sync charm-helpers to ensure Rocky support
Change-Id: I3b58874e67cf98ff2d3913b6f19df8048c820b4b
2018-07-13 15:50:54 +02:00
Ryan Beisner 7f035b127f Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: If1acd82a6e351947ab03aeb4415b17a81186aa4a
2018-07-11 14:02:53 -05:00
Chris MacNaughton da409189b9 Update tests to use Juju storage
Due to changes to the ceph-osd charm, it is
suggested to use Juju storage for testing.

Change-Id: Ie92c503dd8aaf1fb43920792a676c98bfc222cc9
Related-Bug: #1698154
2018-06-04 17:30:40 +02:00
Zuul f35a28a1f0 Merge "Enable Bionic as a gate test" 2018-05-11 09:03:15 +00:00
Ryan Beisner ec4fdaca72 Remove deprecated functional test targets
Change-Id: I443241fcd096c594ef11d83c9033e64ff5b74b2c
2018-05-09 16:33:19 -05:00
David Ames c82d7ca193 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: I62ce9734a406f97b8199255d722577a23cc68cab
2018-05-09 10:04:36 -07:00
David Ames 7589f3c260 Do not assume OS release
The ceilometer charm was assuming grizzly before the ceilometer-common
package was installed to determine the OS release. On queens deploys
this breaks due packages not being installed.

If ceilomter-common is not installed return empty configs.

Change-Id: Ib8bc1b7be3595bd8e64a25d0444dd768b80de881
Closes-Bug: #1759301
2018-05-08 09:11:38 -07:00
David Ames f3148b9bd7 Run ceilometer-upgrade as an action
The ceilometer-upgrade command needs to be run to update back end
ceilometer data stores. When attempting to run this command during
deploy time due to the number of required relations many inherent
race conditions exist leading to Bug#1749280.

This change allows the ceilometer-upgrade command to be run as an action
post-deploy.

Change-Id: I64a56d9a38532476b8a01df6227231a1276c708f
Closes-Bug: #1749280
2018-03-08 14:20:15 +00:00
Liam Young 8f5babe429 Fix up amulet for queens
Queens ceilometer requires a number of different services and
relations, the amulet functional tests have been updated for
that. Also move to using charmhelper keystone v3 api helpers.

Change-Id: I432c8937693fb47e7ca52e6dafe143a0143c437d
Requires: https://github.com/juju/charm-helpers/pull/119
2018-02-26 11:32:06 +00:00
Zuul aa9443f85c Merge "Sync charm-helpers" 2018-02-22 09:54:23 +00:00
Ryan Beisner 9f1229e3f7 Sync charm-helpers
Change-Id: Ia846fe377366315d93fc08b8382d01631b25ecc0
2018-02-21 14:06:55 -06:00