Horizon does not honor quota for volumes/cinder

Asked by Jacob Cherkas on 2013-03-20

Setting quota using nova for a tenant via cli for gigabytes but Horizon does not update the quota in overview panel.

nova quota-show 26af345b8c5b4cf881a68eb3151febd9

+-----------------------------+-------+
| Property | Value |
+-----------------------------+-------+
| cores | 20 |
| floating_ips | 10 |
| gigabytes | 50 |
| injected_file_content_bytes | 10240 |
| injected_files | 5 |
| instances | 20 |
| metadata_items | 128 |
| ram | 51200 |
| volumes | 10 |
+-----------------------------+-------+

In Horizon :

Used 0 GB of 1,000 GB Available volume storage

If we update the quota for the tenant via horizon (admin panel) then the quota show correct in horizon but is not reflected in nova.

What am I missing?

Running from ubuntu packages:

2012.2.1+stable-20121212-a99a802e-0ubuntu1.1~cloud0 OpenStack Compute - API frontend

Thank you....

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Solved by:
Jacob Cherkas
Solved:
2013-03-20
Last query:
2013-03-20
Last reply:
2013-03-20
Julie Pichon (jpichon) said : #1

Do you have Cinder installed? There was a known bug, fixed in Grizzly where volume quotas would not be updated where they should (nova-volume vs cinder).

https://bugs.launchpad.net/horizon/+bug/1095876

Jacob Cherkas (jcherkas) said : #2

Thanks Julie for the reference to the bug. I couldn't find it for the life of me.

We are using cinder.

That actually fixed it.

Set the default quota in /etc/cinder/cinder.conf.

I then iterated over every tenant and set their quota accordingly.

Tnanks again for the quick reply.

Julie Pichon (jpichon) said : #3

You're welcome, glad this helped!