grizzly: swift container quotas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Anne Gentle | ||
openstack-manuals |
Fix Released
|
Medium
|
Tom Fifield |
Bug Description
If merged, https:/
Quotas are subject to several limitations: eventual consistency, the timeliness
of the cached container_info (60 second ttl by default), and it’s unable to
reject chunked transfer uploads that exceed the quota (though once the quota
is exceeded, new chunked transfers will be refused).
However, they get most of the way to container quotas fairly inexpensively.
Quotas are set by adding meta values to the container, and are validated when
set:
X-Container-
X-Container-
15
16 """
17 The ``container_
18 imposed on swift containers by a user with the ability to set container
19 metadata, most likely the account administrator. This can be useful for
20 limiting the scope of containers that are delegated to non-admin users, exposed
21 to ``formpost`` uploads, or just as a self-imposed sanity check.
22
23 Any object PUT operations that exceed these quotas return a 413 response
24 (request entity too large) with a descriptive body.
25
26 Quotas are subject to several limitations: eventual consistency, the timeliness
27 of the cached container_info (60 second ttl by default), and it's unable to
28 reject chunked transfer uploads that exceed the quota (though once the quota
29 is exceeded, new chunked transfers will be refused).
30
31 Quotas are set by adding meta values to the container, and are validated when
32 set:
33
34 +------
35 |Metadata | Use |
36 +======
37 | X-Container-
38 | | container, in bytes. |
39 +------
40 | X-Container-
41 | | container. |
42 +------
43 """
Changed in openstack-manuals: | |
milestone: | none → grizzly |
tags: | added: swift |
Changed in openstack-manuals: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in openstack-manuals: | |
status: | Confirmed → In Progress |
assignee: | nobody → Tom Fifield (fifieldt) |
Changed in openstack-api-site: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in openstack-api-site: | |
assignee: | nobody → Miranda Zhang (miranda-zhang-q) |
Changed in openstack-api-site: | |
assignee: | Miranda Zhang (miranda-zhang-q) → nobody |
assignee: | nobody → Anne Gentle (annegentle) |
patch abandoned right now