Openstack swift account quota get 403 Forbidden Access was denied to this resource
Issue
- Swift client give error 403 Forbidden during the swift quota redefinition.
- Error is shown in
/var/log/cinder/backup.log
2016-06-06 13:25:01.471 12676 ERROR swiftclient [req-41b6a3dd-2967-4c81-a738-e252e9e1b2c2 NAME f69d9b364b7244de8200e2fcdb6f8b42 - - -] Container GET failed: http://192.168.135.135:8080/v1/AUTH_%(tenant_id)sf69d9b364b7244de8200e2fcdb6f8b42/Backups?format=json 403 Forbidden [first 60 chars of response] <html><h1>Forbidden</h1><p>Access was denied to this resourc
2016-06-06 13:25:01.471 12676 TRACE swiftclient Traceback (most recent call last):
2016-06-06 13:25:01.471 12676 TRACE swiftclient File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1261, in _retry
2016-06-06 13:25:01.471 12676 TRACE swiftclient rv = func(self.url, self.token, *args, **kwargs)
2016-06-06 13:25:01.471 12676 TRACE swiftclient File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 612, in get_container
2016-06-06 13:25:01.471 12676 TRACE swiftclient delimiter, end_marker, path, http_conn)
2016-06-06 13:25:01.471 12676 TRACE swiftclient File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 656, in get_container
2016-06-06 13:25:01.471 12676 TRACE swiftclient http_response_content=body)
2016-06-06 13:25:01.471 12676 TRACE swiftclient ClientException: Container GET failed: http://192.168.135.135:8080/v1/AUTH_%(tenant_id)sf69d9b364b7244de8200e2fcdb6f8b42/Backups?format=json 403 Forbidden [first 60 chars of response] <html><h1>Forbidden</h1><p>Access was denied to this resourc
2016-06-06 13:25:01.471 12676 TRACE swiftclient
2016-06-06 13:25:01.477 12676 WARNING cinder.backup.chunkeddriver [req-41b6a3dd-2967-4c81-a738-e252e9e1b2c2 USER f69d9b364b7244de8200e2fcdb6f8b42 - - -] swift error while listing objects, continuing with delete.
Environment
- Red Hat OpenStack Platform 7 (Kilo)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.