Skip to content

Enable SSL support on manila client - #1452

Open
xtrusia wants to merge 1 commit into
openstack-charmers:masterfrom
xtrusia:manila-ssl-master-rebase
Open

xtrusia wants to merge 1 commit into
openstack-charmers:masterfrom
xtrusia:manila-ssl-master-rebase

Conversation

@xtrusia

@xtrusia xtrusia commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Rebase of #1253 onto the current master, so it can be used as a Func-Test-Pr for charm-manila-ganesha.

#1253 is 121 commits behind master. Its setup.py still pins python-cinderclient<6.0.0, which conflicts with python-cinderclient==9.9.0 in zaza's constraints-juju36.txt, so the func-test environment cannot be installed from that branch. The commit is unchanged otherwise (cherry-picked cleanly, author kept).

Without this, the manila-ganesha *-vault bundles fail in setup_ganesha_share_type with CERTIFICATE_VERIFY_FAILED, because the manila client does not get the vault CA.

pep8 and py3 unit tests pass locally.

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 0d76484)
Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com>
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.

2 participants