when cinder isn't using default quota class, quotas cannot be updated through Horizon

Bug #1462493 reported by Doug Fish
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
Unassigned

Bug Description

To re-create:
edit cinder.conf so that
use_default_quota_class=false
restart cinder.

Attempt to edit cinder related values through Horizon, such as
Volumes, Volume Snapshots, or Total Size of Volumes and Snapshots (GB)

although it appears the edits succeed, they actually don't.

Revision history for this message
Doug Fish (drfish) wrote :

The related UI call is here.

https://github.com/openstack/horizon/blob/23ddc1a3fb9aef660f49e5c9cd86ddda191558fc/openstack_dashboard/api/cinder.py#L452

I suppose the solution is to handle a different value than DEFAULT_QUOTA_NAME, but I haven't studied the problem.

Changed in horizon:
importance: Undecided → Low
Revision history for this message
Liyingjun (liyingjun) wrote :

The default quota update API works only when use_default_quota_class=True, so when use_default_quota_class=False, default quota update is not supported both for cinder and nova.

Danny.Ho (dannyh)
Changed in horizon:
assignee: nobody → Danny.Ho (dannyh)
Danny.Ho (dannyh)
Changed in horizon:
assignee: Danny.Ho (dannyh) → nobody
Changed in horizon:
assignee: nobody → surbhi sarda (surbhisarda)
Changed in horizon:
assignee: surbhi sarda (surbhisarda) → nobody
Ivan Kolodyazhny (e0ne)
Changed in horizon:
status: New → Confirmed
Revision history for this message
Vishal Manchanda (vishalmanchanda) wrote :
Changed in horizon:
status: Confirmed → Fix Released
Revision history for this message
Vishal Manchanda (vishalmanchanda) wrote :

Oops, I have pasted comments for some other bug in this bug summary, please ignore my above comment.

Changed in horizon:
status: Fix Released → Confirmed
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.