Repository navigation
Conversation
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). (cherry picked from commit 42afc47) (cherry picked from commit a876c33) Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebase of #1249 onto the current stable/bobcat, so it can be used as a Func-Test-Pr for charm-manila-ganesha.
#1249 is 24 commits behind stable/bobcat and misses the juju 3.x fix in
block_until_ca_exists()(_check_ca_presentreadsoutput.data['results']), so vaultauto_initializefails withAttributeError: 'NoneType' object has no attribute 'get'when the func-test environment is installed from that branch. The commit is unchanged otherwise (cherry-picked cleanly, author kept).Without this, the manila-ganesha
*-vaultbundles fail insetup_ganesha_share_typewith CERTIFICATE_VERIFY_FAILED, because the manila client does not get the vault CA.pep8 and py3 unit tests pass locally.