Downloading SLO (static large object) fails using a user without the admin or ResellerAdmin role. This is reproducible on OSP5, both on RHEL6+7.

Solution Verified - Updated -

Issue

Following Error is observed while downloading swift SLO (static large object) as it fails using a user without the admin or ResellerAdmin role.

    ERROR Unhandled exception in request: #012Traceback (most recent call last):#012  File "/usr/lib/python2.6/site-packages/swift/proxy/server.py", line 347, in handle_request#012    resp =      req.environ['swift.authorize'](req)#012  File "/usr/lib/python2.6/site-packages/swift/common/middleware/keystoneauth.py", line 184, in authorize#012    tenant_id, tenant_name =        env_identity['tenant']#012TypeError: 'NoneType' object is unsubscriptable (txn: tx3fe067ad79e4486395304-0059d21c18)

Environment

Red Hat OpenStack Platform 5.0 on RHEL 6 & 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In