[openstack-dev] [horizon] [devstack] Unable to connect to Neutron error
Ganesh Narayanan (ganeshna)
ganeshna at cisco.com
Mon Apr 13 14:26:46 UTC 2015
I am running devstack (on Ubuntu) on my local machine. I keep getting this error "Error: Unable to connect to Neutron” whenever I try to launch an instance using the dashboard.
I debugged further and printed the exception string as part of this message and I see the error "Error: Unable to connect to Neutron. 'FloatingIpManager' object has no attribute ‘is_supported'"
Further, I did the below steps to remove the horizon folder:
rm -rf horizon
2015-04-13 13:37:32.099 | + git_timed clone git://git.openstack.org/openstack/horizon.git /opt/stack/horizon
2015-04-13 13:37:32.099 | + local count=0
2015-04-13 13:37:32.099 | + local timeout=0
2015-04-13 13:37:32.099 | + [[ -n 0 ]]
2015-04-13 13:37:32.099 | + timeout=0
2015-04-13 13:37:32.099 | + timeout -s SIGINT 0 git clone git://git.openstack.org/openstack/horizon.git /opt/stack/horizon
2015-04-13 13:37:32.109 | Cloning into '/opt/stack/horizon'...
I noticed that an older version of the below file is being pulled where FloatingIpManager doesn’t have is_supported method (when I do git clone git://git.openstack.org/openstack/horizon.git /opt/stack/horizon manually, the latest version is being pulled)
def __init__(self, request):
self.request = request
self.client = neutronclient(request)
# NOTE: There are two reason that simple association support
# needs more considerations. (1) Neutron does not support the
# default floating IP pool at the moment. It can be avoided
# in case where only one floating IP pool exists.
# (2) Neutron floating IP is associated with each VIF and
# we need to check whether such VIF is only one for an instance
# to enable simple association support.
<< no "is_supported" method >>
"""Convert an ip version number to a human-friendly string."""
return IP_VERSION_DICT.get(ip_version, '')
Please let me know what I am missing here.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev