Comment 2 for bug 1201844

Revision history for this message
Steve Mayer (smayer69) wrote : Re: [Bug 1201844] Re: Auto-extract feature of bulk.py can bypass quota settings

Thanks for the information. I'll test this out. Is there any documentation on the placement within the pipeline that I missed?

Thanks!

Steve Mayer
<email address hidden>

On Jul 16, 2013, at 8:45, David Goetz <email address hidden> wrote:

> This is only true if the bulk middleware is after the quota middleware
> in the proxy pipeline. The bulk middleware should always be to the left
> of ratelimiting, auth, quota middleware, etc so that every subrequest is
> handled properly and restrictions are maintained.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1201844
>
> Title:
> Auto-extract feature of bulk.py can bypass quota settings
>
> Status in OpenStack Object Storage (Swift):
> New
>
> Bug description:
> When using the archive auto-extract feature of the bulk.py module, it
> is possible to blow out the account and/or container quotas that might
> be configured.
>
> Once the initial size of the archive to be uploaded passes the quota
> checks, nothing is done to ensure that the expanded size of the
> archive contents also meets quota restrictions. This allows for the
> opportunity of blowing the quota by quite a bit depending on the
> contents of the archive.
>
> Using Swift 1.8.0 release.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/swift/+bug/1201844/+subscriptions