Quotas per share_type has bad db unique contraint
Bug #1722707 reported by
Sam Morrison
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Valeriy Ponomaryov |
Bug Description
The unique constraint on the project_
UNIQUE KEY `uc_quotas_
It needs to take into account project_id so more than one project can have per share-type quotas.
This will fix it:
ALTER TABLE project_
DROP INDEX `uc_quotas_
ADD UNIQUE KEY `uc_quotas_
description: | updated |
Changed in manila: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in manila: | |
milestone: | none → queens-1 |
tags: | added: pike-backport-potential |
To post a comment you must log in.
Hey Valeriy, Tom was telling me that you'd worked on the quotas stuff in the past; what do you think about this one? Thanks!