Commit Graph

121 Commits

Author SHA1 Message Date
Corey Bryant 6b992ed490 Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to quincy
* 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: If59e6c4db7688c0819da2b3feb0c7bda89de6780
2023-08-03 13:51:39 -04:00
Fulvio Galeazzi a2ffd3a497 Add support for CephFS.
Extend ceph-proxy to implement ceph-mds interface, this allows the
ceph-fs to be related. The testing is made reusing the CephFSTests
testing class.

Usage example:

  juju add-relation ceph-proxy:mds ceph-fs:ceph-mds

Co-Authored-By: Felipe Reyes <felipe.reyes@canonical.com>
Closes-Bug: #1922195
Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/558
Change-Id: I437dbac9fe018eb2d0ffb87052d61a08aa014473
2023-06-16 18:44:08 -04:00
Felipe Reyes 00b86b28f4 Normalize testing bundles
Summary of changes:
- Drop 'source' override in mysql-innodb-cluster and rabbitmq-server
- Fix 'openstack-origin'

Change-Id: I19faecbcfebdaf5dcf0d0346c5d0b0eed02866aa
2023-06-16 18:11:21 -04:00
Chris MacNaughton 5ce3787fdb Add support for interim Ubuntu releases
- update bundles to include UCA pocket tests
- update test configuration
- update metadata to include kinetic and lunar
- update snapcraft to allow run-on for kinetic and lunar

Change-Id: I583679055cd8add80321282edd7ec12eaa5826fc
2023-03-21 15:28:05 -04:00
Corey Bryant f7fb2c3693 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: I78b0720e75891a41364ba0ddb82add89c3b77ca1
2022-08-26 18:40:28 +00:00
Chris MacNaughton b66390efaf Remove force-deploy for Jammy
Additionally, Move jammy-yoga out of dev-bundles and
remove Impish test.

Change-Id: Ie82b0f3d3d19a3cd07be133f64a70445e974ad2b
2022-08-12 08:01:24 -04:00
Chris MacNaughton 2750b5591a Updates for jammy enablement
- charmcraft: build-on 20.04 -> run-on 20.04/22.04 [*archs]
- Refresh tox targets
- Drop impish bundles and OSCI testing
- Add jammy metadata
- Default source is yoga
- Charmhelpers and charms.ceph sync

Change-Id: I1e963b2d18aaa8ec61fb5d255f23508879f08e83
2022-04-07 13:58:26 +02:00
Alex Kavanagh 0ff8707cba 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: I17cb0cfe88be075d79d94edcdd2cea845bf78b8f
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-02-17 12:30:04 -05:00
Corey Bryant 05da8ca6ae 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
* charms.ceph sync

Change-Id: I2dda45edafeee8173a9fcb174f3dc18718d664e3
2021-11-18 09:39:34 -05:00
Alex Kavanagh 77c75f62f9 Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- rebuild to pick up charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: Idd5275cb2440ee712dae62b1ef4ba5a6d846135d
2021-09-21 14:32:10 +01:00
Alex Kavanagh e6e8d98302 Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

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

Change-Id: I01125ce328091db86c757d5ee14e3f3eaa913d73
2021-04-16 10:36:06 +01:00
Billy Olsen 2f83bb843b Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: Id415916aaa3e89caafa25064ad5a2109c8d9ee57
2021-02-20 19:20:11 -07:00
Zuul ebd323d397 Merge "Process requests for radosgw per unit keys" 2021-01-13 11:20:41 +00:00
Liam Young dee1f3c86c Process requests for radosgw per unit keys
Process requests for radosgw per unit keys. Ideally the charm
would move to using charms.ceph.utils for the get_radosgw_key
method but this does not work atm. I have raised bug #1899643
to cover deduplicating hooks.ceph v charms.ceph.*

Change-Id: I00f5a58f127baa1f7878b0ddb31b4fa009d9651e
Closes-Bug: #1899634
2021-01-12 11:30:01 +00:00
Aurelien Lourot bee30372d6 Add Groovy to the test gate
Also sync libraries

Change-Id: I60d6b713c152c14b5af37b5c87308c72408801e3
2020-11-27 14:10:03 +01:00
Aurelien Lourot 12682da2fc Add focal-victoria to the test gate
Also add erasure coded Victoria bundles

Change-Id: Ic809edab3d8fb60cb513bfaddd8f1373d969934e
2020-09-07 22:11:24 +02:00
James Page a0f71f6bc8 Add support for erasure coded pools
Add test bundle for erasure-coding with check to validate that
pools are created correctly.

Change-Id: Ic6f959b2e598f7f9cfa13bd60fdab62a22e03b59
Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/396
2020-08-28 11:16:07 +01:00
Aurelien Lourot 7c5254a818 Add Victoria test bundles
Change-Id: I45a84f4b252118527a0991a61b526960864dacd7
2020-07-27 11:06:46 +02:00
Alex Kavanagh b71f4fd81d Add glance/nova-compute to bundles
This is to resolve the associated bug where cinder-ceph has grown the
capability to block if it doesn't have an appropriate relation to
nova-compute.

Also remove the trusty-icehouse bundle as it is not longer supported.
Note, on trusty-mitaka, the nova-cloud-controller is needed as otherwise
nova-compute complains and then dies, leaving a nova-compute service is
not running in the status message.

Also, change the detection of the status messages for the radosgw charm
as it has changed during the dev cycle.

Change-Id: I072b79705a6a7dfb0d5cbd16095e6ececb432ec3
Closes-Bug: #1881246
2020-07-23 16:44:42 +01:00
Alex Kavanagh e3be7e48b9 Add focal-ussuri and bionic-ussuri bundle
This patch adds a focal-ussuri and bionic-ussuri bundles to the tests
for the charm.

Also removes 'admin-token' from the tests, as the keystone charm no
longer accepts the option.

Also, for focal, btrfs-tools has been removed and replaced by
btrfs-progs; thus these are installed on focal instead.  See linked Bug.

Closes-Bug: #1871712
Change-Id: Ifc79beebb981571cebc38be6cb6c2748d22816c9
2020-05-17 16:01:14 +01:00
Aurelien Lourot d4986ad101 Pre-freeze 'make sync'
Change-Id: Ic587b0a7b5f737258fcb069d0978cb7341d51158
2020-05-11 15:13:42 +02:00
Alex Kavanagh ffb93815a0 Remove disco support from the charm
Change-Id: I5106499e5d0f90fe02c07a7668d810a0a97822aa
2020-02-18 14:27:32 +00:00
Liam Young 98c8156538 Charmhelper sync for 20.02
Change-Id: Ib2e4cb4f12c1d0868af73c8b690b7cd5ebff76c2
2020-02-05 14:07:53 +00:00
Corey Bryant ae5afd8239 Enable functional tests for bionic-train
This patch also updates the smoke test to run bionic-train.

Change-Id: I0ba45f400cde80ab4ec86e7ceb88dea786c74c82
2019-10-24 13:15:54 -04:00
Ryan Beisner 63c0ebbcd7 Sync charm/ceph helpers, tox, and requirements
Also clean up pre-existing pep8 violations in the
files/* dir which was previously not covered by lint testing.

Also clean-up mocking issues around apt-pkg replacements in the
unit tests.

Also fix py35 issue with enabled_manager_modules() function in the
charmhelpers library (see
https://github.com/juju/charm-helpers/pull/387).

Also fix the functional tests bundles so they actually test the
version of OpenStack that the bundle indicates.

Change-Id: I2c8d84fadc11311c622dd308c4694496872dc157
2019-10-14 18:23:31 +01:00
Rodrigo Barbieri 656301c196 Add cinder-ceph to CI and functional test
Added cinder-ceph to CI to run a new functional
test included in zaza.

Change-Id: I3a91ff4cc55edd824501d0e190cc239ae03f54a5
2019-10-02 10:46:57 -03:00
Rodrigo Barbieri 80d6948a59 Fix CI not deploying patchset changes
Tests.yaml was missing a parameter, causing
zaza to pull latest ceph-proxy from charm
store instead of using the changes of
patches proposed in gerrit.

This change fixes it, now zaza deploys
ceph-proxy from local repo created
during tests that contains the patch
proposed in gerrit.

Change-Id: I3681e72f032780b864d02a95cf983f26a0b1c91e
2019-09-23 17:58:18 -03:00
Camille Rodriguez 1e64788677 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:
- Passing OS env vars instead of AMULET
- 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.
- adding bionic-stein bundle to gate_bundles instead of dev

LP Related-Bug: #1823718
Change-Id: Ia7093a5654a763670be05635f7f6fce292eb9c96
2019-09-04 16:27:06 -04:00
Chris MacNaughton 67b6872b28
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: Ie306d2caaafb16eff0ee4481a691c1f5a2f31cf4
2019-08-19 11:48:37 -04:00
Chris MacNaughton 1d7f50a46d Sync charm-helpers
Change-Id: I759be5dc13a784efe5850c403275c2c0b288da13
2019-07-16 07:06:04 +00:00
Ramon Grullon 8e08a9c22a Migrate charm-ceph-proxy testing to Zaza
Change-Id: If9e79b22a919997961a23929435450af0883b882
Closes-Bug: #1828424
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/5
2019-05-28 13:42:30 +00:00
Frode Nordahl 2d70bab004 Enable bionic/stein and disco/stein functional tests
Drop explicit install of python-ceph; ceph-common has an
appropriate dependency on the required python{3}-ceph package
so this is not required, and breaks on Stein where Python 2
packages are no longer provided.

Closes-Bug: 1824154
Change-Id: Ia219258f73f038170bc5a070d562e499459fe246
2019-04-10 16:41:15 +01:00
Ryan Beisner c5acc82fd2
Update functional test definitions
Remove trusty-icehouse test combo from gate, leaving trusty-mitaka
if/where it exists.

Change-Id: I12fb4a889e5358aac76e8c7d8f1663976e2b7185
2019-02-06 14:47:34 -06:00
Ryan Beisner 9f40a59d14 Update requirements
Change-Id: If2ac287dcf43a85531320e5e91970375aae94885
2018-10-03 16:26:42 -05:00
Ryan Beisner df29b5780f Add cosmic
Add a tactical change which is already merged into charm-helpers.

This needs to go into all charms to solve the chicken:egg issue
where cosmic is untestable until this change exists.

Reference:

4835c6c167

Change-Id: I91df2da7be9521689372a2be5f6b7220fee449dd
2018-09-19 13:24:37 +02:00
Ryan Beisner e54c4c0194 Update functional test definitions
Change-Id: I65af0862d9db22cf84c52fb4ff6fe19f6a61d705
2018-08-27 18:13:08 -05:00
Ryan Beisner 6f3e8d7c44 Update functional test definitions
Change-Id: Ib3f932df1bc0fa0032962880b2830d767933271c
2018-07-18 18:34:56 -04:00
Chris MacNaughton a1d1203cff Sync charm-helpers to ensure Rocky support
Change-Id: I40ca34add5d0f0d59895bfbb67000642c57c8fc5
2018-07-13 15:52:22 +02:00
Ryan Beisner 9fb8252a00 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: If892cf5e5b045300433dc2737f3b8b479d12527e
2018-07-11 14:03:35 -05:00
Chris MacNaughton 199da4e739 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: Icd1b53d8672271a5350b630f14f20bbd3b6c8740
Related-Bug: #1698154
2018-06-05 08:12:15 +02:00
David Ames 4f29e1b1fc Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: Ice91cd32a8e1b82be80b29e67bdeec32cfa89254
2018-05-11 14:39:41 -07:00
Ryan Beisner c88bc5de02 Update amulet test definitions
Enable Queens, and set Queens as the smoke gate

Remove soon-to-be deprecated combos

Change-Id: I905aabc8d2168e87b6d341bac45a38991f26cc57
2018-03-28 14:07:45 -05:00
Chris MacNaughton 84f1f6b188 Add xenial Queens amulet tests to gate
Change-Id: I506298f31ab619f21b5acebdfcc9ae2557dac234
2018-02-23 08:16:30 +01:00
Ryan Beisner 4f2df121f1 Sync charm-helpers
Change-Id: I21920e173b2421b3dd077655b9b01812064b7d68
2018-02-21 14:07:36 -06:00
Ryan Beisner 2b2d710130 Sync charm-helpers
Notable issues resolved:

openstack_upgrade_available() broken for swift
https://bugs.launchpad.net/charm-swift-proxy/+bug/1743847

haproxy context doesn't consider bindings
https://bugs.launchpad.net/charm-helpers/+bug/1735421

regression in haproxy check
https://bugs.launchpad.net/charm-helpers/+bug/1743287

Change-Id: Ica4baeed1be9fb16ccadc21d45d3bb71899a0aed
2018-01-19 12:07:50 +00:00
Ryan Beisner f9c40c41ee Add Bionic and remove Zesty series and tests
Bionic, being the next LTS, is important to enable for dev
and test as early as possible ahead of 18.02.

Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
will not provide Zesty series support, as it was an interim
(non-LTS) release.

Change-Id: Ia0ea3d0ce22856c9a705417f258b6d0484bb0882
2017-12-05 05:27:24 +00:00
Ryan Beisner 0ab6229b0f Sync charm-helpers
Change-Id: I6ff4a1b812057e3a4d67b992dd7b8e4582d8c12c
2017-11-22 18:23:50 +00:00
Ryan Beisner 9045d49642 Update amulet test definitions
Change-Id: Iacd3ad7f0aa02b59288c045817672fcb387e6da4
2017-09-28 03:52:54 +00:00
Ryan Beisner 68e357e73d Sync charm-helpers
Change-Id: I5ef76ecf8171bc96b1dfdc33b6df90fc130b3a76
2017-08-24 16:48:09 -05:00
Ryan Beisner f97a351481 Remove deprecated series metadata and tests
Change-Id: I79283330e7bae711c6d8866460861217bcb55a75
2017-08-23 09:51:57 -05:00