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: I5d15739f7f0804323ec61629fea53fc13f638f34
* 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: Ieacd818299773e3ffee55ab3f7f052e2f57dd74a
Ensure tests are run with aa-profile-mode=enforce. So we should be able
to notice any future behavioral changes in the upstream or additional
rules required for nova-compute AppArmor profile in the functional
tests.
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/870
Depends-Onː Id2db3a70b8d1287bda006f1bbc5442038f7070f1
Related-Bug: #1979812
Related-Bug: #1939389
Change-Id: If658d9e8ee11248ef09e774f3e21fe0f801dc066
* 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: Ie133bc41bf789e07d4d777e128617b21d822de30
Cinder sometimes needs to communicate with nova,
for example to notify VMs when live-resizing a disk.
Under certain circumstances,
the autodetected authentication details don't work,
so we must add a dedicated section in the config
for the nova client with proper credentials.
This issue has been observed on victoria and newer,
hence the addition of cinder.conf for victoria.
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/776
Closes-Bug: #1939389
Co-authored-by: Samuel Walladge <samuel.walladge@canonical.com>
Change-Id: I6d44223b7c2863c6d9c62b46a41275fd360f92d1
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: Ic7cf54d7669219f4a42e08c8a1e2adb786a16af6
* 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: If7019d54b67c10407c0db5fac098aa9cee993f1c
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.
Libraries sync.
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: I273ac839e051ef86f75ae91778ffbf2baebb0838
COMMON_PACKAGES included haproxy and apache2. However, enabled-services
can request a unit to only run cinder-volume. Cinder API related
services should not run or get monitored.
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/337
Change-Id: I69f15c3fd164f7114f5498d100b2832caf93fb00
Closes-Bug: #1779310
This patchset adds support for focal to the charm, enables the
bionic-ussuri and focal-ussuri bundles which verify that the charm works
and tests on focal with ussuri. In order for the tests to land,
serveral dependent changes to other charms are needed (see links) just
so that the charms will run on focal. Also, cinder needs to use local
block devices, and due to the related error, a change to
charm-test-infra model-defaults is needed for the charm to pass its
tests.
Links:
- disable vdb in charm-test-infra
- placement charm focal support
- neutron-openvswitch charm focal support
- rabbitmq-server charm focal support
Change-Id: I99ce6888a9570b34e1a171242a787ed93abdf82d
charm-test-infra: https://github.com/openstack-charmers/charm-test-infra/pull/42
Depends-On: If43d096c6bd5c57d00d92c54bc0ce464ba50bfa1
Depends-On: Ie744c1ff4c6651633d12dcd4de28d5e7a3e8646f
Depends-On: Ia239b7c2f0ed2383e220cf0fa4ade443149a3b32
This feature adds juju storage support to the charm. This is largely to
deal with the related bugs, but also makes the charm more useful.
Release-Note: https://review.opendev.org/#/c/718410/
Related-Bug: #1801349
Change-Id: I056967f4e83f4c99a4aac1090056dd4f320c03f5
Additionally, this resolves a configuration issue
in the icehouse bundle by updating cloud:trusty-icehouse
to distro.
Change-Id: I156e0181a969823b681e4309516cc2dac0b96f5f
Closes-Bug: #1870227
This patchset implements policy overrides for cinder. It uses the
code in charmhelpers.
It also fixes several bugs in the bundles where the actual version of
cinder that was being installed was the distro default rather than the
one that the bundle described.
Change-Id: Ic979dcb96ddb931fadb1fa4a4b36108244ddf306
Closed-Bug: #1741723
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_cinder_config is also removed in this change as amulet
tests no longer need to confirm config file settings.
Change-Id: Ia93be49430e8d95c38ed521d08bbb62f47e13e59
Closes-Bug: #1817672
The default in cinder is to only allow the admin to
force delete a volume; this change allows the
admin_or_owner to force delete a volume.
This was previously authored by Chris MacNaughton in change
I703a21b68186059a63f0d06d88cd2528e821f3d3
And then reverted in change
I77f9351da8516e5af40fea57400101e6dd16b528
This change includes gating on the OpenStack version.
Change-Id: I35599bae8a94724869a36c555ebfc6bf94384bd4
Co-Authored-By: Chris MacNaughton <chris.macnaughton@canonical.com>
Closes-Bug: #1782008
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: Iff25c42c760ff39ab941444cf8cb0aab958ce365
Switch package install to Python 3 for OpenStack Rocky or later.
When upgrading, remove any python-* packages that where explicitly
installated and then autoremove --purge any dependencies that are
no longer required.
This change also switches to using the cinder-manage binary in
preference to using the internal API of Cinder to query and manage
services in cinder, avoiding the need to continue to have python-cinder
installed for charm usage.
Change-Id: Ie8f7d2d7e1ef7b3065d6d9ed244e5fd05e2f613b
The relation between nova-compute and databases is not needed anymore.
Change-Id: I6c4ca52b58de9496e6ab14ee9ff18c17f0b2b325
See: https://review.openstack.org/499823/
The default in cinder is to only allow the admin to
force delete a volume; this change allows the
admin_or_owner to force delete a volume.
Change-Id: I703a21b68186059a63f0d06d88cd2528e821f3d3
Closes-Bug: #1782008
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: Iba67b8711bfddf1dea3ea02c1667224fc5662e3b