Commit Graph

57 Commits

Author SHA1 Message Date
Alex Kavanagh 052d651226 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: Iffc97e7963469742439da25040e204fd27000976
2024-02-24 19:57:38 +00:00
Corey Bryant adb8ed35f3 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: I042526888114c46c8b4e2828fed0a6965428dcbf
2023-08-02 14:21:48 -04:00
Corey Bryant ea96987f11 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
* Add libpython3-dev to allow the charm to be built. This
  fixes a missing dependency with Cython

Change-Id: I83b97c35b6e64050feaa94a2eee2b80fa49c2555
2023-04-14 14:59:17 +00:00
Corey Bryant c1c0741322 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: I482a4f2b2f76bcf88cf47c5744ab494f79613d2e
2023-03-07 23:57:37 +00:00
Liam Young dced8f1cda Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: Ieafa1cd0749433e60af561015ec5a50822e79863
2023-01-17 17:49:58 +00:00
Alex Kavanagh 973d16e72a Ensure that kinetic/22.10 is enabled
This patch adds kinetic to the metadata.yaml and ensures
that a run-on base for 22.10 is added in the
charmcraft.yaml

Change-Id: I3f2ed3df8cc5f076402f68b18e9f2de66ae23007
2022-08-31 20:26:34 +01:00
Zuul 36425a7add Merge "Add Kinetic and Zed support" 2022-08-31 10:42:34 +00:00
Corey Bryant 884d6c0ab1 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: I2cb698f719106e54b06009f24ea47259419e9cad
2022-08-26 18:40:41 +00:00
Liam Young d668de8aa5 Fix database connection section
Using the sql_connection option in the default section appears to
cause CONF.api_database.connection to be populated with the
connection uri. This in turn causes nova to think this is an
api cell and to do an api lookup *1 which fails. This change moves
the database connection string into its own section as per *2

*1 https://opendev.org/openstack/nova/src/branch/master/nova/utils.py#L1060
*2 https://docs.openstack.org/nova/latest/admin/cells.html

Closes-Bug: #1982071
Change-Id: I49859235d408598535173c8bb87ce65f66fb3ca8
2022-07-19 06:34:35 +00:00
Alex Kavanagh c9f9802fdd 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
- Remove overlay as no longer needed in charmhub with explicit .charm
- Pin setuptools < 50.0 in src/wheelhouse.txt

Change-Id: Ie15e3e0530345f488565454e673e40981f606bdd
2022-04-07 18:16:39 +01:00
Alex Kavanagh 3e4eee4215 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

Depends-On: https://review.opendev.org/c/openstack/charm-nova-cell-controller/+/830520
Change-Id: I47fd77c67776817f7b8d8918f0ec29d420f1763a
2022-02-23 14:19:44 +00:00
Corey Bryant f70e186285 Use [database]/connection in templates
nova-manage uses the [database]/connection to determine the
database connection. This change updates the nova.conf
template to use the parts/section-database template,
switching away from using [DEFAULT]/sql_connection to use
[database]/connection instead.

[DEFAULT/sql_connection has been deprecated since at least
mitaka:
https://docs.openstack.org/nova/mitaka/sample_config.html

This change also re-enables the gate tests for Xena.

Closes-Bug: #1951874
Change-Id: I9d77b44ad3c40f3ee60fedc3f211f3ac085fcbb2
2022-02-22 21:04:16 +00:00
Alex Kavanagh fa575bd4c6 Migrate charm to charmhub latest/edge track
Change-Id: I1059e037bdb9ee65cdebde4b5ed087bf1b5b0f93
2022-01-27 21:53:48 +00:00
Corey Bryant 464bbb7d59 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

Change-Id: I6d7d32dd016e436d8463f88331682f53c4741e8d
2021-11-22 14:33:46 -05:00
Alex Kavanagh 0296147aeb 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: Idda2655a4342f078c55338d99e51d0c27b480051
2021-09-27 15:48:20 +01:00
Aurelien Lourot be4cbcbd38 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: I27a464ae745adb9d176c7e84c9c7b06bb3f8d889
2021-07-22 14:58:41 +02:00
Aurelien Lourot ae90d0426e Add impish to metadata.yaml
Change-Id: Ie870ce136f98bb7f5d04bb1e14a9f366ecab17c1
2021-06-03 11:21:34 +02:00
Alex Kavanagh f1fc48218d 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: I259256fedb52f424535cba3c5e78ac53516989f2
2021-05-06 09:50:49 +00:00
Alex Kavanagh b198544f31 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: I233ad706c70123a2613ba5ec6463f60ef82123cc
2021-05-03 16:08:59 +01:00
Alex Kavanagh b0339cf672 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: I0b89619963f796132356b174f7bd9f3a85a681f4
2021-04-03 20:31:08 +01:00
Alex Kavanagh 86c799ac2f 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: I306cd021e4038a50dc2763e65da93253edd87e9e
2021-03-02 21:01:33 +00:00
Billy Olsen 98ec826eb2 Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: I11ec3877b4964e60b7efeed992acdc9c1f701e6f
2021-02-19 17:03:38 -07:00
Aurelien Lourot e94a55a11a Add Groovy to the test gate
Change-Id: I15770da6cfae46446c361cbff83940f4036c1cac
2021-01-25 10:17:02 +00:00
Alex Kavanagh f46c60c084 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: Id9d36ae950300b1c3f461928908e56bd2d49b37a
2021-01-15 16:33:22 +00:00
Aurelien Lourot 72961a57fe Remove Disco and Eoan bits
Change-Id: I621546d6b522a31c2b4b9abe53347ea386ee7c80
2021-01-12 14:01:11 +01:00
Aurelien Lourot 3666e07228 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
https://github.com/openstack-charmers/release-tools/pull/127
https://github.com/openstack-charmers/release-tools/pull/129

Change-Id: I6dbc31b457eaebb93857a5309b1b1249c01b342a
2020-12-15 11:21:04 +01:00
Aurelien Lourot bd1a38447c Add focal-victoria to the test gate
Change-Id: Ieef24a3476852b97754848de947d7bca740f2e61
2020-08-28 14:27:43 +02:00
Aurelien Lourot 729e6c3961 Add Victoria test bundles
Change-Id: Ifdf419bf0877dbd725eb3a018dfdba6d615cf42b
2020-07-15 10:33:11 +02:00
Alex Kavanagh 9418131123 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: I02183a592035b37bad6fa568bfcf9fdf20322b50
2020-06-02 14:34:30 +01:00
Frode Nordahl 44189c8e8f Add README and icon
Populate README from description in metadata.yaml.

Change-Id: I57f41099428d4a6fdde3e7c44825145913ad498b
2020-05-18 16:21:11 +00:00
Alex Kavanagh accb508fcc 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: I9061ac15b6ab0052090c6fe285eb2ccdc307f879
2020-05-07 12:36:09 +01:00
David Ames ef7a12ea54 Update peers with API addresses
Use default_update_peers which will publish admin, internal and public
addresses to peers.

Change-Id: Ibb9d67095c85f0486d24bec01c356c7e7bfb008a
Closes-Bug: #1858132
2020-03-27 15:00:43 -07:00
Alex Kavanagh 69df2af0b0 Remove disco support from the charm
Change-Id: I8126b1039a7121b8a34e71ca2bfde15353b42e8b
2020-02-18 18:31:06 +00:00
Liam Young f396ba9ace Rebuild for 20.02 release
Remove disco

Change-Id: Ia503af4d0156d4ee98fa8158660552b3d7beb3d6
2020-02-06 06:54:16 +00:00
Liam Young 746fb28c3b Use absolute path for charm location.
For compatibility with Juju 2.7 use an absolute path to point at
the local charm. This is essentially the same fix as the one landed
in zaza by fnordahl *1. The local overlay needs to be retained here
because the deployed service has different name to the charm.

*1 af7f8d6ca3

Change-Id: Iff66b8c473f4d184982593f70fe9ca9769069006
2019-11-08 12:01:41 +00:00
Sahid Orentino Ferdjaoui 1625884690 Add train template and train functional tests
A train template is added which pulls in sectional
placement config from charm-layer-openstack.

This requires adding identity-credentials as a required
interface for train and above.

This patch also updates the smoke test to run train.

Closes-Bug: 1850691
Depends-On: https://review.opendev.org/#/c/692426/
Change-Id: Ib3937915c5195b5e031d5056959932849012fc23
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-11-06 17:59:28 +00:00
Ryan Beisner b5eab37317
Sync charm/ceph helpers, tox, and requirements
Change-Id: I3cf3f6640f3a485a8ca09859c868a6f7277ab680
2019-09-30 20:59:27 -05:00
Camille Rodriguez 2d70fac071 Avoid pollution and false positives with tox.ini
- 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: I45e3c717349cf2f91b0ed56d0f53ac73ae447572
2019-08-27 13:53:16 -04:00
Zuul db5f12ccc4 Merge "Enable bundle specific tox zaza target" 2019-08-23 12:30:21 +00:00
Frode Nordahl ac4a16e527
Rebuild for sync layer-openstack
Also explicitly set ``include_system_packages`` to False.

While that setting is now the a default we consume from
``layer-basic`` it is more clear for the causual reader
of the charm source code.

Remove redundant entries from ``wheelhouse.txt``.

Change-Id: Id3d40ad97791d6c10b54570fd02b6eb401a69063
2019-08-22 09:00:19 +02:00
Chris MacNaughton 4c63b2563b
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: I23ea021b6e11ebb865d484fdd78cf53381d67c16
2019-08-19 11:54:02 -04:00
Frode Nordahl a135482670
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: I99aa452221bea06331519c3a6cf3fde18c75c879
2019-08-14 16:51:52 +02:00
Corey Bryant f456038d4b Revert back to using "rabbit_use_ssl" for ocata
Ensure "rabbit_use_ssl" is specified in the [oslo_messaging_rabbit]
config section instead of "ssl" for Ocata, since "ssl" was not yet
introduced.

This is fixed by using section-oslo-messaging-rabbit for pike and
above rather than ocata and above, thus reverting back to using
section-rabbitmq-oslo for ocata.

Change-Id: If3264c1d31dbeda965287c1d70316f8c98b7bfde
Closes-Bug: #1838696
2019-08-05 10:22:01 -04:00
Frode Nordahl 32c86219f7 Update functional test definitions
Change-Id: Iad90410545932b31f520b4cd4c92c070c47f1b5a
2019-07-17 15:32:39 +02:00
Chris MacNaughton 256bb9e2dc Enable bundle specific tox zaza target
Change-Id: I5054e746c05c8cf7cf5bffcf5d8b69500616efac
2019-07-08 16:32:52 +02:00
Chris MacNaughton 93a9546729 Retarget Zaza to master now that split has landed
This change is required as Zaza underwent a split of the openstack
tests from the Zaza project, so we had to track the working branch
until that change landed. As it has landed, it is now time to use
Zaza from master again

Change-Id: I82cf02bdfd06eb89e727a395290f524d2f1afe9e
2019-05-24 08:49:52 +02:00
Chris MacNaughton d59e939f1d Migrate to split zaza - zaza.openstack
This change adds in zaza.openstack, as well as changing the
branch target of zaza to a branch with zaza.openstack
removed, allowing us to validate the new library

Change-Id: I95323aceaa17778d87595540f7fa7a1c6be1428f
2019-05-09 12:30:51 +02:00
Chris MacNaughton fa615488d3 Migrate Zaza tests to independant OpenStack Charms specific library
Change-Id: Ibc8432251bba9ec5967620655133a37db9baeee3
2019-04-26 14:05:58 +02:00
Frode Nordahl 3564920620
Enable bionic/stein and disco/stein functional tests
Pin charm ``ntp`` at bionic as it has not been updated to support
``cosmic`` and ``disco`` yet.

Move disco to dev_bundles pending LP: #1824318

Change-Id: I8335572961c5d2f97a3059ae5eb5295b2e8e9d66
2019-04-17 13:20:45 +02:00
Frode Nordahl 60730fb7ba 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: I9e547086af2916e102fedcf317ecfb9da52d11a5
2019-04-05 07:58:23 +02:00