At account quota, "Forbidden Reached container limit of " message is printed imporpiamente

Bug #1306711 reported by dba
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Gil Vernik

Bug Description

I have set max_containers_per_account = 10 in proxy-server.conf.

and then I created 10 container.

# swift post cont1
...
# swift post cont10
Error trying to create container 'cont1': 403 Forbidden: Reached container limit of 10

At tenth container creation error is no problem. correct.

But,In this situation, When already existing cont1 upload same error message printed.

swift upload cont1 1mfile
Error trying to create container 'cont1': 403 Forbidden: Reached container limit of 10
1mfile

This error message is improper.
Although reached max container limit , in existing container must can upload.
so "Error trying to create container 'cont1': 403 Forbidden: Reached container limit" must not print.

dba (lee203)
information type: Public → Public Security
affects: python-swiftclient → swift
dba (lee203)
information type: Public Security → Public
Gil Vernik (gilv)
Changed in swift:
assignee: nobody → Gil Vernik (gilv)
Gil Vernik (gilv)
Changed in swift:
status: New → In Progress
Gil Vernik (gilv)
Changed in swift:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in swift:
milestone: none → 2.1.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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