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
diff --git a/heat_tempest_plugin/services/clients.py b/heat_tempest_plugin/services/clients.py
index 3999cee..c1df9ab 100644
--- a/heat_tempest_plugin/services/clients.py
+++ b/heat_tempest_plugin/services/clients.py
@@ -174,6 +174,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'},