Pass SSL options to swiftclient explicitly
Contrary to most other OpenStack's python-*clients, when being passed a
keysotneauth.Session swiftclient uses it only to find the Swift
endpoint and get itself a token, but does not use this session object
for actually connecting to Swift API afterwards.
This is why one still has to explicitly pass SSL-related options to
swiftclient when Swift API is behind SSL itself,
as those options encapsulated in the Session object won't in fact be used.
Change-Id: I1cce4f81e7fb80e4f75b8e42a9227ad909aea536
(cherry picked from commit 01ba7fd30727b97e994f6b880f350d7a656a3869)
diff --git a/heat_tempest_plugin/services/clients.py b/heat_tempest_plugin/services/clients.py
index 4567968..b5101a6 100644
--- a/heat_tempest_plugin/services/clients.py
+++ b/heat_tempest_plugin/services/clients.py
@@ -179,6 +179,8 @@
args = {
'auth_version': self.auth_version,
'session': self.identity_client.session,
+ 'cacert': self.ca_file,
+ 'insecure': self.insecure,
'os_options': {'endpoint_type': self.conf.endpoint_type,
'region_name': self.conf.region,
'service_type': 'object-store'},