This patchset implements key rotation in the ceph-radosgw charm,
by replacing the keyring file if it exists and the ceph-mon
relation reports a new key.
Change-Id: I447b5f827e39118e7dbd430b1c63b3ec4ea3e176
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1195
Change functional testing to also test upgrades from charmhub version
to the locally built charm. Include a new test for installing a locally built charm from scratch.
Also pin some support charms to specific tracks.
Change-Id: I57937f55526f531cb807a876fd074f5f589b00ed
* 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
* add additional unit test https mocks needed since
charm-helpers commit 6064a34627882d1c8acf74644c48d05db67ee3b4
* update charmcraft_channel to 2.x/stable
Change-Id: I2d9c41c294668c3bb7fcba253adb8bc0c939d150
- 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: I05ce01c13efdd453c06e3c8d615d64bad6e27727
* 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: Ieb1ef7b7ab76775f5769621a6a7cbcfb18c40b7f
1.) Currently multi-site can only be configured when system is being
deployed from scratch, migration works by renaming the existing
Zone/Zonegroups (Z/ZG) to Juju config values on primary site before
secondary site pulls the realm data and then rename and configure
secondary Zone accordingly.
During migration:
2.) If multiple Z/ZG not matching the config values are present at
primary site, the leader unit will block and prompt use of
'force-enable-multisite' which renames and configures selected Z/ZG
according to multisite config values.
3.) If the site being added as a secondary already contain Buckets,
the unit will block and prompt the operator to purge all such Buckets
before proceeding.
Closes-Bug: #1959837
Change-Id: I01a4c1c4551c797f0a32951dfbde8a1a4126c2d6
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/840
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: I56e04707036b994c52cc9cfcb19e6c37cd41309e
Fix the create_system_user method so it returns the access_key
and secret when a user is created.
This patch also includes the following changes:
* Improve logging of multisite methods to help with debugging issues.
* Fix multisite relations in bundles.
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/667
Closes-Bug: #1950329
Change-Id: I0528fe7f4a89c69f2790a0e472f6f43e23c2de19
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: I99ee073206c7fad4897bf7b7bb767cf143b40d70
Ensure the right key is selected on pre-systemd deploys. Whether
to request unit specific keys is already gated on the
request_per_unit_key *1 this patch applies the same logic to
_key_name for selecting the key.
*1 https://github.com/openstack/charm-ceph-radosgw/blob/master/hooks/hooks.py#L258
Also update testing to use cephx auth.
Change-Id: I92fe75fb7f483cc70b35e48587cf376a16d856a5
Closes-Bug: #1899676
Fix intermittent deployment failure with TLS.
Default to TLS in the functional test.
The call to ``configure_https`` in identity_changed is remains
from the time when Keystone provided certificates, remove it.
Hold service down until keys are rendered.
Change-Id: Ia16e6200520972c503102d80cda35e36daea82a2
Closes-Bug: #1868387
This patch adds the following bundles:
* tests/bundles/bionic-ussuri-namespaced.yaml
* tests/bundles/bionic-ussuri.yaml
* tests/bundles/focal-ussuri-namespaced.yaml
* tests/bundles/focal-ussuri.yaml
The focal tests uses the force_deploy option in the tests.yaml
The depends-on is to fix very recent lint errors in charms.ceph with
E741 (very short variable names).
Change-Id: I46445da361e37716b65bf941f687cbd6468ed212
Depends-On: Id92956e52cefed6d3d792dd95fe7091788fb2d1b
This change enabled automatic tenant namespacing,
which also allows enabling global read permissions
on buckets.
Change-Id: Ic37c7161b7dddad49e3c2ab075d7e8b72f436b35
Closes-Bug: #1833072
Additionally, this has unit test fixes for a CephContext
update and a Keystone V3 update that came with this sync.
Change-Id: I8ad78dbebf94ac0e6d0bcee6af2e24552c7175a3
This tries to resolve an issue where the CI environment
places instances on machines with swap volumes and
Juju storage hands off bad information
Change-Id: Ie0202b05319c1bcab8334f8c8356acca4c96eaf5
Move multisite test bundles to dev section; the tests experience
some race conditions with RADOS Gateway deployments taking time
to resync after promotion operations that needs to be accomodated
in the zaza test code.
Related-Bug: 1833509
Change-Id: If36671a00c253e36c339e72dd14b20f7c68f7577
Drop amulet tests and create bundles for all target
Ubuntu/OpenStack series combinations inline with
current best practice.
Zaza tests are not a direct translation from the Amulet tests;
the new tests focus in Ceph RADOS Gateway and integration with
keystone rather than deploying compute, image and block
services (which do not make use of the ceph-radosgw charm).
Change-Id: I41914df024eb02e5a555bc0e44993e09d310933e
Switch to using systemd configurations to manage radosgw instances;
the radosgw init script is obsolete and will be removed at some
point in time, and the newer style of managing radosgw daemons is
inline with current best-practice.
This changeset also changes the way cephx keys are issues; before
all rgw instances shared a key, now a key is issued per host.
The key is named 'rgw.`hostname`' to identify the application
and host using the key.
Existing deployments using the radosgw init script will be switched
to use the new systemd named units; this occurs once the new key
for the unit has been presented by the ceph-mon cluster over the
mon relation. A small period of outage will occur as the radosgw
init based daemon is stopped and disabled prior to the start of
the new systemd based radosgw unit.
This commit also includes a resync for charmhelpers to pickup
support for '@' in NRPE service check names.
Change-Id: Ic0d634e619185931633712cb3e3685051a28749d
Depends-On: I289b75a2935184817b424c5eceead16235c3f53b
Closes-Bug: 1808140
Update charm to execute hooks and actions under Python 3; this
includes dealing with upgrades (by switching the upgrade-charm
hook to be a bash script which installs the required charm runtime
dependencies).
This commit also drops code from ceph.py which was used across
other ceph charms in the past; only the functions required for this
charm have been retained.
Change-Id: I5e222d907bfa34ffacad16c51abd1278d7d82f56
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: I0ebcde2ca99a10a005a6448bca9be7ba40974fd0
Due to changes to the ceph-osd charm, it is
suggested to use Juju storage for testing.
Change-Id: Ibdf6f4119001a4a07f9ddbc4fb2a9640860ff386
Related-Bug: #1698154