Commit Graph

102 Commits

Author SHA1 Message Date
Alex Kavanagh 3dadc053a4 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: I2dbb764d39c8fc95ec9bf4acb621d02f6174940a
2024-02-24 19:58:08 +00:00
Corey Bryant 4ebb43d731 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: Ib5f446d617c11c9c9046c33335c1099b21b5166e
2023-10-26 08:10:43 -04:00
Felipe Reyes cf1ffe6866 Charm-helpers sync
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1139
Change-Id: Id06e0e004133a157c447af31f3cb308eefa722d1
2023-09-27 16:52:58 -03:00
Alex Kavanagh fb1a1bbcf7 Ensure get_requests_for_local_unit doesn't fail on incomplete relation
This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation.  Fix in charmhelpers is in [1].

[1] https://github.com/juju/charm-helpers/pull/824
Closes-Bug: #2028683

Change-Id: Ie197482fcba7cadd27ea74f22e2a6e2c97eaddac
2023-08-04 18:49:29 +01:00
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 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
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 5f38205d3f charmhelpers sync for yoga release
Change-Id: I437e6e843561230cda260d65c7fa75faf75dfbae
2022-04-07 12:30:36 +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
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
Corey Bryant 57d2d4760a c-h sync - restore proxy env vars for add-apt-repository
Change-Id: I5793f6e68058cddcb47b5cd588d4a5e3c0344ee0
2021-05-13 08:47:53 -04:00
Alex Kavanagh 4a1166dfd3 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: Iaa9a59f43531c6f0f03a73e003646ada7fdc7419
2021-04-11 17:00:48 +01:00
Alex Kavanagh be941c5270 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: Id08d92c4d80284c290747cb68da06a0fadd1dca6
2021-04-03 20:34:15 +01:00
Alex Kavanagh dee0aa7c2e 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: I1faf793d433e1a0c61b8ad8efd1291cd77133ff6
2021-01-20 12:26:33 +00:00
Alex Kavanagh 772013e6b8 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: I9b82fbd56bd64fa758dd069b984ba12ec6f6ce34
2021-01-15 16:09:11 +00:00
Alex Kavanagh dbd9f6fe88 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: I838600e41e6c4216551ccd51019e3a0a959a3e2c
2021-01-12 15:44:11 +00:00
Aurelien Lourot a992942179 Add Groovy to the test gate
Change-Id: I6700662818cdce26be14030d7cdb5d1952763b0f
2020-11-05 12:54:41 +01:00
Corey Bryant b46659f4b8 Add swift 2.26.0 version for victoria
Cherry-pick from 21f9f239c4

Change-Id: I2315608f10f6dd03397f5abc5999b5fb30fde611
2020-10-13 19:31:15 +00:00
Chris MacNaughton 2f82aa2102 Batch update to land Ubuntu Groovy support into the charms
Cherry-Pick from 09752a1527

Change-Id: Iceafc2191b62db7bf0e50c16311e0e039f794c30
2020-10-12 11:24:21 +02:00
Alex Kavanagh e869f021cb 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: I452af2fa5a833c435b913571fd059282bbe0a1a6
2020-09-27 19:26:04 +01:00
Alex Kavanagh bc534ac09b 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: Ifb867d30fa0357972356ba683947a2b7083e8df9
2020-07-27 20:59:38 +01:00
Corey Bryant 09f5a51dd9 Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.

Change-Id: I21438bca663807b7440f7ad99979232d1960c971
2020-07-13 19:01:06 +00:00
Liam Young 52ac09b4a1 CH Sync for rabbit relation bug fix
Charmhelper sync to pick up the fix to the AMQP context.

Change-Id: I1780896e13011f1c93dc69ca59685cd8028c0ee4
Closes-Bug: #1796886
2020-06-25 10:04:17 +00:00
Corey Bryant f90fb209eb Sync helpers to add swift 2.25.0 for ussuri
Change-Id: I0e74fc12657ce40a829eeed0fcd3b034e578902a
Closes-Bug: 1879569
2020-05-19 21:24:25 +00:00
Aurelien Lourot 8890793948 Sync helpers for 20.05
Change-Id: I594ac490aad47cc194959279cc6ed7facbb09053
2020-05-18 14:50:24 +02:00
Aurelien Lourot 8db7ae23d2 Pre-freeze 'make sync'
Change-Id: I65189be82b9cb2c9b306f4e2439f161ca53e9c6a
2020-05-06 18:25:37 +02:00
Alex Kavanagh 399c694ead 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-storage's focal enablement.

Change-Id: I1cc73de23b4adc0707a5d40035c32d3c9467e523
2020-03-30 11:45:10 +01:00
Liam Young 8cf2b67680 Charmhelper sync for 20.02
Change-Id: Icfbd29097c4e64a5b23f08faa8096c0ef3501174
2020-02-04 16:40:03 +00:00
Liam Young ab8b60a21c When resuming, exclude haproxy
When resuming services exclude those managed by hacluster, in
this case haproxy. If pacemaker lacks quorum it may shut haproxy
down which will cause this charm to error.

Charmhelper sync included to bring in required
get_managed_services_and_ports method.

Change-Id: I85c380a2cffcd18031a32b6e3eb422aa5ff14994
2020-01-27 19:19:07 +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
James Page 778eb15603 Resync charmhelpers for new Swift Train versions
2.23.0 was added to the list of supported version for Train.

Change-Id: I80b265614ac96fc72ea6832f27379cc2529a787e
2019-10-17 10:45:12 +01:00
Ryan Beisner e83d266034
Sync charm/ceph helpers, tox, and requirements
Change-Id: If3bff319915e6ddf33811a37a0a41ecbff75db3f
2019-10-01 14:38:02 -05:00
Chris MacNaughton 047fa67a41 Sync charm-helpers
Change-Id: I9fac02f2ed2717d5d99a0362f64a6426bd3eba10
2019-07-16 07:06:06 +00:00
James Page d8d8f39a89 stein: Add swift 2.21.0
Resync charmhelpers to pickup new version for Stein release.

Change-Id: I9805f3b0eb4bcb2b5ab1bdc10b0a04a98e0bf1f8
2019-04-08 10:18:05 +01:00
Chris MacNaughton 2b2ad66387 Sync charm-helpers to enable Ubuntu Disco
Change-Id: I40cae423732151a05aba722c0acae1d96d43907d
2019-04-05 17:17:34 +02:00
Chris MacNaughton 19860ae785 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: I47fe88425d519a05adcd1ed0bda34cfe7127dbb3
2019-04-04 10:18:33 +02:00
James Page 525f755281 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: I567805dd595138acc6147edfda7fa364c8395f81
Closes-Bug: 1817384
2019-03-05 11:43:19 +00:00
James Page 2225914257 Resync charmhelpers for Stein Swift versions
Resync charmhelpers for updates to Swift version map for Stein
release.

Change-Id: Id4a073e711100df409780436cdd37dadbb416456
2019-02-28 11:20:53 +00:00
David Ames 4ef5ba8177 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: Ic4ccabb17eafbbe029f6294e4376141c895590bf
2019-02-12 15:58:45 -08:00
Corey Bryant 6a20b388c0 Sync charm-helpers
Change-Id: I14dc2af87bf923160d09ac2443971acd2f544c5f
2019-01-11 14:40:47 +00:00
Zuul 5bc394a1df Merge "fix typos in the docstring" 2019-01-09 09:46:52 +00:00
Corey Bryant 9865ae1051 Sync charm-helpers
Change-Id: I35e819333c99b9aaecf6a53943fff8f5fcadfd71
2019-01-08 15:26:14 +00:00
melissaml 5b376b1dd1 fix typos in the docstring
Change-Id: I330879d010a22a54f2deab4a897c36b8d27e60cc
2018-12-22 03:47:09 +08:00
Liam Young cff08e7b98 Use chelper generate_ha_relation_data for ha rel
This results in a few changes in behaviour:

1) The charm will no longer specify a nic name to bind the vip. This
   is because Pacemaker VIP resources are able to automatically
   detect and configure correct iface and netmask parameters based
   on local configuration of the unit.
2) The original iface named VIP resource will be stopped and deleted
   prior to the creation of the new short hash named VIP resource.

Change-Id: Iad743ebdb6283d72126142122ce393092cd60f18
2018-12-05 15:34:37 +00:00
Alex Kavanagh 96741629b4 Sync c-h nrpe.py file to fix nrpe files copy issue
Due to a change to PY3, the charmhelpers directory is not in the
CHARMDIR rather than in CHARMDIR/hooks. This broke the
copy_nrpe_checks() function in c-h. c-h has been updated, to look in
both CHARMDIR and CHARMDIR/hooks for the charmhelpers directory, and
this patchset includes the new function definition.

Note: the change in unit_tests/test_actions.py is to cope with a
difference between how subprocess.CalledProcessError() formats strings
when using str() between py35 and py36.  Python3.6 adds a period/dot to
the end of the sentence that Python3.5 didn't.

Change-Id: I8ebb1d6d78f0804007a9f79f31b3b0c4e0c441bd
Closes-Bug: #1796830
2018-11-26 11:15:56 +00:00
Ryan Beisner 1fff65bd5b
Sync charm-helpers
Change-Id: I6ca6e50686b0fe0e67d57948fa95252928adaa16
2018-11-07 15:36:04 -06: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
Chris MacNaughton 4a96d145a3 Sync charm-helpers to ensure Rocky support
Change-Id: Id8a8a85a370085f21ba493e13c18b78d030e5d88
2018-07-13 15:59:47 +02:00