Commit Graph

25 Commits

Author SHA1 Message Date
Luciano Lo Giudice 56c95bac5b Sync charm libraries
Change-Id: I3cc5a774f0d4fec2eb7fb719579df6fce24167ef
2023-09-13 14:10:47 -03:00
Luciano Lo Giudice fd4497f8dc Fix pool names in RadosGW charm
The latest Ceph versions forbid pool names that start with a dot.
Since the RadosGW charm uses pools named so extensively, this
patchset fixes that issue.

In addition, the Ceph libraries are synced as well, since they
were outdated.

Change-Id: I50112480bb3669de08ee85a9bf9a594b379e9ec3
2023-08-09 11:36:16 -03:00
Corey Bryant 37cb69d7f8 Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to quincy
* 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
* add additional unit test https mocks needed since
  charm-helpers commit 6064a34627882d1c8acf74644c48d05db67ee3b4
* update charmcraft_channel to 2.x/stable

Change-Id: I2d9c41c294668c3bb7fcba253adb8bc0c939d150
2023-08-02 14:10:40 -04:00
Corey Bryant 51f59879d3 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: Ieb1ef7b7ab76775f5769621a6a7cbcfb18c40b7f
2022-08-26 18:40:29 +00:00
Chris MacNaughton 1f4dbd3a5d Updates for jammy enablement
- charmcraft: build-on 20.04 -> run-on 20.04/22.04 [*archs]
- Refresh tox targets
- Drop impish bundles and OSCI testing
- Add jammy metadata
- Default source is yoga
- Charmhelpers and charms.ceph sync

Change-Id: I39f091db8ef8f18c0a40d4e46d54dfc964c03d70
2022-04-08 10:23:48 +01:00
Corey Bryant 3a27c7090e 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
* charms.ceph sync

Change-Id: I8b0ac822cdf37d70ac39f1b115f95a448afb624d
2021-11-22 15:22:23 -05:00
Alex Kavanagh d15ac894a9 Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- rebuild to pick up charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0
- Remove redundant (and failing) IdentityContext tests
- Remove EOL groovy-* gate tests.

Change-Id: I32c8195ff76164de565e6af7c329645be40769f1
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2021-10-05 19:15:09 +01:00
Alex Kavanagh 916fbd4474 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: I6c46959aa659454d28880e375e3488058227dca7
2021-04-03 20:22:37 +01:00
Aurelien Lourot a43af5c7e7 Fix haproxy not running on fresh deployments
Also add Groovy to the test gate and sync static libraries.

Change-Id: I04ca79487085d9088811bc0ffd5f0981db50c42e
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/468
Closes-Bug: #1904411
2020-11-25 14:55:19 +01:00
Alex Kavanagh 85b3b74026 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: I13a2e11b53e290316919efca90aaa513a1f40975
2020-09-29 19:28:34 +01:00
Frode Nordahl 7327e9c4de
Add Ceph BlueStore Compression support
Sync c-h and charms.ceph.

Unpin flake8

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/398
Change-Id: Ib068f39d43bade2502bc2d3cbbfb86324a03407a
2020-09-25 16:02:44 +02:00
James Page 414701455f Add support for erasure coding
Add support for use of Erasure Coded pools with the Ceph RADOS Gateway.
Only the data pool is actually Erasure Coded - all other pools continue
to be replicated but have much smaller data footprints.

Depends-On: Iec4de19f7b39f0b08158d96c5cc1561b40aefa10
Change-Id: I661639e67853ff471a7d7ddea0e3fc2fcb30fed1
2020-08-07 10:42:03 +01:00
Corey Bryant 380ac2cf38 Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.

Change-Id: I0917cc6da9098131eaafd511c0e336141b763cf2
2020-07-13 18:59:29 +00:00
Alex Kavanagh 84c1e5ce06 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: I156b0cecef76601ccc6f3a6714fc5118f6792b2d
2020-06-02 14:28:45 +01:00
Aurelien Lourot 47564c8207 Sync helpers for 20.05
Change-Id: Id86f9adb55988f47838ebc5236e2bca2cc384906
2020-05-18 14:39:32 +02:00
Alex Kavanagh 3dff521036 Add focal-ussuri and bionic-ussuri bundles
This patch adds the following bundles:

 * tests/bundles/bionic-ussuri-namespaced.yaml
 * tests/bundles/bionic-ussuri.yaml
 * tests/bundles/focal-ussuri-namespaced.yaml
 * tests/bundles/focal-ussuri.yaml

 The focal tests uses the force_deploy option in the tests.yaml

The depends-on is to fix very recent lint errors in charms.ceph with
E741 (very short variable names).

Change-Id: I46445da361e37716b65bf941f687cbd6468ed212
Depends-On: Id92956e52cefed6d3d792dd95fe7091788fb2d1b
2020-05-12 17:13:50 +01:00
Aurelien Lourot 90816e09bf Pre-freeze 'make *-sync'
Change-Id: I22f57eedd928b3f7d7b27e73b12efd3a5d559933
2020-05-06 18:37:04 +02:00
Frode Nordahl 969e6e0cae
Unpin flake8, fix lint
We need to unpin flake8 to allow linting on Python 3.8 systems.

Sync charms.ceph.

Depends-On: Idf2fea27b19cec47ffed9891b518ac7b5b75e405
Change-Id: I91a2133b6d7dc7e59d62dd80779cdc6e77206a20
2020-03-12 11:14:34 +01:00
Ryan Beisner 9fb21f1840
Sync charm-helpers for py38, distro, and other updates
Change-Id: Ic50f48c3b3ba21c65cee07badf398cf3ef222c86
2020-03-05 13:31:09 +01:00
Corey Bryant 6a22c99d4d Rename lib/ceph to lib/charms_ceph
The new python3-ceph-common deb package (introduced in ceph octopus)
adds a new ceph directory (a parent package in python terms) in
/usr/lib/python3/dist-packages/ceph/. This results in a conflict with
charm-ceph-osd/lib/ceph/. For example, with the current import of
ceph.utils in hooks/hooks.py, Python finds no utils.py in
/usr/lib/python3/dist-packages/ceph/ and then stops searching.
Therefore, rename lib/ceph to lib/charms_ceph to avoid the conflict.

Depends-On: https://review.opendev.org/#/c/709226
Change-Id: I433537805ae56dc7a42e9d34ea6d491ffb4c79c0
2020-02-24 15:09:48 +00:00
Liam Young 2b6997a660 Charmhelper sync for 20.02
Change-Id: Ic2e24d223124684d8609c23485e59e8a84f576fc
2020-02-04 16:38:34 +00:00
Corey Bryant 37d7bbe618 Sync charm-helpers for Ussuri/Focal release and version details
Change-Id: I1133270811a8c27bf5e72794f7f6c2349e997385
2020-01-17 14:21:37 -05:00
Ryan Beisner dc456f91ed
Sync charm/ceph helpers, tox, and requirements
Change-Id: Ibb199504764b139f0207e0bd2e40a199559e1e44
2019-10-04 12:51:57 -05:00
James Page 0f3203b18c Add support for radosgw upgrades
Sync charms.ceph and use helper functions to determine
whether any changes in the source configuration option
are a supported upgrade path.

If an upgrade path is detected then upgrade via apt_install
with the full list of required packages for the radosgw to
force an upgrade.

Change-Id: I48a8b5d14ad6ac11af57ddf0260a4a41744e7e21
Closes-Bug: 1539335
2019-02-12 12:32:10 +00:00
Ryan Beisner 88bd5777cf Update tox.ini files from release-tools gold copy
All OpenStack Charms now contain identical tox.ini files,
not to be modified or made unique within each charm repo.

This is to ensure consistency across charm repos in tox
target naming, approach and purpose, also giving the
charm dev and test experience additional consistency.

Also create empty dirs with .keep files where necessary.
Some classic charms have actions and/or lib dirs, and some
do not. In all classic charms, flake will now check those
dirs to ensure lint coverage of existing or future content.

Change-Id: I23cfd47fcee90678b4ba818ddc1d9ace4edd54f3
2016-09-09 19:21:59 +00:00