[Openstack] upgrade icehouse to juno: horizon network topology view broken

Don Waterloo don.waterloo at gmail.com
Tue Oct 21 06:54:20 UTC 2014


in network_topology/views.py:
    def _quota_exceeded(self, quota):
        usages = quotas.tenant_quota_usages(self.request)
        available = usages[quota]['available'] <<<<<<<<<<
        return available <= 0

line 107, in _quota_exceeded#012    available =
usages[quota]['available']#012KeyError: 'available'

is being thrown

$ neutron quota-show
+---------------------+-------+
| Field               | Value |
+---------------------+-------+
| floatingip          | 50    |
| network             | -1    |
| port                | -1    |
| router              | -1    |
| security_group      | 10    |
| security_group_rule | 100   |
| subnet              | -1    |
+---------------------+-------+

suggests that quota is not broken underneath it, although i'm not sure
where 'available' comes from.

(there are other spots in this & other file which also fail).

a) is anyone else seeing this?
b) where does 'available' come from, is there some field in my database
that needs to be upgraded?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141021/2c47fa19/attachment.html>


More information about the Openstack mailing list