byte-quotas cannot pass PUT object which has been existence
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
In Progress
|
Undecided
|
renminmin |
Bug Description
With the account byte-quotas, the request PUT object which have been created return 413 ERROR Upload exceeds quota.
Actually, the quotas is enough for the object which will be over-write the old version object.
$ swift stat
Containers in policy "policy-0": 5
Objects in policy "policy-0": 8
Bytes in policy "policy-0": 8602227
Meta Quota-Bytes: 8602229
X-Account-
The object swift.bak have been created and content length is 35603
$ swift stat test1 swift.bak
Account: AUTH_d25297aa17
Container: test1
Object: swift.bak
Content Type: application/x-trash
Content Length: 35603
Last Modified: Fri, 25 Dec 2015 05:31:41 GMT
ETag: c7dbdc613e3c4a3
Meta Mtime: 1451021445.038680
Accept-Ranges: bytes
X-Timestamp: 1451021500.19120
X-Trans-Id: tx04004ab8eb8c4
upload the object swift.bak with the same size.
$ swift upload test1 swift.bak
Object PUT failed: http://
Changed in swift: | |
status: | New → Confirmed |
Changed in swift: | |
assignee: | nobody → renminmin (rmm0811) |
Changed in swift: | |
status: | Confirmed → In Progress |
Change abandoned by renminmin (<email address hidden>) on branch: master /review. opendev. org/263227
Review: https:/