Commit Graph

68 Commits

Author SHA1 Message Date
Alex Kavanagh d73b7f0e4e 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: I02c43750f4c910eb5ce55cc6040f6ea50bd419b2
2024-02-24 19:53:14 +00:00
Corey Bryant 068240f115 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: I272c90848169e142a8c032f581b0d7cecebc299f
2023-08-02 14:09:37 -04:00
Corey Bryant 7331a80bb2 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: Iac8f5822f350bc84a6baf560990a0c5a01536d5b
2023-03-14 14:12:46 +00:00
Corey Bryant 9a3334bf0f 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: I49cade430fa875816b785d72252bd3d34cb787df
2022-08-26 18:40:30 +00:00
Alex Kavanagh 9e38ea454e 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

Change-Id: Ifbf5da17ceb179bfc5d9248494a8a552f7880b3a
2022-04-11 07:56:13 +00:00
Corey Bryant 79a00cad81 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

Depends-On: https://review.opendev.org/c/openstack/charm-cinder/+/814177
Change-Id: If8894bf0150c7fd0a73d70d20753d67efe92c0b8
2021-11-17 13:48:38 -05:00
Alex Kavanagh 3f9e52dd49 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: Ic4949d2152579e2d5cbcd7e6ee8edd749da5b7d4
2021-09-22 14:51:04 +01:00
Corey Bryant 613676ab62 c-h sync - restore proxy env vars for add-apt-repository
Change-Id: If502e7383a4e487da5eaaadd635295dc5e6153df
2021-05-13 08:46:09 -04:00
Alex Kavanagh 95d4d6cf9c 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: Id1bcfc1518c241ba1545105f5b87c81eaee5760a
2021-04-11 16:51:59 +01:00
Alex Kavanagh 3d60b48650 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: If9e43dad6b3addaea2a6587763b8e9d718bc861a
2021-04-03 20:23:18 +01:00
Alex Kavanagh 96076e3f1c 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: Ic6d547cb068122ed5c0050e65125faaf614fe754
2021-01-20 12:22:34 +00:00
Alex Kavanagh f7e47cfcf8 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: Ib320ad10bd4b8e329deecf7444ca1cddc52d0895
2021-01-15 15:57:17 +00:00
Alex Kavanagh 61b031c233 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: I531389ed98ca2edae09697b102c8f02ba199360a
2021-01-12 15:31:13 +00:00
Aurelien Lourot 74dc156660 Add Victoria to the test gate
Also sync libraries.
Also take trusty-mitaka out of the gate because of linked bug.
Also fixed Victoria bundles as they were trying to deploy
percona-cluster.

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/434
Change-Id: I575d00b993fbff33d80956278b01e87e434713e0
Related-Bug: #1877076
2020-11-12 11:27:15 +01:00
Chris MacNaughton 8612868ce6 Batch update to land Ubuntu Groovy support into the charms
Cherry-Pick from 09752a1527

Change-Id: I93524037a8b5bd774d165c1f27c73c9a00a75200
2020-10-12 11:21:57 +02:00
Alex Kavanagh bf41f03ee9 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: Ide0a96c29f72b5233fc9b154e32c054591348191
2020-09-28 12:56:59 +01:00
Alex Kavanagh 3da0591453 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: Ib5c2a6d9ddc88bc31b4ec395231b837c3b036eec
2020-07-27 20:50:57 +01:00
Corey Bryant 603f4e4e71 Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.

Change-Id: I3ee82ef83327b6795a1567e38e3d6e1fc4b049db
2020-07-13 18:59:35 +00:00
Alex Kavanagh 65389e858c 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: If6e4867583375ed34ab97aa18d22bdb87548a51e
2020-06-02 14:29:19 +01:00
Aurelien Lourot f5eacbd0c9 Fix Zaza tests, pre-freeze 'make sync' and Python 3.8 support
Change-Id: If2ac13d703f2f7b6af19f5beba5ae898c64f8584
Closes-Bug: #1828424
2020-05-12 13:50:19 +02:00
Liam Young 0227e72d50 Charmhelper sync for 20.02
Change-Id: Ie486c0101c62ac88b890fd783ac0b9d8ffc0a23c
2020-02-04 16:38:45 +00:00
Corey Bryant 3db87ae2fc Sync charm-helpers for Ussuri/Focal release and version details
Change-Id: Ica52cd619a2a710de985055c1528e7cda4e7b14f
2020-01-27 16:36:30 +00:00
Ryan Beisner 99da41166c
Sync charm/ceph helpers, tox, and requirements
Change-Id: I25dd883c61f6261901a76800d17ad982cb23177e
2019-09-30 22:41:36 -05:00
Chris MacNaughton c3b57d2860 Sync charm-helpers
Change-Id: Ie410edc7433de45b895a0fe9940e70513df15caa
2019-07-16 07:06:06 +00:00
Frode Nordahl 31270aa9a7
Enable bionic/stein and disco/stein functional tests
Update name of ``backup_driver`` for Stein and onwards, reflecting
changes of how Oslo library now does import of drivers.

Change-Id: Icb050254488437bd1635fbe73b564238869e3421
2019-04-16 11:34:56 +02:00
Chris MacNaughton d66b91003d Sync charm-helpers to enable Ubuntu Disco
Change-Id: Icdbc278f2c48470f57d79c7c07f23190cac191c5
2019-04-05 17:13:06 +02:00
Chris MacNaughton 9d20f48964 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: I17a8ea0474a536285850497d2408a898a4bd73d2
2019-04-05 11:38:03 +02:00
Frode Nordahl abefc9a358
Request appropriate Ceph application name for pools created
Change-Id: I33107f4266f481cf79bc8fe9d29428185b52e4c8
2019-03-13 16:09:01 +01:00
David Ames 47ccc714c0 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: Iee19bad93858db2411eb423c3c04fe9033d3a11e
2019-02-14 07:54:02 -08:00
Alex Kavanagh a53b14a19b Convert the charm to Python3
Change-Id: Ibdb9e582d75fd0c7cd130dddae9966aac5da3279
2019-02-13 16:24:29 +00:00
Pete Vander Giessen 98a5f35b1d charmhelpers-sync
Pull in fix for call to ceph-authtool when updating keys.

Change-Id: I472cfa91e682d662cae9db4006bdc8b25174a24b
Closes-Bug: #1810917
2019-01-17 17:45:50 -05:00
Corey Bryant 5753158299 Sync charm-helpers
Change-Id: Ie7019f5ac71e3272dc2b3ea5feeef2dc0814900a
2019-01-11 14:36:05 +00:00
Zuul e3f280851f Merge "fix typos in the docstring" 2019-01-09 09:37:46 +00:00
Corey Bryant 3ee1cf4b6c Sync charm-helpers
Change-Id: I734acea202178926689a43ab413b56cb9b948b9a
2019-01-08 15:16:22 +00:00
melissaml 37c5cf9a2a fix typos in the docstring
Change-Id: I70139ab99b8d15a9ec14100b13058652267ac89a
2018-12-22 03:52:18 +08:00
David Ames 2206d4a275 Series Upgrade
Implement the series-upgrade feature allowing to move between Ubuntu
series.

Change-Id: Iccab9ef5c129993c9599bf8c54b685ed7f73e659
2018-10-17 10:50:10 -07:00
Zuul f2ba04b809 Merge "py3: Switch to Python 3 at Rocky" 2018-09-21 10:19:40 +00:00
Ryan Beisner 985a2085d6 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: If8e2ed587078527d162689063f3ce491a9fd0643
2018-09-19 13:25:31 +02:00
James Page 131a849452 py3: Switch to Python 3 at Rocky
Misc updates to support the switch to Python 3 for Rocky:

  - Change default smoke test target to bionic-rocky
  - Resync charm helpers

Charm does not directly install any python packages, so
cinder charm will deal with upgrade and switch to py3.

Change-Id: I77d412a62f4a5362c7221b869f4f9c03d5d87737
2018-09-18 15:12:47 +02:00
Ryan Beisner c40ecc43a9 Update functional test definitions
Change-Id: I727b15865b92d8744d35027a891cbdf0987a29e8
2018-08-28 15:19:47 -07:00
Chris MacNaughton 10292a93f9 Sync charm-helpers to ensure Rocky support
Change-Id: I3e854a299dc859543292e20d86b94ce2b4fb208b
2018-07-13 15:53:28 +02:00
Chris MacNaughton 0fe0bcc8d0 Update tests to use Juju storage
Due to changes to the ceph-osd charm, it is
suggested to use Juju storage for testing.

Change-Id: I329a99ea20879224f90384a8f50eecc76f5fb2ad
Related-Bug: #1698154
2018-06-04 17:31:35 +02:00
David Ames bb4e4912c7 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: I4d82f73b7b83d5bb597147663d424554d34d7e76
2018-05-17 23:29:16 +00:00
Ryan Beisner 5c0e2c8c3a Sync charm-helpers
Change-Id: Ide6ee5ebf067dde8fc4118f371a3d759030102c0
2018-02-21 14:08:06 -06:00
Ryan Beisner 70d13c911e 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: Ia07936bfcfd25ba3366d60dcc779b85eadb98a35
2018-01-19 17:57:33 +00:00
Ryan Beisner 4e70770d67 Update amulet test definitions
This change requires the following charm-helpers change
to land first:

 - https://github.com/juju/charm-helpers/pull/32

Change-Id: Iae88b2c11fe9ddcc176075f54a8c075d2dc3ba4c
2017-12-06 15:42:22 -08:00
Ryan Beisner 87bbbe1bb0 Sync charm-helpers
Change-Id: Ib52cd708e1e04489f150bba62a3a3c3696f5e874
2017-11-27 15:49:38 -08:00
Nobuto Murata 14f6f2885b Use proper ceph.conf generated by ceph-backup relation
When a primary Ceph cluster is used as a volume backend and a secondary
cluster as a backup backend, target Ceph mon addresses will be
different. But previously both Cinder volume and backup services use the
same /etc/ceph/ceph.conf generated by cinder-ceph and ceph-mon relation.
Instead, use separete ceph.conf files based on relation types.

Change-Id: I1d82db179b41b0c01d2a217838384ac71ef7bdad
Closes-Bug: #1713489
2017-08-29 10:23:13 +07:00
Ryan Beisner bbe3fae336 Sync charm-helpers
Change-Id: I4f96a84b8dc7f447ac1b0b89a2a494be8e4946ad
2017-08-24 16:50:45 -05:00
James Page f4e10e0af0 Updates for pike b1
Resync charmhelpers for pike version support.

Add pike tests but leave disabled until all charms support pike.

Change-Id: I2b0ba853512f0e1f982ac02dd52c8be5796b8383
2017-05-12 07:49:14 +02:00