In Project Overview the Limit Summary for floating ips shows ips even if the mysqldb has no active floating ips
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After deleting all instances and removing the floating ip bulk Horizon still shows x out of y ( in my case 10/30) used floating ips.
####### Terminal #######
root@sim-master : nova floating-ip-list
root@sim-master : nova floating-
root@sim-master : nova floating-
root@sim-master : nova list
root@sim-master :
###### Dashboard ######
see attached file
when i setup a new pool and add a bulk of ip addresses it adds new associated ips to the "existing" pool when i start an instance
the mysql table shows all ips i deleted - until now - as deleted. Some are still connected to a project id. Looks like these are the 10 "used" ips.
floating ip mysql table:
+------
| created_at | updated_at | deleted_at | id | address | fixed_ip_id | project_id | host | auto_assigned | pool | interface | deleted |
+------
2013-11-06 14:47:48 | 2013-11-19 10:02:15 | 2013-11-19 15:31:04 | 5 | 192.168.0.229 | NULL | b58c09083b17453
| 2013-11-06 14:47:48 | 2013-11-19 11:23:22 | 2013-11-19 15:31:04 | 6 | 192.168.0.230 | NULL | b58c09083b17453
| 2013-11-06 14:47:48 | 2013-11-19 11:23:27 | 2013-11-19 15:31:04 | 7 | 192.168.0.231 | NULL | b58c09083b17453
when i curl the given url from the debug log file i get:
root@sim-master : curl -i http://
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 20
X-Compute-
Date: Thu, 28 Nov 2013 14:48:04 GMT
{"floating_ips": []}
root@sim-master :
it's still the same as shown in the debug log.
description: | updated |
Changed in horizon: | |
status: | Incomplete → Invalid |
Hi, can you include the output of:
$ nova absolute-limits
That's the same API call that Horizon uses to get the value it displays in the dashboard. It's likely that the number Nova is reporting is wrong.
The Nova `quota_usages` and `reservations` tables might give you more insight into the problem.