Set Swift Account Quotas

Bug #1181242 reported by Bellantuono Daniel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Invalid
Undecided
Unassigned

Bug Description

When I try to set the account-quota with reseller admin i have this error:

~ # swift -V 2 -A http://???:5000/v2.0 -U reseller:reseller -K passwd post -m quota-bytes:1024000

Account POST failed: http://xxxxx:8888/v1/AUTH_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 403 Forbidden [first 60 chars of response] <html><h1>Forbidden</h1><p>Access was denied to this resource

swift/common/middleware/account_quotas.py

77 if request.environ.get('reseller_request') is True:
78 if new_quota and not new_quota.isdigit():
79 return HTTPBadRequest()
80 return self.app 80 return self.app

I am sure that the user is a ResellerAdmin but this condition "request.environ.get('reseller_request')" is never True:

Can you help me?
Thanks

My proxy-server.conf --> http://paste.openstack.org/show/37388/

Revision history for this message
Bellantuono Daniel (kelfen) wrote :
Revision history for this message
Kun Huang (academicgareth) wrote :

This issue has been fixed in current codes

Changed in swift:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.