Commit Graph

163 Commits

Author SHA1 Message Date
Corey Bryant 4e5659b51b 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

Change-Id: I0f57eb5912bbb21e29f2f4b72dd137342c1cf3fe
2023-07-24 17:38:23 -04:00
Corey Bryant 4d176e1330 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: I4623910b60e39fa957cac71ad9519fdfda231e2a
2023-03-29 21:01:51 +00:00
Corey Bryant c8ea6746fe 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: Iaeabaaf9d59fc8b50a685ddc5c91f4cf4f2b748f
2023-03-08 12:47:59 +00:00
Gabriel Cocenza c29a1c7b8e Add support for HAProxy L7 checks
This change add several configuration options to enable HTTP checks
to the HAProxy configuration, instead of the default TCP connection
checks.

Closes-Bug: #1880610
Change-Id: Ie1f53d38c1c45ce3b2ddf5041eaa04a7f3139066
2023-02-23 21:07:47 -03:00
Corey Bryant 745a89a7c1 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
* add domain/project to auth section of yoga proxy-server.conf

Change-Id: I93da9ce52bed2b3e8a467491d2a61bfd2ed4ea7d
Closes-Bug: #1988491
2022-09-06 16:23:07 +00:00
Alex Kavanagh 733f8d9791 Migrate charm to charmhub latest/edge track
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.

Bundle fix needed since z-o-t:
2bb4271530

Change-Id: I0067ff7941037b7e87dbfc1fb92b48bb380bb22d
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-02-24 10:26:12 +00:00
Bartlomiej Poniecki-Klotz d92cf5756e Fixed removing multiple devices
Added a confirmation flag for swift-ring-builder command when multiple devices are found to be removed.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/656
Closes-Bug: #1937289
Change-Id: Ieeb326e7d9af21a77954e95e909d6fcf20a3092c
2021-11-22 14:13:07 +01:00
Corey Bryant 13fef16326 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
* add focal-ussuri-gr bundles

Change-Id: I1fbab001a381fe2c3015915ee0d4bc417cb04fef
2021-11-19 14:48:28 -05:00
Chris MacNaughton fb8ed49ae4 Disable local overlay for the CMR bundles.
Closes-Bug: #1945786
Change-Id: I58774e4d757ea2fb4533dc7ed284f4119c92f010
2021-10-07 11:12:12 +02:00
Alex Kavanagh 4b08ed360a Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- remove groovy-victoria bundle
- charm-helpers sync for new charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: I9c9d72d83b9c14dafef98a3fe9bb84e2b6cfbe1f
2021-10-04 14:29:54 +01:00
Aurelien Lourot cc6bac5758 Sync release-tools
In order to fix ResolutionImpossible on tox invocation.

https://github.com/openstack-charmers/release-tools/issues/151
https://github.com/openstack-charmers/release-tools/pull/152

Also remove unused applications from bundles for focal-ussuri+ as zaza
is now more aggressive at checking for applications that have no units
during deployment.

Change-Id: I0b30a731751960782569f4f2a443a07f3fc07d91
2021-07-27 10:50:24 +01:00
Chris MacNaughton b086bc94b9 Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

Change-Id: I97b20f0f8eaae99b2ca75e283f4a2c29be871198
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2021-06-15 14:43:57 +02:00
Billy Olsen 453d48a12f Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: I18f6bc0c031754f10783cb254ef8de7e1fd3cba7
2021-02-20 19:22:14 -07:00
Aurelien Lourot a992942179 Add Groovy to the test gate
Change-Id: I6700662818cdce26be14030d7cdb5d1952763b0f
2020-11-05 12:54:41 +01:00
Aurelien Lourot c65cc751b2 Add focal-victoria to the test gate
Change-Id: I6fcfc56fe1d311119df8a2805b7d2f1aa6198fe4
2020-08-28 14:28:41 +02:00
Aurelien Lourot 2c52de0ebd Add Victoria test bundles
Change-Id: I4a1d73f6aae29f2462ad73e3a6fe0b11345f44cf
2020-07-08 14:36:06 +02:00
Arif Ali d21648e671
Policyd override implementation
This patchset implements policy overrides for swift-proxy.  It uses
the code in charmhelpers.

Closed-Bug: #1741723
Change-Id: Ic51ee5d181558b63dfd968c5b0c7d40760a5ac59
2020-07-01 11:00:49 +01:00
Alex Kavanagh 3f41645f97 Enable focal and ussuri as part of the gate tests
Add bionic-ussuri and focal-ussuri (with mysql8 support) bundles.

Change-Id: I5c440e973b0e91dfef275d5644ac6ba93e194dae
2020-04-02 14:41:52 +01:00
Frode Nordahl ed9051a9f3
s3token: Fix Keystone API configuration
Upstream removed the api_version configuration option and started
to expect the version to be encoded in the Keystone URL at Rocky.

Add S3 API functional test.

Remove invalid configuration items in the s3token section.

Remove configuration templates for OpenStack versions prior to
Mitaka.

Change-Id: Ia3306441222f7c078d460c659701a57a5944c928
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/194
Closes-Bug: #1867373
2020-03-16 12:26:52 +01:00
Liam Young cd872e79e7 Workaround for Juju bug 1860992
Change CMR offer names to match application names to workaround
Juju bug 1860992.

Change-Id: Idce188397884521e686c2ea201e671a6557d4bf2
2020-01-29 12:48:19 +00:00
Corey Bryant 8b1743129d Sync charm-helpers for Ussuri/Focal release and version details
Also drop Disco test bundle now that it is EOL.

Change-Id: I1296a716484e735016876154e8650ea4569d6939
2020-01-27 10:21:51 +00:00
Liam Young 370904569a Add functional tests for global cluster
Change-Id: I766f76b7bebf22cc6234c533b45725719d8490f0
2019-12-17 16:33:12 +00:00
Liam Young dba095bd8b Add pause/resume tests back after z-o-t refactor
Change-Id: Id8038845511475c72b5420bd7cf5014fbc461012
2019-11-05 10:04:16 +00:00
Corey Bryant dd806f0db6 Enable functional tests for bionic-train
This patch also updates the smoke test to run bionic-train.

Also drop tests/basic_deployment.py as it is no longer used.
This should have been dropped in the transition to zaza.

Change-Id: I74594019743b83190d7d55d8eb7aeed7e8c40d04
2019-10-22 13:40:07 -04:00
Liam Young ff7dbb6c98 Switch functional tests over to use zaza
Switch functional tests over from amulet to zaza.

Change-Id: Iaca8462feb0d5a8ac3d839248a91dd17cbd19438
2019-09-28 06:36:01 +00:00
Chris MacNaughton 047fa67a41 Sync charm-helpers
Change-Id: I9fac02f2ed2717d5d99a0362f64a6426bd3eba10
2019-07-16 07:06:06 +00:00
Tytus Kurek f9a02a3f58 Dispersion report
This patchset adds a template for the 'dispersion.conf' file which is
used for swift cluster health monitoring.

Change-Id: I348ded9f94f2bcb7a680b2c2280ff163cde65c46
Closes-Bug: 1328064
2019-07-01 09:24:10 +00:00
Frode Nordahl edc58dd5b6
Enable bionic/stein and disco/stein functional tests
Drop service check for ``glance-registry``.  The service is
removed as of Stein, and it really is not this charm functional
tests job of checking this anyway.  Any such detail should
be deferred to the ``charm-glance`` functional tests.

Change-Id: Ibc0a6302f154b3c7c6366921fd0245a43b647dc6
2019-04-10 07:22:03 +02:00
Ryan Beisner 9e5a3b22ef
Update functional test definitions
Remove trusty-icehouse test combo from gate, leaving trusty-mitaka
if/where it exists.

Change-Id: I533658c658a69b6f19e35d94c9a4ca4e2d655c7f
2019-02-11 16:11:33 -06:00
James Page 8cf9dd4e1a Support deploy of Swift with internal S3 support
Swift support is in-tree for Swift since OpenStack Rocky, and
the swift-plugin-s3 package has been removed from the archive at
Cosmic so drop installation at Rocky.

Add new template for Rocky to use the in-tree s3api and s3token
middleware.

Enable cosmic test to validate changes.

Change-Id: Ie5447dc44203c1ea2ad27e6d71248ba59d7549d0
Closes-Bug: 1805597
2018-12-18 10:12:19 +00:00
David Ames ec1414a8ee Series Upgrade
Implement the series-upgrade feature allowing to move between Ubuntu
series.

Change-Id: Ib76854ed5ad5c23b4e709a41139b1436196ff446
2018-10-13 17:33:34 +00:00
Ryan Beisner a5c2f0818b Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I03998bcb16d3f7ce79fad5727d0018c7875959bd
2018-10-03 13:11:58 -05:00
James Page e92e8a75e0 Update pipeline for refstack compatibility
Re-align pipeline with default example pipeline; this includes
adding the following new middleware:

    - copy
    - ratelimit
    - symlink

Re-work SLO middleware configuration to avoid duplicated section.

Re-order middleware inline with documentation avoiding authentication
issues when using DLO/SLO features.

Drop proxy-server.conf validation; its brittle and function should be
validated by other tests anyway.

Change-Id: Ic9df7c12ee0bb402245ad2e64da0d905fe68890c
Closes-Bug: 1794255
2018-09-26 08:14:36 +01:00
Ryan Beisner e8a3c77b2a 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: I4dfe997fab2c07530c47c8f6a0d8b62af56ef584
2018-09-19 13:33:56 +02:00
Corey Bryant 1cef6595f8 Sync charm-helpers to ensure Rocky support
Change-Id: I6516c301efbb74729279ffccdc151cba83bd2335
2018-08-30 13:03:19 -04:00
Ryan Beisner 4c9bceedbc Update functional test definitions
Change-Id: I11bb49f43a8c4d4d4b912cb7289afafaa7512e8a
2018-08-29 22:08:42 +00:00
Ryan Beisner f6aac4ef8b Update functional test definitions
Change-Id: Ic3458b889a2146428a1b185505759b3633bb507d
2018-07-18 18:38:19 -04:00
Chris MacNaughton 4a96d145a3 Sync charm-helpers to ensure Rocky support
Change-Id: Id8a8a85a370085f21ba493e13c18b78d030e5d88
2018-07-13 15:59:47 +02:00
Ryan Beisner e9ac23ce41 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: Ie9ebf332035e7dd2391e9c41cfba922b28a48518
2018-07-11 14:07:46 -05:00
Corey Bryant bec2714e14 Sync charm-helpers for Rocky series support
Change-Id: I4a02c8f11da5385deefd73638de7dc611b5f12d9
2018-06-21 18:44:23 +00:00
Liam Young 0992f792bc Add vault certificates support
Add support for swift-proxy to get key and certs from vault. This
includes a charm helper sync.

Change-Id: I2716321577439de6ca14782733ded45a7f3978a3
2018-06-19 11:16:41 +00:00
Edward Hope-Morley fc14531999 Fix Queens Swift S3 API
Adds new template for Queens that correctly configures
swift3, s3token and proxy pipeline.

Also fixes amulet tests that are currently failing due
to vdb being already mounted in guest and templates
that fail py3.5 due to jinja syntax.

Change-Id: I8ed8a12d2d6adc1f1f3158808101b123ec6bd20d
Closes-Bug: #1775260
2018-06-18 16:43:58 +01:00
Zuul 2510ba5559 Merge "Enable Bionic as a gate test" 2018-05-14 11:14:34 +00:00
Ryan Beisner 0cfe378577 Remove deprecated functional test targets
Change-Id: I2c8f721642617558163a4959ca1f0cbb9df013c4
2018-05-09 16:37:58 -05:00
David Ames 20e6326496 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: I87523d0fbc2e95ba68c97e1a86cd92e440521495
2018-05-09 09:34:54 -07:00
James Page 59971e1c7d Enable xenial/queens amulet tests
Switch to using automatic keystone v2/v3 version detection
using new amulet charmhelpers in functional tests.

Enable xenial/queens amulet test as part of extended tests.

Change-Id: I4de220d3561bf065a3f1f64455cda22a7a807c1a
Depends-On: Ie6e2733f34de10a4d34b18dbf1fd9ba623af0e18
Depends-On: Ibcc36ca22d72d310921f840e6081608be1fbc7e1
2018-03-20 09:54:11 +00:00
Ryan Beisner 359f541d71 Sync charm-helpers
Change-Id: I0ecc63d380c8c9c48403bcc91878ee6d780e2f74
2018-02-22 09:39:33 +00:00
Ryan Beisner e99e430b44 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: Ic801cd2597ffdf9b63226e34341fbc5529d5d360
2018-01-19 12:11:11 +00:00
Edward Hope-Morley a256263c79 Fix S3 API for >= Kilo
From Kilo onwards the swift-proxy charm is
misconfiguring the swift3 middleware such that
the api is unable to respond to any requests.
We fix this by providing working config for
Kilo onwards.

NOTE: see LP for full explanation but due to
problems with package version mismatches in the
UCA this patch only fixes Trusty Kilo, (L is
EOL) and Xenial Mitaka.

Change-Id: Ice5690e7f06ffc78dd20b53b67dffc6bd72b2613
Closes-Bug: 1738063
2017-12-14 18:38:32 +00:00
David Ames 4e9aa259b0 Update HAProxy default timeout values
The default HAProxy timeout values are fairly strict. On a busy cloud
it is common to exceed one or more of these timeouts. The only
indication that HAProxy has exceeded a timeout and dropped the
connection is errors such as "BadStatusLine" or "EOF." These can be
very difficult to diagnose when intermittent.

This charm-helpers sync pulls in the change to update the default
timeout values to more real world settings. These values have been
extensively tested in ServerStack. Configured values will not be
overridden.

Partial Bug: #1736171

Change-Id: I0aefed05d7b06162d21bb5ded216fc32935ef52e
2017-12-11 11:37:39 -08:00