Fix guest agent failed to use swiftclient over TLS
This commit adds insecure=True parameter to swiftclient. Story: #2010674 Task: #47748 Change-Id: I6156b289659dc9130effb1666c3cd2e14366bffe
This commit is contained in:
parent
aacc4a6917
commit
895e59237e
@ -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>`__
|
@ -82,7 +82,7 @@
|
||||
s-container: true
|
||||
s-object: true
|
||||
s-proxy: true
|
||||
tls-proxy: false
|
||||
tls-proxy: true
|
||||
tempest: true
|
||||
q-svc: true
|
||||
q-agt: true
|
||||
|
Loading…
Reference in New Issue
Block a user