Fix guest agent failed to use swiftclient over TLS
This commit adds insecure=True parameter to swiftclient.
Story: #2010674
Task: #47748
Change-Id: I6156b289659dc9130effb1666c3cd2e14366bffe
(cherry picked from commit 895e59237e
)
This commit is contained in:
parent
bb8bbbeb66
commit
9dd308f5a0
@ -43,7 +43,9 @@ def _get_service_client(auth_url, token, tenant_id, region_name=None):
|
||||
os_options = {
|
||||
'region_name': region_name
|
||||
}
|
||||
return swiftclient.Connection(session=sess, os_options=os_options)
|
||||
return swiftclient.Connection(session=sess,
|
||||
os_options=os_options,
|
||||
insecure=True)
|
||||
|
||||
|
||||
def _set_attr(original):
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fix a bug where swift client in the trove guest instance failed to verify
|
||||
certification against the self-signed certificate authority.
|
||||
`Story 2010674 <https://storyboard.openstack.org/#!/story/2010674>`__
|
Loading…
Reference in New Issue
Block a user