Edit project validates quota against resources used in current project instead of edited project.
Bug #1713724 reported by
Jakub Josef
This bug affects 13 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
David Lyle |
Bug Description
Hi,
if we tried to add users in project using horizon and that project is different than edited project. Saving can fail on quetas exceed, because current amount of quotas was taken from selected project instead of form-related project.
Maybe you should use instance.project instead of request.project.
Steps to reproduce:
Select some project with some allocated RAM and VCPUS.
Edit a project using admin interface, project must be other then selected.
Set a smaller quotas than selected project already allocated.
Saving is forbidden due to lesser quotas than enforced in the form - this is because quotas was computed from bad project.
Changed in horizon: | |
status: | New → Confirmed |
milestone: | none → next |
summary: |
- Admin project edit form using resources amout from current project + Edit project validates quota against resource used in current project instead of edited project. |
summary: |
- Edit project validates quota against resource used in current project + Edit project validates quota against resources used in current project instead of edited project. |
Changed in horizon: | |
assignee: | nobody → David Lyle (david-lyle) |
Changed in horizon: | |
assignee: | David Lyle (david-lyle) → Akihiro Motoki (amotoki) |
tags: | added: pike-backport-potential |
Changed in horizon: | |
milestone: | next → queens-2 |
Changed in horizon: | |
assignee: | Akihiro Motoki (amotoki) → David Lyle (david-lyle) |
To post a comment you must log in.
Verified in Pike.