Commit Graph

71 Commits

Author SHA1 Message Date
Peter Sabaini 86a9e6942a Functests: pin support channels, cleanup
Change-Id: Ied88fe505855bcc0f0e01d00e5f671f629002e1c
2023-11-15 18:11:19 +01:00
Peter Sabaini 0661f1d85c Functest: don't use LTS image
To make tests faster and more robust, avoid creating an additional LTS
image. Also remove obsolete test bundle options

Change-Id: Icea61ae71980a7fcc18b3898c2913d47339e05f6
2023-11-14 17:30:42 +01:00
Zuul c1ed38c14b Merge "Add docs key and point at Discourse" 2023-08-10 08:06:11 +00:00
Corey Bryant b8a8961173 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

Change-Id: I2cc4d9bb350d86b356d9ffe2bc62987c23f747fd
2023-07-24 17:35:04 -04:00
Jadon Naas 3ac0351978 Add docs key and point at Discourse
Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.

When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.

Change-Id: Ia36919df21c55bfc40497f7c174ba5919f44a394
2023-07-18 14:20:54 -04:00
Chris MacNaughton 9e6128f46d Add support for interim Ubuntu releases
- update bundles to include UCA pocket tests
- update test configuration
- update metadata to include kinetic and lunar
- update snapcraft to allow run-on for kinetic and lunar

Change-Id: Ic9c1aef2b8c81bf53be3a18ca2806c69ce618f90

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1074
Change-Id: Ie39cef6965c30f2adb78b4be568ced17a140115b
2023-06-14 13:02:58 +02:00
Luciano Lo Giudice d448514464 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
* fix poetry-core addition in wheelhouse

Change-Id: Ia2ad44152cf620e9812bfbd58276735a7491949c
2023-06-02 17:59:05 -03:00
Chris MacNaughton f5965a81bd Bypass charm going into blocked due to a bug
After Octopus, the reporting about image states fails because of a
permission issue in Ceph. This change disables that status reporting
to allow a deployment to be healthy even when some tools cannot query
status.

Also modernize build and func testing: remove python 3.9 and xena from
tests

Related-Bug: #1879749
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1063
Change-Id: Id86fc043495b89609cf6873ec58aee1e2e388578
2023-06-02 10:49:27 +02:00
Alex Kavanagh 418bd85392 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

This change also switches away from directory backed OSD devices
in the test bundles, as they are not supported anymore.

Change-Id: I57d1b47afbbeef211bb777fdbd0b4a091a021c19
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-04-12 12:05:59 +02:00
Corey Bryant 60e243dbf0 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 trusty, xenial, and groovy metadata and tests

Change-Id: I3d5670334344384fb8be5855926f2c9441f793ba
2021-11-12 11:13:56 -05:00
Aurelien Lourot c1eac8ea68 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: I3e5148aabf2dbeb71b94de9c63d0d8ada29293fc
2021-07-22 14:52:53 +02:00
Zuul c54fb303a5 Merge "Test bundles for focal-wallaby and hirsute-wallaby" 2021-06-15 12:29:07 +00:00
Aurelien Lourot 392c01dc32 Add impish to metadata.yaml
Change-Id: I12925554fa90c97e8d6bdee46ad953cd7c516b7f
2021-06-10 12:08:36 +00:00
Alex Kavanagh 1845ed2f50 Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

Change-Id: I53d0b42b43731ac06d96932f3dcf72c116f360f3
2021-05-06 10:29:01 +00:00
Alex Kavanagh 3fd0c78116 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: If26550f2a6aca4f2e7b8a532e924f640d967950f
2021-05-03 16:03:39 +01:00
Alex Kavanagh 34cc9fb9a4 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: I388df195df1294f0fc92bcf06e49e1a207fc6510
2021-04-03 20:22:50 +01:00
Ionut Balutoiu c2a27dc336 Cinder Ceph Replication tests
* Add optional parameter `pools` to the Juju actions: `resync-pools`,
  `status`, `demote`, and `promote`.
* Add `bionic-train-image-mirroring` to the `gate_bundles`.

Change-Id: I9df77be628718bb60a1bdc65078c94d0b7bda9d4
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/486
2021-03-10 14:31:25 +00:00
Alex Kavanagh 8c7e471615 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: I7fce00f968b540d0a5824a2df262f0195bae8739
2021-03-02 20:53:41 +00:00
Billy Olsen 98a7d07e24 Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: Ic1f970e727b8d738c859ddeb619929c9ce795c9f
2021-02-19 17:00:12 -07:00
Alex Kavanagh f64dd67c1b 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: If51c83b121eb90308d2e87ca06c73f826a5ce359
2021-01-15 15:27:58 +00:00
Aurelien Lourot afee819c75 Remove Disco and Eoan bits
Change-Id: I81abbe4446a8bb702a8c05815cb253aa3389254d
2021-01-13 12:20:13 +00:00
Aurelien Lourot 979c39c532 Fix ambiguous relation
cinder-ceph/ceph-mon could now refer to:
- ceph/client
- ceph-replication-device/client
- juju-info/juju-info

Change-Id: Id39640c0084992284a976c3cb02233e3ae6e20fb
2021-01-12 10:54:49 +01:00
Ionut Balutoiu 3562e11bda Handle RBD mirroring mode set in the relation
Change-Id: I423eb38f5197879c5f8f7999acb11ece3d26a6a4
Co-authored-by: Marius Oprin <morpin@cloudbasesolutions.com>
Signed-off-by: Marius Oprin <moprin@cloudbasesolutions.com>
2020-12-15 15:52:01 +02:00
Aurelien Lourot 3b1527df25 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: I45ff5385a905bd5f6aa635d0920de5326abb7b24
2020-12-11 13:54:44 +01:00
Frode Nordahl 85e33607d1 Add BlueStore Compression support
Drop support for forwarding requests for manually created Erasure
Coded pools. The initial implementation was based on a incomplete
implementation of EC support in the supporting libraries.

Make use of the forwarding of broker requests to support both
BlueStore Compression and Erasure Coded pools created through
the broker request protocol by charms in the source model.

There is currently no support for forwarding or influencing these
properties for manually created pools.

Depends-On: I0d4ed457e1d59eabed3340f5dc7d8353d5d66f04
Depends-On: I16196053bee93bdc4e5c62f5467d9e786b047b30
Change-Id: I19f66f8594b9bdada5365582ce98365039235f9d
2020-11-12 09:06:46 +01:00
Zuul 939c6b64ac Merge "Do not execute handlers in update-status hook" 2020-11-05 09:42:17 +00:00
Corey Bryant aaf6b40c2b Add missing openstack-origin to test bundles
Change-Id: Ia2544d044aef0848319284fe2a87fa85d66eb3da
Closes-Bug: #1901036
2020-10-22 14:52:53 +00:00
Frode Nordahl efb995a78a Do not execute handlers in update-status hook
Change-Id: I9093f83bd5ef642ad5da7d56543254ca9804b80b
2020-10-08 22:06:47 +02:00
Alex Kavanagh 8832c7432e 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

Add master branch charm-helpers to wheelhouse.txt to support bluestore
changes in charms.openstack.

Change-Id: I1cb0d616a3d3033d6948677326062e0eb785c2a0
2020-10-06 19:05:02 +01:00
Peter Matulis 308220f9da Refresh README
The removed content was placed in the CDG.

Apply README template.

Change-Id: Ib5bb2c03b5332d8bd39664e72170fc0683f7e8a8
2020-08-28 20:48:45 -04:00
Alex Kavanagh 5199c76713 Add focal and ussuri bundles to the charm
This patch updates the bundles to include up to focal-ussuri.
The focal-ussuri bundle is in the dev bundles as it can't pass at the
moment due to LP: #1865754.

The bionic-ussuri bundle is in the dev bundles (i.e. not gate) as it
fails due to LP: #1892201

Also deal with the related bug where cinder-ceph requires the relation
with a nova-compute unit.

Related-Bug: #1881246
Related-Bug: #1865754
Related-Bug: #1892201
Change-Id: I0a6f1de82ecc601509822277d657485e08dc893d
2020-08-20 11:33:58 +01:00
Zuul 206700b083 Merge "Remove inherited configuration options invalid for charm" 2020-08-14 09:47:12 +00:00
Aurelien Lourot 82caaf4fb1 Add focal Victoria and groovy test bundles
Change-Id: I743232ff41b651e0aaa9ae2e9681f3c4a9b3ad78
2020-08-12 18:07:12 +01:00
Frode Nordahl 3f11c3850a Remove inherited configuration options invalid for charm
A side effect of adding a config keyword in layer.yaml is that
any deletes done by upstream layers are overridden, so we
add the complete set of configuration options inherited that
should not be included in the built charm.

Change-Id: I91e4e52600e7d632bbcf62402e57ebf69b6a3ea5
Closes-Bug: #1879088
2020-08-07 14:10:19 +00:00
Alex Kavanagh 280a034fd0 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: I6772e104b883b79cf85b5c19dc401b431c087878
2020-07-08 11:22:01 +02:00
Frode Nordahl 43a209d09b
Remove duplicate requirement
Change-Id: I6ecc780ce05ad7e9d392888139f80678e2b343f5
Closes-Bug: #1885935
2020-07-01 18:52:23 +02:00
Alex Kavanagh a2ef0f4207 Add glance/nova-compute to bundles
This is to resolve the associated bug where cinder-ceph has grown the
capability to block if it doesn't have an appropriate relation to
nova-compute.

Change-Id: I7c47c5d8db06ce2a206eed9f617a2eff86088a9f
Closes-Bug: #1881246
2020-06-05 12:48:04 +01:00
Ryan Beisner ed01b67190
Add focal series metadata
Change-Id: Iebe13d3b86a07b5eb4c9e174f88931b5b7ea3291
2020-05-19 14:36:47 -05:00
Alex Kavanagh 9c87cfe0ae Remove disco support from the charm
Change-Id: I31b2312570a64c6f9dd78c86fee9a53ee014c0c8
2020-02-18 17:29:12 +00:00
Liam Young 180bd579d4 Rebuild for 20.02 release
Remove Disco

Change-Id: I77c66884fd47508b46eba7152cffb644e4935204
2020-02-06 10:52:12 +00:00
Frode Nordahl 0bb529a828
Make use of default ``config.rendered`` handler
Change-Id: I44307aa958ee3caf245865a21948fd2641fa0a6d
2019-11-29 08:02:08 +01:00
Ryan Beisner e69801f93b
Sync charm/ceph helpers, tox, and requirements
Change-Id: I287caaa68bc4321767217b83b0696a4f5a10e766
2019-09-30 20:59:14 -05:00
Camille Rodriguez 3cf47a12f5 Add disco-stein bundle to gate tests
This project already had the disco-stein gate test, but since this
change is part of a batch change, I had keeping the same title.
Changes:
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: I477d789cca10e9b714771c1419fe355bf44e4b6a
2019-08-26 16:53:35 -04:00
Zuul 9b0be5b3fd Merge "Enable bundle specific tox zaza target" 2019-08-23 12:30:39 +00:00
Chris MacNaughton aee4decc35
Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: Ie196f329f2f5b98960c895e2bfcf0ea8082ee2b4
2019-08-19 11:48:59 -04:00
Frode Nordahl 666fe9e988
Distribute direct charm dependencies
Do not rely on system installed Python packages but distribute the
direct charm dependencies as part of the charms wheelhouse.

As the span of distributions we need to support with reactive
charms widens we will run into compability problems with the
current model.

For further reference see juju/charm-helpers#341 and
juju-solutions/layer-basic#135

Change-Id: I129ca4506e44abc1e062d5545ff52f992f86a3b9
2019-08-14 16:51:40 +02:00
Peter Matulis eeb06e616f rewrite README file
Change-Id: Iebf54bccbb0cbb802590697f46a0f00a5db94de9
2019-08-02 23:33:49 -04:00
Peter Matulis 625a804178 add link to charms deployment guide
Change-Id: Idff68a51ec858a79d99668dbb6396bf6045f5c82
2019-07-30 19:06:37 -04:00
Frode Nordahl c1dcbaea98 Update functional test definitions
Change-Id: I3c9eaf8ecdf2acebcaaf26ab256e48dc43c669a1
2019-07-17 15:28:50 +02:00
Chris MacNaughton 78cd8a7fba Enable bundle specific tox zaza target
Change-Id: I400cca48767510bfc79ac056ba42b119127e682f
2019-07-08 16:32:16 +02:00