Commit Graph

63 Commits

Author SHA1 Message Date
Alex Kavanagh d73b7f0e4e 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: I02c43750f4c910eb5ce55cc6040f6ea50bd419b2
2024-02-24 19:53:14 +00:00
Corey Bryant 068240f115 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: I272c90848169e142a8c032f581b0d7cecebc299f
2023-08-02 14:09:37 -04:00
Corey Bryant 6f860444b5 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: I88ab5103f91b7f4772820a2ab8096d6a431b26ad
2023-03-29 21:01:47 +00:00
Corey Bryant 7331a80bb2 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: Iac8f5822f350bc84a6baf560990a0c5a01536d5b
2023-03-14 14:12:46 +00:00
Corey Bryant 9a3334bf0f 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: I49cade430fa875816b785d72252bd3d34cb787df
2022-08-26 18:40:30 +00:00
Alex Kavanagh 9e38ea454e Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
  target.
- ensure that the openstack-origin is yoga

Change-Id: Ifbf5da17ceb179bfc5d9248494a8a552f7880b3a
2022-04-11 07:56:13 +00:00
Alex Kavanagh 110fcddcf7 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: I41b2b99a832879e786936f34937c6c876439e924
2022-02-22 08:06:40 +00:00
Alex Kavanagh 3d21ccf27f Migrate charm to charmhub latest/edge track
Change-Id: I409d37bff9dde8bd94c2512e57170df6024f9b8f
2022-01-27 19:58:12 +00:00
Corey Bryant 79a00cad81 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

Depends-On: https://review.opendev.org/c/openstack/charm-cinder/+/814177
Change-Id: If8894bf0150c7fd0a73d70d20753d67efe92c0b8
2021-11-17 13:48:38 -05:00
Alex Kavanagh 3f9e52dd49 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: Ic4949d2152579e2d5cbcd7e6ee8edd749da5b7d4
2021-09-22 14:51:04 +01:00
Alex Kavanagh 59674b090d Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

Sync libraries.

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

Change-Id: I9534bd7092d2c2abe9e2a85703d4cf9b8f763d82
2021-05-05 16:31:53 +01:00
Billy Olsen ef4f08af8c Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: I1468b4c95eb8aa3bc5d7e067036ff0cad41837a0
2021-02-19 17:00:33 -07:00
Aurelien Lourot 74dc156660 Add Victoria to the test gate
Also sync libraries.
Also take trusty-mitaka out of the gate because of linked bug.
Also fixed Victoria bundles as they were trying to deploy
percona-cluster.

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/434
Change-Id: I575d00b993fbff33d80956278b01e87e434713e0
Related-Bug: #1877076
2020-11-12 11:27:15 +01:00
Aurelien Lourot 2566627596 Add Ussuri and Victoria test bundles
Change-Id: Iba52bdfa1352bd90879f87d369fcb735b0b2425b
2020-08-25 13:13:51 +00:00
Alex Kavanagh a1dade70f9 Add focal and ussuri test bundles
The focal-ussuri test is disabled for gate (it's in dev bundles) due to
the upstream bug [1] in os-brick connecting to ceph-octopus in focal.
Bug [2] is for tracking the issue against the charms.

Related-Bug: #1865754 [1]
Related-Bug: #1891626 [2]
Closes-Bug: #1879684

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/390
Change-Id: I64c4ef1d7f5c183b7f04e089e126eda52136d7fc
2020-08-20 15:27:14 +01:00
Alex Kavanagh 4f6c5012a3 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.

Change-Id: Idac890dc8ab33941979e3cf7f46b764dbf3df9a1
Closes-Bug: #1881246
2020-05-29 12:54:58 +01:00
Aurelien Lourot f5eacbd0c9 Fix Zaza tests, pre-freeze 'make sync' and Python 3.8 support
Change-Id: If2ac13d703f2f7b6af19f5beba5ae898c64f8584
Closes-Bug: #1828424
2020-05-12 13:50:19 +02:00
Alex Kavanagh 97830b9f93 Remove disco support from the charm
Change-Id: Ife734ed43ee213bf328933c58efbdb6387db37ef
2020-02-18 16:04:16 +00:00
Corey Bryant 3db87ae2fc Sync charm-helpers for Ussuri/Focal release and version details
Change-Id: Ica52cd619a2a710de985055c1528e7cda4e7b14f
2020-01-27 16:36:30 +00:00
Sahid Orentino Ferdjaoui 962395007c Enable functional tests for train
This patch also updates the smoke test to run train.

Change-Id: I6b665a324d32eec1ed4ef0065db70dfd2dae125f
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-10-30 09:38:35 +00:00
Natalia Litvinova 478cda6ad6 Migrate functional tests from Amulet to Zaza
This patch migrates functional tests from Amulet to Zaza.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/70

Change-Id: I92f0a9bdd3677200c775dc82695a3b950a51aac9
Partial-Bug: #1828424
2019-10-09 10:14:32 +03:00
Chris MacNaughton c3b57d2860 Sync charm-helpers
Change-Id: Ie410edc7433de45b895a0fe9940e70513df15caa
2019-07-16 07:06:06 +00:00
Frode Nordahl 31270aa9a7
Enable bionic/stein and disco/stein functional tests
Update name of ``backup_driver`` for Stein and onwards, reflecting
changes of how Oslo library now does import of drivers.

Change-Id: Icb050254488437bd1635fbe73b564238869e3421
2019-04-16 11:34:56 +02:00
Chris MacNaughton 9d20f48964 Sync charm-helpers for Stein release
As a part of the Stein release, we need to ensure
that charmhelpers is up to date.

Change-Id: I17a8ea0474a536285850497d2408a898a4bd73d2
2019-04-05 11:38:03 +02:00
Ryan Beisner c74c50adc2 Update functional test definitions
Remove trusty-icehouse test combo from gate, leaving trusty-mitaka
if/where it exists.

Change-Id: Iace0ff87604de9046b7c5c463de4981c6c5b8340
2019-02-14 07:55:32 -08:00
Alex Kavanagh a53b14a19b Convert the charm to Python3
Change-Id: Ibdb9e582d75fd0c7cd130dddae9966aac5da3279
2019-02-13 16:24:29 +00:00
Ryan Beisner 149bed44e4 Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: If395bcf3f24c350c85ca0c4e169903f7ab38ce46
2018-10-03 11:40:48 -05:00
Zuul f2ba04b809 Merge "py3: Switch to Python 3 at Rocky" 2018-09-21 10:19:40 +00:00
Ryan Beisner 985a2085d6 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: If8e2ed587078527d162689063f3ce491a9fd0643
2018-09-19 13:25:31 +02:00
James Page 131a849452 py3: Switch to Python 3 at Rocky
Misc updates to support the switch to Python 3 for Rocky:

  - Change default smoke test target to bionic-rocky
  - Resync charm helpers

Charm does not directly install any python packages, so
cinder charm will deal with upgrade and switch to py3.

Change-Id: I77d412a62f4a5362c7221b869f4f9c03d5d87737
2018-09-18 15:12:47 +02:00
Ryan Beisner c40ecc43a9 Update functional test definitions
Change-Id: I727b15865b92d8744d35027a891cbdf0987a29e8
2018-08-28 15:19:47 -07:00
Ryan Beisner af2bf9b7e4 Update functional test definitions
Change-Id: I7842bc3d2553426107d66993129fd50c9bcaff09
2018-07-18 18:35:18 -04:00
Chris MacNaughton 10292a93f9 Sync charm-helpers to ensure Rocky support
Change-Id: I3e854a299dc859543292e20d86b94ce2b4fb208b
2018-07-13 15:53:28 +02:00
Ryan Beisner b7b592027b 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: Ie2a7ce040717a604af8193b72e1b0e56fafc83ac
2018-07-11 14:04:02 -05:00
Chris MacNaughton 0fe0bcc8d0 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: I329a99ea20879224f90384a8f50eecc76f5fb2ad
Related-Bug: #1698154
2018-06-04 17:31:35 +02:00
David Ames bb4e4912c7 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: I4d82f73b7b83d5bb597147663d424554d34d7e76
2018-05-17 23:29:16 +00:00
Ryan Beisner 3301c5f57e Remove deprecated functional test targets
Change-Id: Ida42d68991c488b34d15b26b7e2d2499f84e3176
2018-05-09 16:35:06 -05:00
Ryan Beisner 5c0e2c8c3a Sync charm-helpers
Change-Id: Ide6ee5ebf067dde8fc4118f371a3d759030102c0
2018-02-21 14:08:06 -06:00
Ryan Beisner 70d13c911e 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: Ia07936bfcfd25ba3366d60dcc779b85eadb98a35
2018-01-19 17:57:33 +00:00
Ryan Beisner 4e70770d67 Update amulet test definitions
This change requires the following charm-helpers change
to land first:

 - https://github.com/juju/charm-helpers/pull/32

Change-Id: Iae88b2c11fe9ddcc176075f54a8c075d2dc3ba4c
2017-12-06 15:42:22 -08:00
Ryan Beisner 0d8bdc3fc2 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: Id13757b8e694fb17230c2722582656acbcceaea1
2017-12-05 05:27:43 +00:00
Ryan Beisner 87bbbe1bb0 Sync charm-helpers
Change-Id: Ib52cd708e1e04489f150bba62a3a3c3696f5e874
2017-11-27 15:49:38 -08:00
Nobuto Murata 14f6f2885b Use proper ceph.conf generated by ceph-backup relation
When a primary Ceph cluster is used as a volume backend and a secondary
cluster as a backup backend, target Ceph mon addresses will be
different. But previously both Cinder volume and backup services use the
same /etc/ceph/ceph.conf generated by cinder-ceph and ceph-mon relation.
Instead, use separete ceph.conf files based on relation types.

Change-Id: I1d82db179b41b0c01d2a217838384ac71ef7bdad
Closes-Bug: #1713489
2017-08-29 10:23:13 +07:00
Ryan Beisner bbe3fae336 Sync charm-helpers
Change-Id: I4f96a84b8dc7f447ac1b0b89a2a494be8e4946ad
2017-08-24 16:50:45 -05:00
Ryan Beisner 8a1ba0e4be Remove deprecated series metadata and tests
Change-Id: I427aee67fa9af0ad911f7e6adecec9e0a2966c3a
2017-08-23 09:52:24 -05:00
Andrew McLeod 8aeff5bcf3 Modify tests.yaml which specifies bundletester config params
with the following key:value pairs:

- reset_timeout: 600

Change-Id: I545985ee2e8efed71216138a0aaf4531550167fa
2017-08-09 14:24:40 -06:00
James Page f4e10e0af0 Updates for pike b1
Resync charmhelpers for pike version support.

Add pike tests but leave disabled until all charms support pike.

Change-Id: I2b0ba853512f0e1f982ac02dd52c8be5796b8383
2017-05-12 07:49:14 +02:00
David Ames d05b43970b Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I81aba6403759fb973c3c2b0b4b0fab875ec5fc3b
2017-05-02 14:19:39 -07:00
Alex Kavanagh b29534d990 Fix alphanumeric comparisons for openstack and ubuntu releases
- sync charmhelpers with fix-alpha helpers
- fix up code where the alpha comparisons are done

Change-Id: If7d31bbd11cc1c445fc1ac82bd0d4a5097b3f52a
Related-Bug: #1659575
2017-03-28 15:12:10 +01:00
David Ames 239435b26e Pre-release charm-helpers sync 17.02
Get each charm up to date with lp:charm-helpers for release testing.

Change-Id: I227cdb94fd77d76cbd4071c9126ee3743b6a4f47
2017-02-14 14:41:07 -08:00