Commit Graph

107 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 3a5b5872c5 Add package-upgrade action
The package-upgrade action performs package upgrades for the current
OpenStack release.

The code path used is similar to the openstack-upgrade action, with the
difference being that package-upgrade will not execute if an openstack
upgrade is available (based on the openstack-origin setting).

This change includes a charm-helpers sync.

Change-Id: I0c7184bba29731354e52dc28e3a4dd6f282fa843
2023-05-26 15:07:07 +01: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
Zuul 2f0f5f10ff Merge "Add Kinetic and Zed support" 2022-09-29 01:37:25 +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
Zuul 34b00a0530 Merge "Add vm.watermark_scale_factor tuning" 2022-09-12 10:03:29 +00:00
Brett Milford c6b0d798b7 Add vm.watermark_scale_factor tuning
Depends: https://github.com/juju/charm-helpers/pull/609
Implements: spec memory-fragmentation-tuning
Change-Id: I0195d5f65f36442abf1355dd5150d48a37184e97
2022-09-02 08:53:06 +10:00
Francesco de Simone 98c67e4d92 Changes to the default inode size
As per the bug report, the xfs-inode-size default value is in contradiction with the current upstream advice.
This patch removes the default value and accept the filesystem defaults for mkfs.xfs inode sizes.

Closes-Bug: #1879423
Change-Id: I9effc6052524ead9817454912284e3c48ce55901
2022-07-04 15:57:30 +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
Corey Bryant 3b62cfde31 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: I9b34612cbdbbafa5eff8ab3df9e41a97b481c7e2
2021-11-19 07:59:54 -05: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
Corey Bryant 5d241dcc2a c-h sync - restore proxy env vars for add-apt-repository
Change-Id: I3deb0f519b9746d632c9c56b7a77fa5efb78fad0
2021-05-13 08:48:00 -04:00
Alex Kavanagh d82f0a4370 21.04 sync - add 'hirsute' in UBUNTU_RELEASES
The 'hirsute' key in c-h/core/host_factory/ubuntu.py:
UBUNTU_RELEASES had been missed out, and is needed for
hirsute support in many of the charms.  This sync is to
add just that key.  See also [1]

Note that this sync is only for classic charms.

[1] https://github.com/juju/charm-helpers/pull/598

Change-Id: Id5ec1154770c87e18bb2a4244b22354c9d0edfc0
2021-04-11 17:01:03 +01: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 19d5010902 Hotfix charmhelpers sync for local_address() fix
The network-get --primary-address juju-info fails on pre-2.8.?
versions of juju.  This results in a NoNetworkBinding error.
Fallback to unit_get() if that occurs for local_address().

Change-Id: Icfa65b0e02060e63fa90a57cd95da1dcac729c06
2021-01-20 12:26:47 +00: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
Aurelien Lourot 5df44cb7c5 Add Groovy to the test gate
Change-Id: Ib517eb372a07824f14e450203bf8d5784d931e67
2020-11-05 12:54:56 +01:00
Corey Bryant 821c61a4bd Add swift 2.26.0 version for victoria
Cherry-pick from 21f9f239c4

Change-Id: I84ada78c1f94974d1899a38c437073a17d5960ab
2020-10-13 19:30:01 +00:00
Chris MacNaughton d1b2a737f2 Batch update to land Ubuntu Groovy support into the charms
Cherry-Pick from 09752a1527

Change-Id: Idab61ae33fef40f065b22dc1bed460a73c6d58db
2020-10-12 11:24:33 +02: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
Alex Kavanagh 3e9333712d Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt

Change-Id: I78d8fb9892d27ace680f3a2654ea5183845066e5
2020-07-27 20:59:50 +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
Alex Kavanagh 208adcd2d6 Updates for 20.08 cycle start for groovy and libs
- Adds groovy to the series in the metadata
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild

Change-Id: Ifac4b14907328345f1fc8f645a61a4812519670c
2020-06-02 14:37:32 +01:00
Corey Bryant 3198cf8529 Sync helpers to add swift 2.25.0 for ussuri
Change-Id: I1517273532bd4f870795ba3fd60eb412c7aeb700
Closes-Bug: 1879569
2020-05-19 21:24:27 +00:00
Aurelien Lourot 5601e7181d Sync helpers for 20.05
Change-Id: I162ac637ed9c0143da82cb6ab4d96e5a4c43e3d0
2020-05-18 14:50:38 +02:00
Aurelien Lourot e2b8b4b617 Pre-freeze 'make sync'
Change-Id: I9cb6925b53ca46313a830a582013a94014712607
2020-05-06 18:29:16 +02:00
Alex Kavanagh c709be563a Sync charm-helpers for py38/focal pre-support
This is to enable other charms to pass there enable-focal patchsets.
The pre-enable is simply to sync in charmhelpers with py38 support so
that this charm can participate in swift-proxy's focal enablement.

Change-Id: Ic94761fd65e9f442fa08315bbbdc377d7d0a97c9
2020-03-30 11:42:08 +01:00
Alex Kavanagh 91394ea9d6 Ensure python3-hvac is installed for charms with encypt option
The referenced bug is essentially: make vault:secrets relation to vault
but keep the 'encrypt' option as False. In this case, the Context
handling code in charm-helpers is expecting python3-hvac to be
available, but it is only installed if the encrypt option is set to
True.  Hence the charm crashes.  This resolves that crash.

Note the related charm-helpers fix [1].

[1]: https://github.com/juju/charm-helpers/pull/431

Change-Id: I92773b7c1f48d456091062751e69581fabe4c5f3
Closes-bug: #1862085
2020-02-17 12:18:24 +00: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
Edward Hope-Morley 60dd2f0189 Charmhelpers sync to get vaultlocker fixes
Also gate checking vault context completing on whether
dependencies are installed.

Change-Id: Ib424abe608081da21207db262fb82362f23fe6ca
Closes-Bug: #1849323
2019-12-11 14:30:27 +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
James Page 93a2126233 stein: Add swift 2.21.0
Resync charmhelpers to pickup new Stein release version for Swift.

Change-Id: I706c798b105acecbaffc1b541b216b455ddf83ef
2019-04-08 10:19:03 +01:00
Chris MacNaughton 4258e84309 Sync charm-helpers to enable Ubuntu Disco
Change-Id: I48e0e954a4dc3a3f32174a4da39a635073e4ddf2
2019-04-05 17:17:49 +02: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
Alex Kavanagh 25ec6c6a3d Sync c-h with loopback_devices() fix
PY3 bug in loopback_devices caused the related bug.  This patch syncs
just the relevant file to fix the bug into charmhelpers.

Change-Id: I5aacd16c2bd4957c49210e867dc76efa1a315ab4
Closes-Bug: #1804128
2018-11-20 14:27:55 +00:00
Ryan Beisner 910170bed0
Sync charm-helpers
Change-Id: I7c6ae78500eed693589c0d441daef87bbb75e9c4
2018-11-07 15:36:11 -06:00
Ryan Beisner 2c56b0a6d6 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: I785071825f7ef96cdb15fcd5bbab9963d7f2631a
2018-09-19 13:34:14 +02:00