Quotas updates in Horizon are validated against current user project usage (rather than targetted project's usage)

Bug #1742064 reported by Anurag Ramu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Expired
Undecided
Unassigned

Bug Description

Admin project has 10 VMs spawned and project "test" has none. When logged in as 'admin', attempt to set "test" project quota to any value less than 10 under instances section, results in failure because quotas cannot be set to a value that is lower than current used resources.
This issue is producible in Newton, Ocata and Pike.

Gao Fei (gaofei-inspur)
Changed in horizon:
assignee: nobody → Gao Fei (gaofei-inspur)
status: New → Confirmed
Revision history for this message
Gao Fei (gaofei-inspur) wrote :
Revision history for this message
Anurag Ramu (anuragr1995) wrote :

I've tried with these changes already but it doesn't work. Are there any other changes required apart from these changes in quotas.py files under usage and tests directories?

Revision history for this message
Akihiro Motoki (amotoki) wrote :

I cannot reproduce the issue after the corresponding patch was backported to stable/pike.
https://review.openstack.org/#/c/534348/

I believe this is a duplicate of bug 1713724

Changed in horizon:
status: Confirmed → Incomplete
assignee: Gao Fei (gaofei-inspur) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Dashboard (Horizon) because there has been no activity for 60 days.]

Changed in horizon:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.