Commit Graph

60 Commits

Author SHA1 Message Date
Alex Kavanagh 28bb2047f2 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: Icff1cd3f9176ffeacc2b96338662d08b51d8553b
2024-02-24 19:58:12 +00:00
Corey Bryant ca420eccbb Enable swift payload upgrades for wallaby+
Sync charm-helpers to pick up fix for openstack_upgrade_available
that enables successful payload upgrades. This will need backporting
to stable/wallaby.

https://github.com/openstack-charmers/zaza/pull/619
Closes-Bug: #2040606
Change-Id: Ib1586a486a7a01023bd59bfa70016481ad5f89dc
2023-10-26 08:12:31 -04:00
Corey Bryant 8045849848 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: I3dd29fd9d9e5e7057dc50b03a4a3945d1c7178d2
2023-08-02 14:19:09 -04:00
Corey Bryant 545dfc167a 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: I940bf81b4dfaa57df6bf194d40d8a28b01aeb7e5
2023-03-07 21:49:27 +00:00
Corey Bryant db60b2c03d 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: I93da9ce52bed2b3e8a467491d2a61bfd2ed4ea7d
Depends-On: https://review.opendev.org/c/openstack/charm-swift-proxy/+/847513
2022-09-26 21:08:53 +00:00
Alex Kavanagh c40f1d531b 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
- charmhelpers sync

Change-Id: Ie37826e7803659f2f40eaac5f8d539cce5ef145b
2022-04-07 12:31:59 +01:00
Alex Kavanagh 44d15b3fe2 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: Ie59e35b3c4c9b80ac3579717f54db7017a0efff3
2021-09-29 21:04:42 +00:00
Alex Kavanagh 9e0b2b4fb0 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure stable/21.04 branch for charms.openstack
  - ensure stable/21.04 branch for charm-helpers

Change-Id: I4e72dafd2ab198846cb376097dd8a2b7438dedd9
2021-04-03 20:34:29 +01:00
Alex Kavanagh 61d3a4d9ae Updates for testing period for 20.01 release
Includes updates to charmhelpers/charms.openstack for cert_utils
and unit-get for the install hook error on Juju 2.9

* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure master branch for charms.openstack
  - ensure master branch for charm-helpers

Change-Id: I4a1e9239e40d27d48e48b9e5241240eff9689a3d
2021-01-15 16:09:33 +00:00
Alex Kavanagh e329b52252 Updates for testing period for 20.01 release
* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure master branch for charms.openstack
  - ensure master branch for charm-helpers

Change-Id: Ic9c930a58afa9e1e849e61581b9cca588cc48529
2021-01-12 15:44:24 +00:00
Alex Kavanagh 494908cee7 Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Change-Id: I28bc6125b817c2f1608157509c27d54dab9541a5
2020-09-27 19:20:00 +01:00
Corey Bryant b682f71cd4 Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.

Change-Id: I62c72464c2dd792d6323adbf5627406e38ae5559
2020-07-13 19:01:12 +00:00
Aurelien Lourot e2b8b4b617 Pre-freeze 'make sync'
Change-Id: I9cb6925b53ca46313a830a582013a94014712607
2020-05-06 18:29:16 +02:00
Liam Young 88856f58d6 Charmhelper sync for 20.02
Change-Id: I29a4d9cb49801d3d19c2e6a00b245ade05e9c32a
2020-02-04 16:40:08 +00:00
Corey Bryant 1d9afb103d Sync charm-helpers for Ussuri/Focal release and version details
Also drop Disco test bundle now that it is EOL.

Change-Id: I2d3628d6b10ff8a8917bf867a5ff3d488effe9b0
2020-01-22 15:03:38 +00:00
James Page 775493a270 Resync charmhelpers for new Swift Train versions
2.23.0 was added to the list of supported version for Train.

Change-Id: I1c23de5b56350c1d8b25e3cddae54c7b97d4f963
2019-10-17 10:46:51 +01:00
Ryan Beisner 2fc678dcee
Sync charm/ceph helpers, tox, and requirements
Change-Id: I60b1c5949a0e03e1effd4fb2d229a2c7b13fb656
2019-09-30 22:42:05 -05:00
Chris MacNaughton e62a646a4f Sync charm-helpers
Change-Id: I2bc8e741519b9ebbeacc790d19db8f8eea903781
2019-07-16 07:06:03 +00:00
Tytus Kurek 04a0fc47b0 Sync charm-helpers for lp1826552
Ensure that charmhelpers directory is up to date.

Change-Id: Ib1c419a0c9710b4489777471226ccd680408f8fe
Needed-By: If621587a02746876ee6c35d7af2e878dbc2ac8ef
Partial-Bug: 1826552
2019-06-17 12:11:35 +00:00
Chris MacNaughton b0c3818bb6 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: I8c1c11dcc5f6fc9884ba66a439bf5788342299b2
2019-04-04 10:18:48 +02:00
James Page 976391951e upgrade: Fix pike to queens upgrade
apt.version_compare changed behaviour to return >= 1 in the event
that a newer package version is detected.

Resync charmhelpers code to pickup fixes for openstack upgrade
detection.

Change-Id: Iacf8db9bbacca782646584a4982b265937b63b9e
Closes-Bug: 1817384
2019-03-05 11:48:16 +00:00
David Ames 0b3be36674 Update charm-helpers-hooks.yaml and sync ch
Using the new version of the sync tool which removes the charmhelpers
directory before syncing, run charm helpers sync to find any unexpected
missing dependencies.

Change-Id: I8e046f8816fd91920ba2c15f8c960b74442eb7bd
2019-02-12 15:58:53 -08:00
Corey Bryant 7f4e59322f Sync charm-helpers
Change-Id: Ib3d2866542e0d0ef3416a619755e1eb42bc230e0
2019-01-11 14:41:01 +00:00
Zuul 1cec15b2f9 Merge "fix typos in the docstring" 2019-01-09 09:35:06 +00:00
Corey Bryant 9caec5ddae Sync charm-helpers
Change-Id: If009994df784cb84f1a53688a2c4d21c71f03627
2019-01-08 15:26:26 +00:00
melissaml 4f20347680 fix typos in the docstring
Change-Id: I21a6f6bf66e5dae2b9b5d8f6cba463ad5264c16b
2018-12-22 04:17:57 +08:00
Ryan Beisner 910170bed0
Sync charm-helpers
Change-Id: I7c6ae78500eed693589c0d441daef87bbb75e9c4
2018-11-07 15:36:11 -06:00
Ryan Beisner 6ed5385c8c Update functional test definitions
Change-Id: I99f6950b2b9ecefb2182298b384594ffb262df13
2018-08-29 22:09:04 +00:00
Corey Bryant d027303b59 Sync charm-helpers for Rocky series support
Change-Id: I72711397319133ad58d3f34675e0ea6cc82571ea
2018-06-21 18:48:49 +00:00
David Ames d68abf602d Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: I19463ee5e0f555a2a5dda792e6148848b4c7c5f2
2018-05-09 09:34:59 -07:00
James Page ca525ceb81 Enable xenial/queens amulet testing
Update amulet tests to enable xenial/queens testing; refactor to
use new amulet helpers for v2/v3 defaults switch@queens or later.

Change-Id: I09085384db6b47e7bd80a6024c170115fc936680
2018-03-12 09:34:00 +00:00
Ryan Beisner 9baae6cb89 Sync charm-helpers
Change-Id: If9e905d409966034c6fa474bf7368747c2935f88
2018-02-22 09:40:46 +00:00
Ryan Beisner af2eaad19b 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: Ie6b66f56614d81c600b66bfe00cf9b9bb462a20c
2018-01-19 16:13:12 +02:00
Ryan Beisner 86aa7a8037 Sync charm-helpers
Change-Id: I155845c69dbced408fbf4778c2a54afc9c694a97
2017-11-22 18:50:10 +00:00
Andrew McLeod 1c47c4ec9c Make default func27-smoke xenial-pike
Charm-helpers sync

Change-Id: I27dde93ccd2cfadcfe05ad841abba777d11d7318
2017-11-16 11:32:58 +13:00
David Ames 5368af6302 Swift storage ACLs
Ensure that only the swift-proxy units and swift-storage peers have
access to direct communication with swift storage daemons.

Charm-helpers sync to include ufw module and the ingress_address and
iter_units_for_relation_name functions.

Please review and merge first:
https://github.com/juju/charm-helpers/pull/35

Closes-Bug: #1727463

Change-Id: Id5677edbc40b0b891cbe66867d39d076a94c5436
2017-11-07 10:24:53 -08:00
Ryan Beisner 6a506d2cfc Sync charm-helpers
Change-Id: Ic27ca1ea576f79e35262a948acd0a293fe03374b
2017-08-24 17:17:06 -05:00
Corey Bryant 698fa90cfa Sync charm-helpers to enable swift 2.15.0
Change-Id: I9bea911955c9f0792884be128849a43581d4ee01
2017-08-07 20:57:49 +00:00
David Ames 3b74426f90 Update tests to use keystoneauth1
With keystoneauth1 sessions the service catalog search function,
url_for takes argument interface, no longer named endpoint_type.
This change updates tests to use this argument name.

Change-Id: Ie79f6e474c04a3cbc11968bf39fcc8d0b50f1772
2017-07-24 15:51:08 -07:00
James Page 73c620b6ed Updates for pike b1
Resync charm helpers for pike support.

Add amulet tests, but leave disabled for now.

Change-Id: Ia89fcbbe28ce86b4ef7a5962ff7ea5382f61660b
2017-05-24 13:51:27 +01:00
Alex Kavanagh d8199f07bb 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: If253c8a18886630fcc7de4cfc2a91a15c2563eb5
Related-Bug: #1659575
2017-04-28 14:02:41 +01:00
David Ames 108c2ab59a Enable Ocata Amulet Tests
- Add Zesty as a supported series to metadata.yaml.
- Turn on Xenial-Ocata Amulet test definitions.
- Sync charm helpers to get Juju 2.x amulet compatibility.
- Keeping Zesty-Ocata Amulet test definitions turned off until the
  metadata.yaml changes propagate to the charm store.

Change-Id: Ia3f59c396e646571cdd63f39164bafc94e3979fe
2017-03-09 14:35:27 -08:00
Corey Bryant 2eeca949db Sync charm-helpers to enable swift 2.13.0
Change-Id: I77189eee331c65fb270ae795480cf1fc9a2557a7
2017-02-16 15:05:53 +00:00
Corey Bryant faf00f1142 Sync charm-helpers to enable swift 2.12.0
Change-Id: Ibc8cc4bb9c7234b2649fa2887c9c0cebbd79c1c1
2017-01-17 17:44:00 +00:00
Ryan Beisner 8910640322 Update Amulet defs, series metadata and c-h sync
- Sync charm helpers if applicable.

- Fix test executable hashbags for virtualenv prep.

- Add Yakkety-Newton Amulet test definitions.

- Prep Xenial-Ocata Amulet test definitions (not yet enabled).

- Prep Zesty-Ocata Amulet test definitions (not yet enabled).

- Add Zesty charm series metadata.

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: Ibf3966e5c21549d467a27cc8f100a8bc5e04c4b8
2016-11-28 14:43:32 -06:00
Corey Bryant 2149d2dea3 Sync charm-helpers to enable swift 2.10.0
Change-Id: I3373eedd4fb98d521bf1123f5513319ef953a347
2016-09-29 16:43:40 +00:00
Billy Olsen 97180d7100 Change worker-multiplier to float
Change the worker-multiplier to a floating point config option type
instead of integer. This allows users to specify workers to be less
than the number of CPUs, which is useful in deployments with multiple
services deployed into containers on top of bare metal.

The fix is to simply change the config option type and to sync in
the necessary update from lp:charm-helpers.

Partial-Bug: #1602444

Change-Id: I31d7652e7ad5db0185b78e2c4c2c1d2ddba05be2
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2016-07-12 17:06:46 -07:00
James Page 264b0885e8 Resync charmhelpers for licensing change
The charm-helpers project have re-licensed to Apache 2.0
inline with the agreed licensing approach to intefaces,
layers and charms generally.

Resync helpers to bring charmhelpers inline with charm
codebase.

Change-Id: I99e94eec42adc19ab92b14a20e59cc60360e0b58
2016-07-06 16:44:39 +01:00
James Page 1bd2273d39 Resync charm helpers
Add support for OpenStack Newton and Ocata.

Rework version detection code to just match on major version for
OpenStack projects using semantic versioning.

Provide fallback version detection based on major.minor versions
for swift packages.

Rework config-flags support helpers.

Fix is_ip function to correctly detect both IPv4 and IPv6 addresses.

Change-Id: Ifc28f520ebe9cad30b1a30524e0b4c0b3882f015
2016-05-27 12:31:13 +01:00
James Page 1a0b1e86a7 Add support for Swift 2.7.0
Resync charm-helpers to pickup changes to add 2.7.0 to
the list of Swift releases for Mitaka.

Change-Id: Ie5d0b1cd80fb3b1b5183f9f371f1bb037596b884
2016-04-11 10:53:50 +01:00