Commit Graph

2557 Commits

Author SHA1 Message Date
Alex Kavanagh
2ebdf58ed2 Merge pull request #1206 from freyes/add-caracal
Add caracal to codename maps
2024-05-09 07:36:02 +01:00
Felipe Reyes
ae9a99feaa Add caracal to codename maps
jammy-caracal, noble-caracal, 2024.1 and noble are being added to their
respective codename maps to allow the testing to recognize caracal
2024-05-08 17:51:00 -04:00
Peter Sabaini
711eb65628 Merge pull request #1201 from lmlg/osd-key-rotate
Implement key rotation tests for OSD units
2024-05-07 17:36:57 +02:00
Luciano Lo Giudice
239d028fdc Increase retries 2024-05-06 20:26:21 -03:00
Luciano Lo Giudice
817534af7e Fix tenacity usage 2024-05-06 18:00:12 -03:00
Luciano Lo Giudice
9d931d373e Sleep instead of retrying 2024-05-06 15:09:31 -03:00
Luciano Lo Giudice
3cf2ed6d15 Retry on key rotation 2024-05-06 12:24:02 -03:00
Luciano Lo Giudice
091afbe0a1 Merge remote-tracking branch 'canonical/master' into osd-key-rotate 2024-05-06 12:15:21 -03:00
Peter Sabaini
0b0f8414a6 Merge pull request #1202 from lmlg/fs-key-rotate
Implement ceph-fs key rotation tests
2024-05-06 17:14:06 +02:00
Alex Kavanagh
0271cc271f Merge pull request #1200 from MylesJP/master
Add cinder tests for audit middleware
2024-04-29 12:08:39 +01:00
Luciano Lo Giudice
987e048c11 Fix fetching of FS service 2024-04-25 19:39:52 -03:00
Luciano Lo Giudice
6f87be2b5f Filter master MDS client 2024-04-25 18:18:51 -03:00
Luciano Lo Giudice
08b1e4902f Use a more thorough stategy 2024-04-25 16:13:03 -03:00
Luciano Lo Giudice
f8136a6c15 Use a different waiting strategy for ceph-fs tests 2024-04-25 11:30:08 -03:00
Luciano Lo Giudice
1ecd7cc9c6 Use specific workload messages for the Ubuntu units 2024-04-24 14:04:29 -03:00
Luciano Lo Giudice
4296630479 PEP8 change 2024-04-24 11:38:12 -03:00
Luciano Lo Giudice
3bf0ec72b9 Implement ceph-fs key rotation tests
This PR implements tests for key rotation in ceph-fs units. It works
similarly to how RGW tests do.
2024-04-24 11:29:33 -03:00
Luciano Lo Giudice
a15832695c Implement key rotation tests for OSD units
This PR adds OSD tests to the key rotation class for the ceph-mon
charm. It will be tested in the following merge requests:
https://review.opendev.org/c/openstack/charm-ceph-mon/+/915925
https://review.opendev.org/c/openstack/charm-ceph-osd/+/915926
2024-04-22 14:43:46 -03:00
Peter Sabaini
2e0beacad4 Merge pull request #1195 from lmlg/ceph-key-tests
Implement tests for ceph-mon's rotate-key action
2024-04-22 19:04:02 +02:00
Luciano Lo Giudice
e083e56ee7 Remove OSD tests for initial release 2024-04-19 15:36:00 -03:00
Myles Penner
f090ca6851 Add cinder tests for audit middleware 2024-04-18 11:43:53 -07:00
Peter Sabaini
cedd9fd08b Merge pull request #1199 from sabaini/fix/ceph-radosgw-testfix
Fix: ceph-radosgw test should only check radosgw app
2024-04-18 17:44:33 +02:00
Peter Sabaini
da3463cb94 Fix: ceph-radosgw test should only check radosgw app
Don't block on global app state waiting but only check the SUT app
state.
2024-04-17 16:38:39 +02:00
Luciano Lo Giudice
aa7d619a24 Add some time to get the unit to settle 2024-04-15 13:55:44 -03:00
Luciano Lo Giudice
e574fc0019 Temporarily revert OSD testing to get RGW changes merged 2024-04-15 11:18:08 -03:00
Luciano Lo Giudice
06e876a7ad Uncomment ceph-osd tests 2024-04-12 13:34:11 -03:00
Luciano Lo Giudice
2f557c531d Use the correct callable 2024-04-11 16:06:19 -03:00
Luciano Lo Giudice
cbc117208e Use the right unit to get the RGW client 2024-04-11 13:14:45 -03:00
Luciano Lo Giudice
7f913c7be2 Merge remote-tracking branch 'canonical/master' into ceph-key-tests 2024-04-11 10:58:10 -03:00
Luciano Lo Giudice
b0d0012a95 Merge pull request #1197 from sabaini/bug/2060785
Fix race in setting up certs
2024-04-10 19:28:03 -03:00
Luciano Lo Giudice
eee7611ccb PEP8 fix 2024-04-10 13:45:12 -03:00
Luciano Lo Giudice
d10c243f8d Comment out OSD tests until PR is ready 2024-04-10 13:41:40 -03:00
Luciano Lo Giudice
f411c0b0b1 Use already existing functionality to fetch RGW client 2024-04-10 13:08:41 -03:00
Peter Sabaini
99167326ce Fix race in setting up certs
Closes bug #2060785
2024-04-10 11:50:12 +02:00
Luciano Lo Giudice
8fe9a110ed Also test key rotation in OSD's 2024-04-09 19:47:24 -03:00
Luciano Lo Giudice
761913176c Make sure the result is the type of entity we're after 2024-04-09 19:28:40 -03:00
Luciano Lo Giudice
b99a6c428a Fix access to keys 2024-04-09 13:47:25 -03:00
Luciano Lo Giudice
99456d9229 Adjust test so it can be used for more than managers 2024-04-09 11:59:43 -03:00
Luciano Lo Giudice
3989d543f6 Get the keys for all managers to compare 2024-04-08 11:20:48 -03:00
Luciano Lo Giudice
5d45789726 Implement tests for ceph-mon's rotate-key action
This PR implements tests for the ceph-mon charm's action 'rotate-key'.
For now, the charm only supports key rotation for managers, but
more entities will be added. This PR will be used to test those
new entities as well.
2024-04-05 18:05:40 -03:00
Peter Sabaini
01ca8f5a78 Merge pull request #1187 from shundezhang/master
add test for virtual hosted bucket
2024-04-04 09:49:51 +02:00
Shunde Zhang
ff58f1a129 delete whitespace in blank line 2024-04-03 15:40:04 +11:00
Shunde Zhang
9bdaf703d2 skip virtual hosted bucket test after multi site tests 2024-04-03 15:38:05 +11:00
Shunde Zhang
56776d0bb2 Fixed pep8 errors. 2024-04-02 21:00:39 +11:00
Shunde Zhang
374bde62ce add test for virtual hosted bucket 2024-04-02 17:48:19 +11:00
Alex Kavanagh
49c1a63273 Merge pull request #1194 from freyes/pin-juju-2.9
Pin python-libjuju<3.0.0
2024-03-21 21:16:04 +00:00
Felipe Reyes
ff7a9c2839 Pin python-libjuju<3.0.0
The OpenStack Charms gate has proven to be unstable when running
juju-3.x, this patch pins libjuju again to 2.9.x until the issues get
addressed.

Depends-On: https://github.com/openstack-charmers/zaza/pull/652
2024-03-21 15:30:37 -03:00
Alex Kavanagh
f691386791 Merge pull request #1192 from wolsen/use-model-run-on-unit
Use zaza.model.run_on_unit for ca checks
2024-03-18 20:10:26 +00:00
Billy Olsen
a64d2c6b03 Use zaza.model.run_on_unit for ca checks
Existing code uses the python libjuju unit.run in order to execute
a wait check for ca readiness across the units. The behavior of libjuju
changed between 2.x and 3.x and causes this functionality to break. This
is abstracted and handled in the zaza library, so use that code instead
as it properly handles the differences.

Signed-off-by: Billy Olsen <billy.olsen@canonical.com>
2024-03-18 12:27:04 -07:00
Alex Kavanagh
40a5919f71 Merge pull request #1186 from freyes/pin-netaddr
Pin netaddr<1.0.0
2024-02-21 19:16:12 +00:00