Hi,
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:
./unstack.sh
cd /opt/stack/
rm -rf horizon
cd ~/devstack/
./stack.sh
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)
/opt/stack/horizon/openstack_dashboard/api/neutron.api
class FloatingIpManager(network_base.FloatingIpManager):
[…]
def __init__(self, request):
self.request = request
self.client = neutronclient(request)
def is_simple_associate_supported(self):
# 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.
return False
<< no "is_supported" method >>
def get_ipver_str(ip_version):
"""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.
Thanks,
Ganesh
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev