Skip to content

[stable/antelope] Enable SSL support on manila client - #1454

Open
xtrusia wants to merge 1 commit into
openstack-charmers:stable/antelopefrom
xtrusia:manila-ssl-antelope-rebase
Open

xtrusia wants to merge 1 commit into
openstack-charmers:stable/antelopefrom
xtrusia:manila-ssl-antelope-rebase

Conversation

@xtrusia

@xtrusia xtrusia commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Rebase of #1250 onto the current stable/antelope, so it can be used as a Func-Test-Pr for charm-manila-ganesha.

#1250 is 24 commits behind stable/antelope and misses the juju 3.x fix in block_until_ca_exists() (_check_ca_present reads output.data['results']), so vault auto_initialize fails with AttributeError: '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 *-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 6757501)
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