[Bug 1476417] Re: FloatingIpManager in neutron.py missing is_supported method
Billy Olsen
billy.olsen at canonical.com
Fri Jul 24 23:28:49 UTC 2015
Thanks TimS for the analysis. It looks like this backport included a
portion of a blueprint which was not fully backported (namely not
showing the Floating IPs when they are not available). Rather than
backporting the full blueprint, dropping the checks for the is_supported
and simply assuming it is supported (which is what the previous code
did) should be an appropriate fix for the icehouse release.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1476417
Title:
FloatingIpManager in neutron.py missing is_supported method
Status in horizon package in Ubuntu:
Confirmed
Bug description:
The latest update to neutron (Version: 1:2014.1.5-0ubuntu1) caused the
following error every time an instance is launched:
"Unable to connect to Neutron."
The logs didn't show any more errors.
I traced down that string to the "servers_update_addresses" method in
openstack-dashboard/api/neutron.py. I had to add a printout for the exception
string to show where the exception happened:
The modified error message now shows:
Unable to connect to Neutron.'FloatingIpManager' object has no attribute
'is_supported'
It turned out that the latest neutron ubuntu package doesn't have the correct file update. A check is done on the fips.is_supported(), however the method itself is not implemented.
The neutron.py on openstack's icehouse repository has the method implemented
http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/api/neutron.py
But the source code of the latest ubuntu package doesn't have the method
http://archive.ubuntu.com/ubuntu/pool/main/h/horizon/horizon_2014.1.5.orig.tar.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1476417/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list