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: If2944411e04d21448f518b701f74a35ae39cd20e
* 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
* Sync charm-helpers to pick up fix for os_requires_version()
Change-Id: I9d44ab27409530e4690121e6ab7e3fdfeeda3071
Support charms (e.g. rabbitmq-server and mysql-innodb-cluster) source
their packages from distro and never from the cloud archive, this change
drops the set of that configuration key.
Change-Id: I129713bb3845c1d0264bc4e17bb297724d23ac6b
* 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: Iff2f3d0e011b47d895136ab7376f0e7d9c3955fb
This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests. This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.
Change-Id: I816a3034b055433a7688ac1165017c25f7fcf873
Create new glance_api.conf template from Ussuri release to
use default_backend and enabled_backends configuration
parameters instead of deprecated stores, default_store
parameters.
Add new config option cinder-volume-types to specify the
volume types in cinder that can be used to store glance
images.
Add logic to update cinder in glance-api configurations
if cinder-volume-service relation is joined.
Also add two flags, cinder_http_retries and
cinder_state_transition_timeout
Closes-Bug: #1905042
Change-Id: Ife649defc9b765b433d7973ab31778f9cb1efdd9
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.
Sync libraries.
hisute-wallaby test is disabled (moved to dev) due to [1] as bundle may
reference a reactive charm.
[1] https://github.com/juju-solutions/layer-basic/issues/194
Change-Id: I39929fbe3626c83e985d6fb9b21422a1b17e81d1
S3 backend has been available (again) since Ussuri in the upstream
Glance. We will enable the backend with config options for an external
S3 storage information.
Co-authored-by: Connor Chamberlain <connor.chamberlain@canonical.com>
Co-authored-by: Vladimir Grevtsev <vladimir.grevtsev@canonical.com>
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/574
Closes-Bug: #1919338
Change-Id: Id76a74cc6041b9c3364399254681138475f19935
Enable multi-backend for the bundles with Ceph deployed.
The extra backend enabled is an object store, that uses the
OpenStack Swift compatible API provided by the Ceph RGW.
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/505
Change-Id: I7125fbd4d188b2da3227ab8288a8aed3a61ef143
Glance (in ussuri) uses policy-in-code, and so that policy.json file
doesn't ship with the package. This means that the charm can't rely on
the file existing ussuri onwards. This patchset changes the way the
charm uses policy.json by switching it to a charm determined policy.yaml
file (preferred format) with the only 3 options that the charm
determines to enforce.
Also add yaml vars to focal-ussuri bundle
This brings it into line with the other charms that are part of the the
enable-focal topic. This makes it easier to add a new bundle just by
changing a couple of variables.
Closes-Bug: #1872996
Change-Id: I47f19272a4e0af3781843608b76304ce8ba1e2b8
This patch adds a focal-ussuri and bionic-ussuri bundles to the tests
for the charm. Note that this requires a modified zaza (to use the
force_deploy option).
Change-Id: I68574e63552ae796254bfa4929342459951cab21
This patch also updates the smoke test to run train.
Change-Id: I7ae6552f9feb3484cad46c189e4f290679e2535d
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This patchset implements policy overrides for glance. It uses the
code in charmhelpers.
Change-Id: I0586326ff87fdf03f2c88e4c459627f4085c3367
Closed-Bug: #1741723
The bundle disco-stein was in the dev bundles because
a bug with the Python 3.7 syntax prevented the success of
the deployment of HA clusters. This bug is fixed, we can
reintegrate disco-stein in the gate bundles.
Other small additions:
- 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.
LP Related-Bug: #1823718
Change-Id: I3a991b0aab724ce7b7c9376adabb607aacd2c94f
Ensure "rabbit_use_ssl" is specified in the [oslo_messaging_rabbit]
config section instead of "ssl" for Ocata, since "ssl" was not yet
introduced.
Change-Id: I192396dbd1ef96cab95e3958ae06fd86aa54ab46
Closes-Bug: #1838696
The stein version of python-oslo.messaging (9.0.0+) has removed
the following config options from the [oslo_messaging_rabbit]
section:
rabbit_host, rabbit_port, rabbit_hosts, rabbit_userid,
rabbit_password, rabbit_virtual_host rabbit_max_retries, and
rabbit_durable_queues.
The above change requires a sync from charm-helpers.
Additionally the transport_url directive has been moved to the
[DEFAULT] section.
These have been deprecated since Ocata, therefore this change
will be provided to pre-Stein templates in order to drop
deprecation warnings.
See release notes at:
https://docs.openstack.org/releasenotes/oslo.messaging/index.html
test_300_glance_api_default_config is also removed in this change
as amulet tests no longer need to confirm config file settings.
Change-Id: I02c02f71669433ea719dffae42073771a40f743a
Closes-Bug: #1817672
The amulet tests now explicitly specify the pymysql driver for the
mysql sqlalchemy dialect. The sqlalchemy package has switched back
to using mysqldb as the default driver for the mysql dialect in
Ubuntu Disco (Stein) and charm-helpers has been updated
accordingly to maintain the same behavior.
Change-Id: I5f1c3768eac53c8a9a5cdd43b393a6c7f9b14e4c
Update the keystone authtoken template section to explicitly
specify v3 API when it is in use. This prevents errors that
result in "Could not find versioned identity endpoints when
attempting to authenticate".
Along with this change we remove the tests that verify the
keystone_authtoken section as it's generally agreed that
functional testing should catch issues with this config.
Also update requirements to fix pyyaml dep of charm-tools.
Finally get glance v1 client for icehouse. Previously the
image virt type was qemu and the compute node virt type was
kvm. This works for deployments prior to rocky but in rocky
this causes the image type filter to return no valid hosts.
An update to charmhelpers has removed the default behaviour
of setting the virt type to 'qemu' by default. Due to a bug
in icehouse updating glance image properties using the v2 api
fails (See Bug #1371559) so for icehouse deploys get a v1
client.
Change-Id: I4ca604c674bda5d5f7daca6a3e9d13c8b4bd4efa
Closes-Bug: #1794637
Switch package install to Python 3 for OpenStack Rocky or later.
When upgrading, remove any python-* packages that where explicitly
installed and then autoremove --purge any dependencies that are
no longer required.
Tidy install on ceph relation joined - python-ceph is a dependency
of ceph-common, so no need to explicitly install.
Change-Id: I7b66bb3ab9f9130c9054411819d51434480cac97
Add a tactical change which is already merged into charm-helpers.
This needs to go into all charms to solve the chicken:egg issue
where cosmic is untestable until this change exists.
Reference:
4835c6c167
Change-Id: Ic2e33f35fe2f65637994fe6b1e8c9ffdeb9df60a
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: I7bb7a880a81a00abc537137f308694210d2779ae