Commit Graph

114 Commits

Author SHA1 Message Date
Alex Kavanagh 16f8bc201e 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: Icdefacaadb7f03d7241a0e0d88c09fcbac668530
2024-02-24 19:53:45 +00:00
Corey Bryant 75ed04915a 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: I01b2164017b21b64fc6858368dfb3b0694243970
2023-08-02 14:19:22 -04:00
Corey Bryant c09949a4df 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: I4e2f6e5d763b6fe216082b063d5dcc12e1aa3f62
2023-03-29 21:01:48 +00:00
Corey Bryant 5ce593f732 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: Ide30533ef53c7c7e500b2e68377c34a805a89382
2023-03-01 16:56:51 +00:00
Liam Young 2a10ff296f Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I626a4bff6a04efcb150f19ca9dee628292ed3008
2023-01-17 09:33:12 +00:00
Corey Bryant ef5f2f417e 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: I68434d15a68d087a4fd704d9dde6e5a878d5cdca
2022-08-26 18:40:35 +00:00
Alex Kavanagh acb1842832 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: I563a3af2895ddf2eb5d8e61006eb8eb2cb8d8d37
2022-02-17 12:30:08 -05:00
Alex Kavanagh c9f0cb051c Migrate charm to charmhub latest/edge track
Change-Id: I2c41ac824f552c0aca5ae4c55da5f987f779449e
2022-01-27 20:24:15 +00:00
Corey Bryant 49a3720ebe Additional test updates
* drop trusty/xenial metadata and function tests
* switch to release-specific zosci functional tests
* switch to yoga zosci unit test job
* add py39

Change-Id: Ib6109d01bcbff405d025e1ace671debef0ae7c59
2021-11-17 14:47:22 -05:00
Corey Bryant 33a3898114 Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* pin pyparsing for aodhclient
* pin cffi for py35
* add non-voting focal-yoga bundle
* add non-voting jammy-yoga bundle
* add series metadata for jammy
* switch xena bundles to voting
* run focal-ussuri as smoke tests
* remove groovy bundles

Change-Id: Ie8a5fe3f3dd10de1b4f180ce05b542896f594393
2021-11-09 10:27:03 -05:00
Alex Kavanagh 32d9fff926 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: I35ec110170c213f17f9d998a77e2ad4fdaf2dc4c
2021-09-23 14:39:44 +01:00
Alex Kavanagh c7cb7bb4af Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

Libraries sync.

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: I812173ba3ac085fcd1e0d2b4635b29c8b5a377e6
2021-05-06 10:14:07 +00:00
Billy Olsen 7cbd30406f Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: I44bb5196a2e067ceff5218fec823b2d90111f54c
2021-02-19 17:01:57 -07:00
Aurelien Lourot 7fff0b6817 Add Groovy to the test gate
Change-Id: I72f7d3821f95ac2ff6bb998935e92833fa50622f
2021-01-07 10:11:45 +00:00
Aurelien Lourot 894131d2ae Work around missing dependencies on focal-victoria
Also add focal-victoria to the test gate.

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/425
Change-Id: I80e0f8f975a263fbe4c92bdeb2790ebd49cf68d9
Closes-Bug: #1895300
Related-Bug: #1893935
2020-09-24 10:44:06 +02:00
Aurelien Lourot e0cd2f2af4 Add Victoria test bundles
Change-Id: I22c383859960395866018d8eee8d97bdf0d38f07
2020-07-08 14:30:19 +02:00
Alex Kavanagh d7767bcac2 Enable focal and ussuri as part of the gate tests
Add bionic-ussuri and focal-ussuri (with mysql8 support) bundles.

Change-Id: I7505e685511b7230d671669d7b5cc84243177155
2020-04-28 13:34:33 +01:00
Corey Bryant 1b923c5731 Sync charm-helpers for Ussuri/Focal release and version details
Also drop Disco bundle now that it is EOL.

Also add machine constraints to ensure stacks create
properly

Change-Id: Ic1301c6fc052a4ace4b6f6a817a5ac72fd303732
2020-01-28 08:24:56 +00:00
Alex Kavanagh 98de623820 Policyd override implementation
This patchset implements policy overrides for heat.  It uses the
code in charmhelpers.

It also fixes a bug in the actions/domain-setup where it assumes that
the python2 version of openstackclient should be installed, and corrects
this via code in hooks/install and hooks/upgrade-charm.

A sync of charm-helpers is included to bring the latest policyd changes
through to the charm.

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

Change-Id: Ia607dc9120cfb03902efb019041b43cf12ade2d3
Closed-Bug: #1741723
2019-11-06 16:12:34 +00:00
Corey Bryant a963596ed5 Switch smoke test to bionic-train
Change-Id: Ia2cc94850b2dc09eba2702aba6d153a83be4bce1
2019-10-31 15:07:24 -04:00
Jose Delarosa 4e29bc37d7 Implement zaza tests for heat charm
This patchset removes the amulet tests and ports them to use the zaza
framework.

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

Code improvements and fixes

* Used correct templates for test-requirements.txt and tox.ini
* Fixed functional_test field in Makefile
* Removed admin passwords and tokens from bundle files
* Added source and openstack-origin for all bundles that need it
* Added placement charm to bionic-train bundle

Add configuration entries to tests.yaml

Change-Id: I53201690ce844daa9445cad3491f594b673b23fe
Closes-Bug: #1828424
2019-10-30 11:44:20 -05:00
Camille Rodriguez 096e85badd 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: I6596739f10292d3953834d56c24de380d405b90b
2019-08-30 16:32:49 -04:00
Corey Bryant 3099142117 Sync charm-helpers and use "rabbit_use_ssl" for ocata
Ensure "rabbit_use_ssl" is specified in the [oslo_messaging_rabbit]
config section instead of "ssl" for Ocata, since "ssl" was not yet
introduced.

Change-Id: I41da24f87cfdc66f6061426913f0d64b7dbb8398
Closes-Bug: #1838696
2019-08-05 11:47:41 +01:00
Chris MacNaughton dc5359eee5 Sync charm-helpers
Change-Id: Id94675deac977d88d8fe258aa04bafe372a7a8f2
2019-07-16 07:06:03 +00:00
Frode Nordahl 0082debd13 Enable bionic/stein and disco/stein functional tests
Change-Id: If740eeaec72308fd3b979a1ec12d46cb6193625f
2019-04-09 06:30:11 +02:00
Ryan Beisner 569897744b
Update functional test definitions
Remove trusty-icehouse test combo from gate, leaving trusty-mitaka
if/where it exists.

Change-Id: I11b4facfc96a5eda9acbdba933f558174cdef156
2019-02-06 14:48:39 -06:00
Corey Bryant 3e7baa7014 Sync charm-helpers and corresponding amulet update
Change-Id: I1fa94046cd49739dcb09ac3b2a06e8930d496e9a
2019-01-12 14:27:43 +00:00
Corey Bryant a04e2a50b2 Sync charm-helpers and corresponding amulet update
The amulet tests now explicitly specify the pymysql driver for the
mysql sqlalchemy dialect. The sqlalchemy package has switched back
to using mysqldb as the default driver for the mysql dialect in
Ubuntu Disco (Stein) and charm-helpers has been updated
accordingly to maintain the same behavior.

Change-Id: I0ac216eeb01727797417ab3a37e40c1e66b8264f
2019-01-08 13:13:43 -05:00
David Ames 0bcdc44c01 Series Upgrade
Implement the series-upgrade feature allowing to move between Ubuntu
series.

Change-Id: I4377125f537c555e4b0b63dc08a3d9c0fc9d5251
2018-10-15 16:25:06 -07:00
Edward Hope-Morley 582e352144 Fix commit 14a2995
Original commit added incorrect config section [heat_clients]
which should actually be [clients_heat].

Also adds workaround for bug 1750395 which affects creation
of server without specifying network (>= rocky). This is needed
for amulet tests to pass.

Change-Id: I8f1036bd8797a336d836a6b3f6fa9cb50f7a8fa8
Closes-Bug: #1770144
2018-10-08 11:41:25 +01:00
Ryan Beisner 39e662471c Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: Id143b48d67b86ee3e8b90a2916c69f41d21d0c08
2018-10-03 11:41:27 -05:00
Corey Bryant 711693ac47 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: Iaac7c48041200a21a2fdb86dbeadefcad5e8b579
2018-09-20 08:31:30 +00:00
Ryan Beisner 8fc5b17f0d Update functional test definitions
Change-Id: Iff8d4f9b9185d7d6d8cd94063c0a31f2d7a5da0a
2018-08-28 21:09:01 +00:00
Ryan Beisner a559903ba6 Update functional test definitions
Change-Id: I7428ceecf53a88bcea53a233d5f738d4d0b51d6f
2018-07-18 18:36:17 -04:00
Chris MacNaughton 58ed31327b Remove old nova-compute / mysql relation
Change-Id: Id45ab06b04de380188b5bceb3313b853b9481ccf
Closes-Bug: #1713807
2018-07-18 10:29:06 +02:00
Chris MacNaughton 37e4bd5896 Sync charm-helpers to ensure Rocky support
Change-Id: I497ca6e056d5a0d1f0456ef351c247f1ba0bc0b0
2018-07-13 15:55:17 +02:00
Ryan Beisner 3f01d3d5cb 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: I1778433a59d56379a85fa224fd8e1b6c529709db
2018-07-11 14:05:12 -05:00
Corey Bryant e4a8080ae7 Sync charm-helpers for Rocky series support
Change-Id: Ibdd50c7305a5b60885449eb703a1f09e2231941c
2018-06-21 19:09:00 +00:00
Liam Young 4d95836add Add support for tls-certificates relation
Add support for the charm to request and receive certificates from
the tls-certificates relation.

Change-Id: I6222e5eb9c8a0a5f079ecc2e5e5c97abc1c39515
2018-05-16 10:19:50 +00:00
Zuul b243b71c35 Merge "Enable Bionic as a gate test" 2018-05-11 09:03:23 +00:00
Ryan Beisner 1716f083a6 Remove deprecated functional test targets
Change-Id: I74c2ff369e6c3f8b5d34c9a602b4bc3328ea3e4a
2018-05-09 16:36:03 -05:00
David Ames 7f55ac4aa9 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: Ifecb6855712b705cd70d848a5df7f265ead587af
2018-05-09 09:33:50 -07:00
David Ames 5f8d3317e6 Charm-helpers sync to fix CA cert comparison
The comparison of bytes vs string of the CA certificate produces a
false negative. This leads to rewriting certificates and affecting
connectivity to services.

Read in the certificate as bytes as well for a bytes vs bytes
comparison.

Change-Id: I1271ff7dc7fd2ebc0327801cd97d62971ff82e94
Closes-Bug: #1762431
2018-04-11 14:23:17 -07:00
Liam Young 028887ed6d Fix up amulet for queens
* Fix up amulet tests to use keystone v3 clients.
* Add xenial/queens to gate

Change-Id: I6e870571cec65fe4cd55384c6c84761b71e92d77
2018-03-02 20:27:06 +00:00
Ryan Beisner 78bbbf93d3 Sync charm-helpers
Change-Id: Id21a23cc369d7800bbdae9039724b51f712a3fe4
2018-02-21 14:08:46 -06:00
Zuul 25335ce073 Merge "change spell error" 2018-02-12 13:39:56 +00:00
Billy Olsen 641c481db8 Sync charm-helpers
Sync charm-helpers to pick up the updated InternalEndpointContext
which removes the need to provide a package.

This essentially reverts commit 7620ce89 in favor of an alternative
approach to selecting the volume catalog endpoint information.

Change-Id: I20c2db2d30462d1d6fcbc7578a59eb2b4b790c83
Related-Bug: #1733566
2018-02-08 18:47:41 -07:00
Ryan Beisner 0856bf4158 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: I634a58bc6b5851da8719d30541b028b0d6c9d2f5
2018-01-19 12:08:59 +00:00
brandonzhao 16ee0f0ba4 change spell error
change the right spell "resource" word

Change-Id: Ieb9d4658a2386fed44edfd25994c251fa28ac03e
2018-01-18 17:00:41 +08:00
James Page db73787c80 Remove deploy from source support
Drop support for deployment from Git repositories, as deprecated
in the 17.02 charm release.  This feature is unmaintained and has
no known users.

Change-Id: I821f8b6d93f84b0fd632e18c47dc4184c5897756
2018-01-10 11:41:00 +00:00