race between quota setting and quota being enforced
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Undecided
|
Unassigned | ||
tempest |
Fix Released
|
High
|
Castulo J. Martinez |
Bug Description
There is a race between the time that a quota is set and when it's enforced in swift. This seems to be exposed in the test_account_
def setUp(self):
# Set the reselleradmin auth in headers for next custom_
# request
)
# Set a quota of 20 bytes on the user's account before each test
headers = {"X-Account-
def test_upload_
object_name = data_utils.
data = data_utils.
Some amount of time this instead passes, as seen in this set of request logs:
2014-04-21 10:41:53,223 Request (AccountQuotasN
2014-04-21 10:41:53,248 Request (AccountQuotasN
2014-04-21 10:41:53,263 Request (AccountQuotasN
The behavior of account quota updates being synchronous or async isn't specified here - http://
Link to failed run demonstrating this behavior: http://
Changed in tempest: | |
importance: | Undecided → High |
Changed in swift: | |
status: | New → Invalid |
Changed in tempest: | |
status: | New → Confirmed |
Changed in tempest: | |
assignee: | nobody → Castulo J. Martinez (castulo-martinez) |
Related fix proposed to branch: master /review. openstack. org/89340
Review: https:/