Commit Graph

147 Commits

Author SHA1 Message Date
Alex Kavanagh f4fa5dd94c
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: I97b3f9d3e810a7325f288e220e2d4c95c832eb39
2024-03-29 10:50:55 -07:00
Corey Bryant 8af2a56fac 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/edge

Change-Id: If0c4981f0f98cd74257b76f6527c706ef8913ca6
2023-08-04 21:15:35 +00:00
Corey Bryant 4c6cef4b70 Enable jammy-antelope voting and drop kinetic-zed tests
* Voting was turned on for jammy-antelope in the
  project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
  is turned on in individual charms
* Kinetic-zed bundles/tests are removed

Change-Id: I463ac3b04112941489a5211f75e8e24db0aa82e0
2023-04-14 14:49:16 +00:00
Corey Bryant e294222ae3 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: I4aba961c11a7fa774f134e65ad1a7225fbc4fd46
2023-03-14 16:25:28 +00:00
Gabriel Cocenza b33b6a213f This change add several configuration options to enable HTTP checks
to the HAProxy configuration, instead of the default TCP connection
checks (which continue to be the default)

Closes-Bug: #1880610
Change-Id: If7841f710d0dfffdc7ee6b424cb77fc34aeae823
2023-03-06 14:01:57 -03:00
Corey Bryant e117319dfb 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: I1a250a0591c15971840bbd6130c7cff3822eed4f
2022-09-06 17:15:36 +00:00
Alex Kavanagh 9183e9a91b 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: Ic853bb3a98d1cafba9304cf19ff2c4ecb1df1104
2022-04-07 16:03:10 -04:00
Alex Kavanagh dbfd1a6597 Update to build using charmcraft
Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft.  Changes:

- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
    -> indicate build with charmcraft
- modify tox.ini
    -> tox -e build does charmcraft build/rename
    -> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
  and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI

Change-Id: Ie6e4716482a1043d4936b1343b1050fc88e54403
2022-02-01 20:01:33 +00:00
Alex Kavanagh 7ec01a4571 Migrate charm to charmhub latest/edge track
Change-Id: I382630e817eeedceab555cab8aaa70bd6567e2ab
2022-01-27 20:20:56 +00:00
Zuul e64d226108 Merge "Additional test updates" 2021-11-22 11:35:44 +00:00
Corey Bryant f6c9981fe8 Additional test updates
* drop xenial metadata and function tests
* switch to release-specific zosci functional tests
* switch to yoga zosci unit test job
* add py39

Change-Id: I8115cc36ef475786582be92d707a98d7f691dea1
2021-11-17 14:47:11 -05:00
Alex Kavanagh 513bc9d91c Remove 'jammy' metadata - unblock gate
The charmstore doesn't accept charms with jammy metadata yet.

Change-Id: If1fe74367ce23b13fe3fc2dd9b55a9b74d6bf797
2021-11-12 11:03:13 +00:00
Corey Bryant dbd399354d Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* pin pyparsing for aodhclient
* pin cffi for py35
* add non-voting focal-yoga bundle
* add non-voting jammy-yoga bundle
* add series metadata for jammy
* switch xena bundles to voting
* run focal-ussuri as smoke tests
* remove groovy bundles

Change-Id: Ic43f7c55f6b71ca8835d89629284de313290a62f
2021-11-09 10:27:03 -05:00
Alex Kavanagh 80f5e3263e 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

Change-Id: I1436115f36c27ebe10b104f4c3b1b0ede5341ab5
2021-09-23 10:56:09 +01:00
Aurelien Lourot 9f4392cd5a Sync release-tools
In order to fix ResolutionImpossible on tox invocation.

https://github.com/openstack-charmers/release-tools/issues/151
https://github.com/openstack-charmers/release-tools/pull/152

Change-Id: Icb581f11567d9fdc277d6cbaf5cd8ce73f469351
2021-07-22 14:54:26 +02:00
Aurelien Lourot ce23b7957e Add impish to metadata.yaml
Change-Id: Ia87c1c6a6f5023a51c1590f000e0178085b4fb33
2021-06-03 11:12:34 +02:00
Alex Kavanagh 51ba22235f Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

hisute-wallaby test is disabled (moved to dev) due to [1].

[1] https://github.com/juju-solutions/layer-basic/issues/194

Change-Id: I4df3a7b4e1ab5aa7660424c4713f175df9f3f711
2021-05-06 09:49:48 +00:00
Alex Kavanagh 33fea30a1e Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.

Change-Id: Icb27ed77798c9a4c1389143d6b61fb5205983b16
2021-05-03 16:04:48 +01:00
Alex Kavanagh 9fde55f92f 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: I3a9cafd1237777b4897badc8b0e00b598bcbc1e0
2021-04-08 14:38:39 +00:00
Alex Kavanagh 7c81be97b2 Add hirsute and remove trusty from metadata.yaml
This update adds the new hirsute Ubuntu release (21.04) and
removes trusty support (14.04 which is EOL at 21.04).

Change-Id: Ia7ef1f933d765981ab8075223728471c51751576
2021-03-02 20:55:54 +00:00
Billy Olsen b934032825 Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: Iebbe6d4bf22c7596832542852fefbfaed36cc718
2021-02-19 17:01:36 -07:00
Zuul 694d684b5a Merge "Updates for testing period for 20.01 release" 2021-01-14 09:38:01 +00:00
Alex Kavanagh d5163360f5 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: I11b97634ce279047658b399718b1f4b1cc51e548
2021-01-12 15:34:13 +00:00
Aurelien Lourot da8a5355c1 Remove Disco and Eoan bits
Change-Id: Id1252a7a3f943c859fd7dd4f76736035e60fa5a0
2021-01-12 13:55:32 +01:00
Aurelien Lourot e8ba4d06bc Add Groovy to the test gate
Change-Id: I3cea0f3331c225b030c3ff458150454d56f5d779
2021-01-07 10:11:55 +00:00
Aurelien Lourot 06f6e7a0f7 Sync release-tools
Sync release-tools boilerplate containing these changes
in order to pin pip < 20.3:
https://github.com/openstack-charmers/release-tools/pull/125
https://github.com/openstack-charmers/release-tools/pull/126

Change-Id: Id3c612d5462b96f3ac19a48473649d6ad6d0aa98
2020-12-11 13:56:11 +01:00
Frode Nordahl c0d4083039
Add blurb about Ceph BlueStore compression
Change-Id: I3ec8397e2347e2f4efe835518d787026b231f047
2020-10-20 13:14:22 +02:00
Frode Nordahl d8eb737046
Add Ceph BlueStore Compression support
Ceph Bluestore Compression is a post-deploy configurable option
and allowing to update the broker request is required. Drop code
that gates the sending of pool broker request, the original issue
has been fixed in the interface code and it is now safe to call
multiple times.

Unpin flake8, fix minor lints.

Change-Id: Ib8a209fffddc882c4b42a620f284a0d0504a749f
2020-10-06 13:18:07 +02:00
Aurelien Lourot a1b7e7e1d3 Add focal-victoria to the test gate
Change-Id: I426990072d0a04a8fbbf01767f37ce8eb1523359
2020-09-07 16:53:10 +02:00
Aurelien Lourot 0ee741575c Fix storage-ceph-relation-joined error
TypeError: 'str' object is not callable
After recent interface change

Change-Id: I794224b5d0750e100cdb62d1b03140b87e117ea8
Closes-Bug: #1893445
2020-08-29 12:53:04 +02:00
Zuul 6c11e92bff Merge "Stop charm running handlers during update-status" 2020-08-21 15:14:33 +00:00
camille.rodriguez 6820332c80 Add trusted-external-ca-cert option
To connect to an external S3 endpoint with encryption,
a root CA needs to be installed on the gnocchi units.

Func-test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/393
Change-Id: I50fd881400d4c1bf4beaa70d75af34c28c98ea41
2020-08-20 12:25:40 -05:00
Alex Kavanagh 88e450a6bb Stop charm running handlers during update-status
The update-status hook is supposed to be lightweight; prior to this
change the charm was running all of the handlers including a no-op
checking for upgrades to openstack.  This patchset builds on the
depends-on patchset and gates the update-status hook against those
handlers.  Note that update-status is handled using the default handler.

Depends-On: I7ca97db646ada95d7f5541ca4e2cf14013c0d7a6
Change-Id: I1e14e609567d00bed6e8bb755acabd08c1113469
Closes-Bug: #1824119
2020-08-20 14:19:22 +01:00
Peter Matulis 074527a303 Improve README
Improve existing instructions and wording.

Apply README template.

Change-Id: I9327345b70d682948dfe2e7f8e67c0f5b00cebbb
2020-08-04 12:47:59 -04:00
Corey Bryant 9e31fcd4e5 Rebuild for Victoria enablement
Change-Id: Id16a1499702c1641ae878aad49622d6ff66064be
2020-07-22 13:11:21 -07:00
Aurelien Lourot ec0378ae56 Add Victoria test bundles
Change-Id: I512a8745fbec2584837be33e2c8e38100c4c9ea7
2020-07-10 16:54:09 +02:00
Arif Ali 7bec3ddee6
Policyd override implementation
This patchset implements policy overrides for gnocchi

Change-Id: Ie7a02c536d5085cd2548b84d94b7a6bf8ac6a315
Closed-Bug: #1741723
2020-07-03 19:25:58 +01:00
camille.rodriguez b9a5c54da8 Enable S3 storage backend for Gnocchi
This feature enables the use of a S3 storage backend for Gnocchi.

Charm specs PR: https://review.opendev.org/#/c/738631/
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/334

Change-Id: I959ed69e08b178cddf72535f22499a66b24f9567
2020-06-30 15:31:00 +00:00
Alex Kavanagh cb7703cc90 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: I02d740e1bfbd746385dabe551cd0f6058a28ebf6
2020-06-02 14:30:54 +01:00
James Page d684a6e73a Drop wsgi thread configuration to a single thread
We should increase concurrency using processes rather than threads
for the Gnocchi WSGI application, avoiding high memory consumption
over time under load.

A previous version of this change missed the newton specific version
of the apache configuration for gnocchi api.

Change-Id: Idb355dc5f5fa404140819f4b28940e9bbc1693e6
Closes-Bug: 1806008
2020-05-22 15:31:38 +01:00
Zuul a5df5354b0 Merge "Add focal-ussuri and bionic-ussuri bundle" 2020-04-16 18:43:45 +00:00
Alex Kavanagh 8ed410eb33 Add focal-ussuri and bionic-ussuri bundle
This patch adds a focal-ussuri and bionic-ussuri bundles to the tests
for the charm.

Change-Id: I4330c194c860ad7ada59136cbf37cf03fb9535dc
2020-04-16 13:52:15 +01:00
Aurelien Lourot 1ec548f447 Fix path to charm under test in bundles
Change-Id: I852cae98fabac4f40dd041df13dc39087bf98b88
2020-04-07 08:25:27 +02:00
Chris MacNaughton d8c5f32550 Ensure the the ceph keyring is not None
If we try to render the Ceph configuration while
key is None, this raises an exception as it expects
a str

Change-Id: Ie1cc8252035336d377a63e8cf51600ec3a59412b
Closes-Bug: #1869989
2020-04-01 12:03:15 +00:00
David Ames d6622db11d Fix HAProxy back ends
Requires changes to charms.openstack and layer-openstack-api.

Change-Id: Iaf20a0cd7bd2bc9accb20bd8987ed87289059e1c
Closes-Bug: #1858132
Depends-On: Iacfdc2a0247f35d0bddfef47c9dd5d4cf66cd309
2020-03-25 14:22:17 -07:00
Aurelien Lourot 54bfb99b8f Porting tests from Amulet to Zaza
Closes-Bug: #1828424

Change-Id: Iab72ea5d2bd06a99e0df1af1e419dc4b31e1a99e
2020-03-12 13:32:19 +01:00
Alex Kavanagh e0f2f33d8e Remove disco support from the charm
Change-Id: Ibeda0e50ea9b49ddf23fb60ab4e1502ea65ab16b
2020-02-18 11:59:12 +00:00
Corey Bryant 1d61e7a8d8 Drop the disco functional test now that disco is EOL.
Change-Id: I0a34dbb8c2e5a00048bfe3b95cdad4f25be6aec6
2020-01-30 21:06:59 +00:00
Hemanth Nakkina 901e08ea00 Fix blocked gnocchi unit due to remove/add ceph-mon relation
Removing and adding back ceph-mon relation to gnocchi unit, the unit becomes
blocked. Since the flag ceph.create_pool.req.sent is already set, its not
triggered during subsequent add of ceph-mon relation. This makes the relation
inactive.

This patch resets the flag ceph.create_pool.req.sent based on the flags that
will be reset at ceph-client interface when relation is broken.

Change-Id: I3a1f4a0fa61c739c8e6d6581670438944dfcbc7c
Closes-Bug: #1856936
2019-12-20 14:53:37 +05:30
Seyeong Kim 408bf97a36 Changing condition release from rocky to queens for mysql uri
As Queens also has PyMySQL 0.8.0 dependency so it has the same issue[1][2][3][4],
changing condition release from rocky to queens to fix warning flood.

[1] bf7ac78d07
[2] https://github.com/openstack/requirements/blob/stable/rocky/upper-constraints.txt#L377
[3] https://github.com/openstack/requirements/blob/stable/queens/upper-constraints.txt#L374
[4] gnocchixyz/gnocchi#847

Change-Id: Ic57530ad7f19d1499e47286e29faa13f3ba1c47e
2019-12-06 16:37:42 +09:00