Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable ssl on manila #1243

Closed
wants to merge 20 commits into from
Closed

enable ssl on manila #1243

wants to merge 20 commits into from

Conversation

ajkavanagh
Copy link
Collaborator

  • Add caracal to codename maps
  • Remove designate-agent for caracal+ testing
  • Add squid package name
  • Adding fixing broken configuration test for mysql-router
  • Add class for keystone audit middleware testing
  • Add ObjectRetrier to CinderaBackupTests
  • Add additional debug for ObjectRetrier
  • Re-enable test 410 for cinder backups
  • Fix ObjectRetrierWraps recursive wrapping
  • Double Cinder backup restore time
  • Add more retries to allow manila backup restore to complete
  • Reduce ObjectRetrierWraps logging noise during normal use
  • Modify test code to be less brittle
  • Enable SSL support on manila client

freyes and others added 20 commits May 9, 2024 08:40
jammy-caracal, noble-caracal, 2024.1 and noble are being added to their
respective codename maps to allow the testing to recognize caracal

(cherry picked from commit ae9a99f)
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.

(cherry picked from commit d83e01f)
(cherry picked from commit 418c98e)
Remove designate-agent for caracal+ testing
[stable/caracal] Adding fixing broken configuration test for mysql-router
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

(cherry picked from commit ff5cdf5)
[stable/caracal] Add class for keystone audit middleware testing
This adds the auto-retrier to the cinder client to get past race hazards
and other transient errors.
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.
This is to verify that the retries really do work.
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.
This accounts for slow ServerStack when using ceph in the model.
Due to slow 1GiB networking in ServerStack the restore often exceeds the
retries.  Increase them to enable the restore to succeed.
The test for log function against ObjectRetrierWraps class is too
brittle to the number of log calls. This commit makes it less brittle.
…etrier

Add ObjectRetrier to CinderaBackupTests
The python-manilaclient requires passing the cacert file for TLS
endpoints. This commit enables that on the `get_manila_session_client`
and also, for the manila tests, wraps the client in a retrier that
retries on connection failures (i.e. if the server is not running).
@ajkavanagh
Copy link
Collaborator Author

Closing, as I actually wanted to create this on stable/caracal.

@ajkavanagh ajkavanagh closed this Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants