camptocamp/odoo-cloud-platform

attachment_swift: AttributeError: 'module' object has no attribute 'identity'

sebalix opened this issue · 0 comments

When accessing a attachment form, this error raises:

  File "/odoo/src/openerp/addons/base/ir/ir_attachment.py", line 132, in _data_get
    result[attach.id] = self._file_read(cr, uid, location, attach.store_fname, bin_size)
  File "/odoo/external-src/odoo-cloud-platform/base_attachment_object_storage/models/ir_attachment.py", line 191, in _file_read
    return self._store_file_read(fname, bin_size=bin_size)
  File "/odoo/external-src/odoo-cloud-platform/attachment_swift/models/ir_attachment.py", line 125, in _store_file_read
    conn = self._get_swift_connection()
  File "/odoo/external-src/odoo-cloud-platform/attachment_swift/models/ir_attachment.py", line 108, in _get_swift_connection
    auth_url=host,
  File "/odoo/external-src/odoo-cloud-platform/attachment_swift/models/ir_attachment.py", line 58, in get_session
    auth = keystoneauth1.identity.v3.Password(
AttributeError: 'module' object has no attribute 'identity'