Multiple record for same user and resource in quota_usage table
Bug #1484343 reported by
Zhenyu Zheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Medium
|
Gorka Eguileor | ||
OpenStack Compute (nova) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Currently, the quota usage table doesn't contain UniqueConstraint policy. Although it has locks when writing data, but under extreme circumstance, for example: launching over 100 instances at the same time for a new tenant(user). In this condition,the quota usage table for this user is empty, and there might be a chance that multiple record are recorded for same resource and same user.
Adding UniqueConstraint policy for this table can solve this problem.
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
tags: | added: quotas |
summary: |
- Race conditions for quota_usage tabel + Multiple record for same user and resource in quota_usage tabel |
description: | updated |
Changed in nova: | |
status: | New → In Progress |
Changed in cinder: | |
assignee: | nobody → wanghao (wanghao749) |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → wangxiyuan (wangxiyuan) |
Changed in nova: | |
assignee: | wangxiyuan (wangxiyuan) → Zhenyu Zheng (zhengzhenyu) |
Changed in cinder: | |
importance: | Undecided → Medium |
Changed in nova: | |
status: | In Progress → Confirmed |
summary: |
- Multiple record for same user and resource in quota_usage tabel + Multiple record for same user and resource in quota_usage table |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → nobody |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/217465
Review: https:/