Floating IP quota not coming from Quantum
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Julie Pichon |
Bug Description
This is probably like reopening bug 1040956 for Horizon... I'm not sure everything was addressed within it though, feel free to close if my reading is wrong.
1. If Quantum is enabled, at the moment we're still getting the floating IP quota from Nova, thus displaying wrong information in the system panel.
2. I believe this also means we're updating the wrong service (or at least it has no effect) when an admin updates the Floating IP quota using the Project panel, which is misleading. (This is similar to bug 1095876 for Cinder.)
3. Additionally, because we use that same quota information to sometimes disable the Allocate IP button (will be more of a problem after bug 1109098 is fixed), the user could be prevented from allocating new floating IPs when they are actually allowed to have more. The bar chart on that screen also displays incorrect information.
To reproduce:
1. Update /etc/quantum/
2. Go to the system info quota tab: Floating IP still shows as 10
3. Go to a project's Access and security tab and try to assign 4 IPs: the 4th one will fail with "Error: Unable to allocate Floating IP." Also the Allocate IP button isn't disabled and the bar chart wrongly indicates there are 7 IPs available.
Reproduced on a recent devstack.
description: | updated |
Changed in horizon: | |
status: | New → Confirmed |
tags: | added: quantum |
Changed in horizon: | |
importance: | Undecided → Medium |
Changed in horizon: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
tags: | added: grizzly-backport-potential |
Changed in horizon: | |
milestone: | havana-3 → 2013.2 |
This issue has not been solved so far.
Floating IP is assigned by Quantum, but Floating IP Quota information is retrieved from nova.
I agree this situation is misleading.
To address it, the following changes is required:
(1) Quantum provides quota information about floating IP. Quantum now provides quota information only when quota extension is enabled and we need to change Quantum to always provide quota information)
(2) Horizon retrieves quota information about floating IP from Quantum.
Since (1) is not implemented yet in Quantum, this bug needs to be postponed to Havana.