attachment_swift: Keystone error when data are downloaded
sebalix opened this issue · 2 comments
sebalix commented
It was working well with the previous version of the module.
File "/odoo/external-src/odoo-cloud-platform/attachment_swift/models/ir_attachment.py", line 136, in _store_file_read
swifturi.item())
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 1786, in get_object
headers=headers)
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 1666, in _retry
self.url, self.token = self.get_auth()
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 1618, in get_auth
timeout=self.timeout)
File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 635, in get_auth
interface=interface)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 1225, in get_endpoint
return auth.get_endpoint(self, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 380, in get_endpoint
allow_version_hack=allow_version_hack, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 271, in get_endpoint_data
service_catalog = self.get_access(session).service_catalog
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access
self.auth_ref = self.get_auth_ref(session)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/v3/base.py", line 184, in get_auth_ref
authenticated=False, log=False, **rkwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 1131, in post
return self.request(url, 'POST', **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 968, in request
raise exceptions.from_response(resp, method, url)
NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-37f7e6fb-7e90-4627-b3fc-4d2153cd76bb)
p-tombez commented
sebalix commented
Closing, the SWIFT_AUTH_URL wasn't well configured.