<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi,</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>
<div>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'"</div>
<div><br>
</div>
<div>Further, I did the below steps to remove the horizon folder:</div>
<div><br>
</div>
<div>./unstack.sh</div>
<div>cd /opt/stack/</div>
<div>rm -rf horizon </div>
<div>cd ~/devstack/</div>
<div>./stack.sh</div>
<div><br>
</div>
<div>2015-04-13 13:37:32.099 | + git_timed clone git://git.openstack.org/openstack/horizon.git /opt/stack/horizon</div>
<div>2015-04-13 13:37:32.099 | + local count=0</div>
<div>2015-04-13 13:37:32.099 | + local timeout=0</div>
<div>2015-04-13 13:37:32.099 | + [[ -n 0 ]]</div>
<div>2015-04-13 13:37:32.099 | + timeout=0</div>
<div>2015-04-13 13:37:32.099 | + timeout -s SIGINT 0 git clone git://git.openstack.org/openstack/horizon.git /opt/stack/horizon</div>
<div>2015-04-13 13:37:32.109 | Cloning into '/opt/stack/horizon'...</div>
<div><br>
</div>
<div>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)</div>
<div><br>
</div>
<div>/opt/stack/horizon/openstack_dashboard/api/neutron.api</div>
<div><br>
</div>
<div>class FloatingIpManager(network_base.FloatingIpManager):</div>
<div><br>
</div>
<div>    […]</div>
<div>    def __init__(self, request):</div>
<div>        self.request = request</div>
<div>        self.client = neutronclient(request)</div>
<div><br>
</div>
<div>   def is_simple_associate_supported(self):</div>
<div>        # NOTE: There are two reason that simple association support</div>
<div>        # needs more considerations. (1) Neutron does not support the</div>
<div>        # default floating IP pool at the moment. It can be avoided</div>
<div>        # in case where only one floating IP pool exists.</div>
<div>        # (2) Neutron floating IP is associated with each VIF and</div>
<div>        # we need to check whether such VIF is only one for an instance</div>
<div>        # to enable simple association support.</div>
<div>        return False</div>
<div><br>
</div>
<div>   << no "is_supported" method >></div>
<div>        </div>
<div>def get_ipver_str(ip_version):</div>
<div>    """Convert an ip version number to a human-friendly string."""</div>
<div>    return IP_VERSION_DICT.get(ip_version, '')</div>
</div>
<div><br>
</div>
<div>Please let me know what I am missing here.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Ganesh</div>
<div><br>
</div>
<div><br>
</div>
</body>
</html>