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
This commit is contained in:
parent
9d99219f3e
commit
01ba7fd307
|
@ -174,6 +174,8 @@ class ClientManager(object):
|
|||
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'},
|
||||
|
|
Loading…
Reference in New Issue