[Bug 1476417] Re: FloatingIpManager in neutron.py missing is_supported method

TimS tim.sandquist+ubuntu at gmail.com
Tue Jul 21 19:44:19 UTC 2015


This affects us as well.  I did some investigation to see what was going on.
The new FloatingIpManager code was added in this commit:
https://github.com/openstack/horizon/commit/86a66283ccfe146a9743bb7db9433e1f2166b509.
It was added for bug https://bugs.launchpad.net/horizon/+bug/1349841

Apparently the supporting code that has the missing is_supported()
method appears to be from this commit:
https://github.com/openstack/horizon/commit/936fc59aa8c9b1a45aaefc9779741c84ed3fea90.
It is from bug https://bugs.launchpad.net/horizon/+bug/1292022.

I think
https://github.com/openstack/horizon/commit/936fc59aa8c9b1a45aaefc9779741c84ed3fea90
needs to be pulled into the icehouse branch.

-- 
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