Billy Olsen
e67dca5dc5
Merge pull request #1237 from openstack-charmers/retrier-fixes-master
...
[main] ObjectRetrierWraps fixes (cherry-pick #1234 )
2024-07-03 00:03:57 +01:00
Billy Olsen
312e32043b
Merge pull request #1235 from jadonn/master
2024-07-02 13:49:06 +01:00
Alex Kavanagh
b7c5b5a54d
Modify test code to be less brittle
...
The test for log function against ObjectRetrierWraps class is too
brittle to the number of log calls. This commit makes it less brittle.
2024-07-02 10:50:54 +01:00
Alex Kavanagh
12c69fdca3
Reduce ObjectRetrierWraps logging noise during normal use
2024-07-02 10:50:54 +01:00
Alex Kavanagh
0bf4e9a558
Add more retries to allow manila backup restore to complete
...
Due to slow 1GiB networking in ServerStack the restore often exceeds the
retries. Increase them to enable the restore to succeed.
2024-07-02 10:50:54 +01:00
Alex Kavanagh
d71c9b3545
Double Cinder backup restore time
...
This accounts for slow ServerStack when using ceph in the model.
2024-07-02 10:50:54 +01:00
Alex Kavanagh
1f0808e238
Fix ObjectRetrierWraps recursive wrapping
...
In order to ensure that an object that contains other objects that are
called (e.g. the VolumeManager object on the Cinder client object), the
ObjectRetrierWraps class needs to more agressively wrap non builtin
classes.
2024-07-02 10:50:54 +01:00
Alex Kavanagh
edf55189fb
Re-enable test 410 for cinder backups
...
This is to verify that the retries really do work.
2024-07-02 10:50:54 +01:00
Alex Kavanagh
704059a996
Add additional debug for ObjectRetrier
...
It wasn't capturing member variables on the wrapped object that would
then be used to make the call; thus, wrap those.
This also disables (temporarily) the long running cinder backup test
deletion whilst checking whether retries are the problem.
2024-07-02 10:50:54 +01:00
Alex Kavanagh
09f12f6eda
Add ObjectRetrier to CinderaBackupTests
...
This adds the auto-retrier to the cinder client to get past race hazards
and other transient errors.
2024-07-02 10:50:54 +01:00
Jadon Naas
3a6a3f8a63
Added required config option idp_id to Keystone OpenIDC charm
...
This change makes z-o-t pass in the value of idp_id when configuring the Keystone OpenIDC charm during testing.
2024-06-25 10:34:24 -04:00
Alex Kavanagh
6f9c9f7e8e
Merge pull request #1228 from MylesJP/pr-1226
...
Add 'skip' class for Ironic-API audit middleware tests
2024-06-20 18:56:04 +01:00
hemanthnakkina
6f4c918558
Merge pull request #1227 from wolsen/add-noble-constraints
...
Add a constraints file specifically for noble
2024-06-20 08:02:54 +05:30
Billy Olsen
05c7c63f12
Add a constraints file specifically for noble
...
Add a constraints file to pin to a version of juju which supports
noble. Adding a new file so as not to impact current master branch
targets for all charms until they are ready.
Signed-off-by: Billy Olsen <billy.olsen@canonical.com >
2024-06-19 19:15:42 -07:00
Myles Penner
4a956e0362
Merge branch 'master' into master
2024-06-19 14:53:39 -07:00
Myles Penner
ff5cdf51e6
Add class for keystone audit middleware testing
...
Added general class for testing keystone audit middleware
functionality in charms. Tests correct rendering of
api-paste.ini file and allows charms without an api-paste.ini
file to skip the tests.
Example usage with charm Heat:
tests/tests.yaml
tests:
- zaza.openstack.charm_tests.audit.tests.KeystoneAuditMiddlewareTest
tests_options:
audit-middleware:
service: heat
2024-06-19 11:18:38 -07:00
Felipe Reyes
5a901a7638
Merge pull request #1225 from openstack-charmers/revert-1196-fixing_broken_conf
...
Revert "Adding fixing broken configuration test for mysql-router"
2024-06-18 13:53:48 -07:00
Alex Kavanagh
61ac4bc8de
Revert "Adding fixing broken configuration test for mysql-router"
2024-06-18 18:40:00 +01:00
Alex Kavanagh
a10602489e
Merge pull request #1217 from UtkarshBhatthere/fix/CephRgwApacheSsl
...
Fixes endpoint discovery for RGW application under test
2024-06-18 12:41:21 +01:00
Alex Kavanagh
73374a023c
Merge pull request #1196 from xtrusia/fixing_broken_conf
...
Adding fixing broken configuration test for mysql-router
2024-06-13 14:37:37 +01:00
Utkarsh Bhatt
21b51a467f
Fixes endpoint discovery
...
The zaza test used the default endpoint as exposed by
the unit to perform object IO, however, SSL is configured
for PUBLIC,INTERNAL, and ADMIN bindings.
Signed-off-by: Utkarsh Bhatt <utkarsh.bhatt@canonical.com >
2024-06-12 18:42:15 +05:30
Seyeong Kim
21f782dd91
Merge branch 'openstack-charmers:master' into fixing_broken_conf
2024-06-12 12:36:20 +09:00
Felipe Reyes
1a06e12b76
Merge pull request #1212 from MylesJP/master
...
Add class for keystone audit middleware testing
2024-06-06 15:05:45 -07:00
Peter Sabaini
d4f7b085aa
Merge pull request #1193 from ionutbalutoiu/ceph-rgw-multisite-sync-policies
...
Add integration test for Ceph RGW multisite sync policies feature
2024-05-31 12:10:54 +02:00
Billy Olsen
457069359e
Merge pull request #1213 from openstack-charmers/designate-changes-caracal
...
Remove designate-agent for caracal+ testing
2024-05-30 09:32:05 -07:00
Alex Kavanagh
d83e01f862
Remove designate-agent for caracal+ testing
...
The designate-agent service was removed at caracal. This patch removes
the designate-agent from the list of services that designate supports so
that the pause/resume testing works appropriately.
2024-05-30 10:56:37 +01:00
Myles Penner
2ddde4307e
Remove redundant cinder tests
2024-05-29 15:11:20 -07:00
Myles Penner
3af8d41067
Fix dictionary lookup method
2024-05-29 08:38:49 -07:00
Myles Penner
38a7c9b0c2
Make corrections as per review comments
2024-05-28 10:57:47 -07:00
Myles Penner
df3858d0d1
Add fix for when service and app name differ
2024-05-27 10:11:13 -07:00
Myles Penner
2a7c49b498
Add class for keystone audit middleware testing
...
Added general class for testing keystone audit middleware
functionality in charms. Tests correct rendering of
api-paste.ini file.
Example usage with charm Heat:
tests/tests.yaml
tests:
- zaza.openstack.charm_tests.audit.tests.KeystoneAuditMiddlewareTest
tests_options:
audit-middleware:
service: heat
2024-05-24 15:27:39 -07:00
Peter Sabaini
79bc345806
Merge pull request #1208 from lmlg/fs-key-rotation-fix
...
Fix test for ceph-fs key rotation
2024-05-16 14:50:59 +02:00
Luciano Lo Giudice
31a351338c
Merge pull request #1209 from sabaini/add-squid
...
Add squid package name
2024-05-16 05:47:57 -03:00
Peter Sabaini
418c98ee57
Add squid package name
2024-05-13 21:46:18 +02:00
Luciano Lo Giudice
5541905935
Fix test for ceph-fs key rotation
...
The ceph-fs charm sometimes creates an entity called 'mds.None'.
This is probably a bug, but in the meantime, we filter it out
in the key rotation test class.
2024-05-13 06:12:15 -03:00
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
Ionut Balutoiu
d2b38e6279
CephRGWTest: Deduplicate code to create multi-site relation
...
Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com >
2024-04-25 10:46:43 +03:00