Error: Unable to retrieve floating IP addresses.

asked 2014-08-29 15:37:58 -0500

Daniel W gravatar image

In DevStack, after assigning a floating IP address, the Access & Security page continuously shows the error "Error: Unable to retrieve floating IP addresses."

The IP appears to be assigned correctly, but before I can access my instances using the new IP address, I have to flush iptables using "sudo iptables -F". Even though I can access my instances with the assigned floating IPs, I can't manage them through horizon because of this error. The horizon log shows this:

    [Fri Aug 29 20:18:40.863093 2014] [:error] [pid 17087:tid 140015743969024] Error while checking action permissions.
[Fri Aug 29 20:18:40.863119 2014] [:error] [pid 17087:tid 140015743969024] Traceback (most recent call last):
[Fri Aug 29 20:18:40.863126 2014] [:error] [pid 17087:tid 140015743969024]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 1186, in _filter_action
[Fri Aug 29 20:18:40.863719 2014] [:error] [pid 17087:tid 140015743969024]     return action._allowed(request, datum) and row_matched
[Fri Aug 29 20:18:40.863725 2014] [:error] [pid 17087:tid 140015743969024]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/actions.py", line 135, in _allowed
[Fri Aug 29 20:18:40.863730 2014] [:error] [pid 17087:tid 140015743969024]     return self.allowed(request, datum)
[Fri Aug 29 20:18:40.863736 2014] [:error] [pid 17087:tid 140015743969024]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/floating_ips/tables.py", line 50, in allowed
[Fri Aug 29 20:18:40.863742 2014] [:error] [pid 17087:tid 140015743969024]     usages = quotas.tenant_quota_usages(request)
[Fri Aug 29 20:18:40.863747 2014] [:error] [pid 17087:tid 140015743969024]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 90, in wrapped
[Fri Aug 29 20:18:40.863753 2014] [:error] [pid 17087:tid 140015743969024]     value = cache[key] = func(*args, **kwargs)
[Fri Aug 29 20:18:40.863758 2014] [:error] [pid 17087:tid 140015743969024]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 203, in tenant_quota_usages
[Fri Aug 29 20:18:40.863770 2014] [:error] [pid 17087:tid 140015743969024]     floating_ips = network.tenant_floating_ip_list(request)
[Fri Aug 29 20:18:40.863775 2014] [:error] [pid 17087:tid 140015743969024]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/network.py", line 48, in tenant_floating_ip_list
[Fri Aug 29 20:18:40.863781 2014] [:error] [pid 17087:tid 140015743969024]     return NetworkClient(request).floating_ips.list()
[Fri Aug 29 20:18:40.863804 2014] [:error] [pid 17087:tid 140015743969024]   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 358, in list
[Fri Aug 29 20:18:40.863809 2014] [:error] [pid 17087:tid 140015743969024]     for fip in self.client.floating_ips.list()]
[Fri Aug 29 20:18:40.863815 2014] [:error] [pid 17087:tid 140015743969024]   File "/opt/stack/python-novaclient/novaclient/v1_1/floating_ips.py", line 38, in list
[Fri Aug 29 20:18:40.863820 2014] [:error] [pid 17087:tid 140015743969024]     return self._list(url, "floating_ips")
[Fri Aug 29 20:18:40.863825 2014] [:error] [pid 17087:tid 140015743969024]   File "/opt/stack/python-novaclient/novaclient/base.py", line ...
(more)
edit retag flag offensive close merge delete