Refresh 2023.2 -> 2024.1 which will impact all charms, so we
should not need to pre-seed the edge channel before this works.
Refresh 23.09 -> 24.03 for OVN charms.
Option sql_connection is removed form 2024.1 release [1]
Use below snippet for magnum-k8s conf template
[database]
connection = <>
Update horizon local_settings.py.j2 template
[1] https://docs.openstack.org/releasenotes/oslo.db/en_GB/2024.1.html
Mark tempest test as non-voting as its currently unstable.
Change-Id: I4e277a4c5e438e2f2112a167b0f3050c1526cd0a
func-test-machine jobs requires kvm setup on
the CI machines allocated. However recently
seems jobs are allocated to machines where
KVM is not setup.
Even though special nodesets are available to
get machines with KVM for CI tests, gate tests
should avoid using them as per infra team.
Removing func-test-machine job from list of
jobs to be executed.
Change-Id: Id01f68b20231861392d05c111e872ddbafc2f2f5
This is to verify that the tempest-k8s charm deploys successfully
(reaches active/idle, the tempest environment was set up successfully),
and doesn't adversely impact the rest of the sunbeam deployment.
Func tests with this charm have been observed to be unstable
(unexpected errors running certain tests),
so for now only minimal tests are added,
and it has been implemented in its own new test bundle.
This new test bundle is only triggered on changes in tempest-k8s code,
so it shouldn't affect the CI for other charms if it becomes unstable.
We still need to add more tests and debug the issues we were seeing,
but in the interests of time, we aim to implement these tests
and debug the issues in follow up patches.
Change-Id: I548eb07ed1eb9e67c46f62a16d36bfaec83d7040
Move testing to juju 3.4
Set base to ubuntu@22.04 in all test bundles with traefik
charm to ubuntu@20.04. tox can be modified to include
default-series=;default-base=ubuntu@22.04 in TEST_MODEL_SETTINGS
but that is not working for lxd based cloud.
Update tox to use zaza from main instead of libjuju-3.1
for func tests.
Func-tests for core are failing due to heavy load. Moved horizon
to tests/misc
Change-Id: I6c025e1350aad7ead922cf5feef19c67c308dbbd
Add new job to publish tempest-k8s charm
on changes in ops-sunbeam or tempest-k8s
or rebuild.
Add job in the promote pipeline.
Change-Id: Ic564b7022e33498d61191ef2e4680095e4370a1e
Add zuul variable tempest-k8s to publish charm.
Add tox to generate token.
Run generate token to update secret to include
publish permissions for new charm tempest-k8s
Change-Id: I36566b73d9edc0e05a27591db24daf9f3634b518
Add a charm for running tempest against a sunbeam openstack deployment.
It has support for running a "validate" action with parameters
passed to tempest.
Further development is planned, including periodic (cron based) tempest
checks and integration with COS.
Initial stubs are included to support this development.
Co-authored-by: Samuel Allan <samuel.allan@canonical.com>
Change-Id: Ie66177489ae38355a8f0025006192cc409e0e761
Sunbeam-clusterd can scale up and down.
Currently, the external address in bound to the peers relationship.
Exposes the action `get-credentials` which returns the URL. In the long
term, it will return the credentials to access securely clusterd.
Change-Id: I8b91efe6d96198f5ad3634b9747161225381ded6
Jobs have been successfully passing for the rights reasons
consistently. If a functional test fails, it should be investigated in
the patch.
Change-Id: I477cad32e8f782270d473cf04869d796fca3e294
By default, publish charms. For debug purpose, we might need to allow
toggling this feature at charm level.
Change-Id: Ib83a5875c8b1e9c47b2849f2ce3907143208f9cc
Add project template charm-publish-jobs to
zuul.yaml so that promote pipeline can trigger
charm publish job
Change-Id: I8fad4c3a24f4ed04e3271a938c25270a499d1cbb
Change nodeset for charm build jobs to
ubuntu-jammy and set nodeset ubuntu-jammy
to publish-charms job
Change-Id: I74258d5680d19b368a944a250d33ecab359b0d51
post-review is set as true for publish-charms job.
Remove post-review so that it will take default
value false.
Change-Id: I51f62ee03a5df7755ecf64eea51b826924321ce4
* Add sunbeam project template to run pep8, py3 tests
* Add zuul.d/zuul.yaml to run pep8, py3, cover tests
* Update charmcraft and requirements for each charm
* Add global tox.ini to invoke fmt, pep8, py3, cover,
build
* Add gitreview file
* Fix py3 test failures in ciner-ceph-k8s, glance-k8s,
openstack-exporter
* Add jobs for charm builds using files option so that
job is invoked if files within the component are
modified. Add charm builds to both check and gate
pipeline.
* Make function tests as part of global. Split the function
tests into core, ceph, caas, misc mainly to accomodate
function tests to run on 8GB. Add function tests as
part of check pipeline.
* Add zuul job to publish charms in promote pipeline
Add charmhub token as secret that can be used to
publish charms.
Note: Charmhub token is generated with ttl of 90 days.
* Run tox formatting
* Make .gitignore, .jujuignore, .stestr.conf global and
remove the files from all charms.
* Make libs and templates global. Split libs to internal
and external so that internal libs can adhere to
sunbeam formatting styles.
* Add script to copy common files necessary libs, config
templates, stestr conf, jujuignore during py3 tests
and charm builds.
* Tests for keystone-ldap-k8s are commented due to
intermittent bug LP#2045206
Change-Id: I804ca64182c109d16bd820ac00f129aa6dcf4496