** Description changed:

  I'm using Ubuntu 16.04.3 LTS. I have installed openstack-dashboard
  package version 11.0.3. My OpenStack (Ocata) is running LBaaS v2 and I
  wanted to enable support inside Horizon UI.
  
  I followed this guide: https://docs.openstack.org/ocata/networking-guide
  /config-lbaas.html
  
  Upon installation and configuration of LBaaS v2 service I have tested
  the operations over CLI and confirmed everything is working as expected.
  
  Then I installed python-neutron-lbaas-dashboard version 2.0.0 package
  from same repository as openstack-dashboard. When accessing "Load
  Balancers" Tab in Horizon UI a following error occured: Unable to
  retrieve load balancers.
  
  Further, the tab where load balancers should be listed shows the
  following message: An error occurred. Please try again later.
  
  Upon inspecting horizon error log, the following is discovered:
  
  error invoking apiclient
  [wsgi:error] [pid 4051] Traceback (most recent call last):
  [wsgi:error] [pid 4051]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/api/rest/utils.py", line 
126, in _wrapped
  [wsgi:error] [pid 4051]     data = function(self, request, *args, **kw)
  [wsgi:error] [pid 4051]   File 
"/usr/local/lib/python2.7/dist-packages/neutron_lbaas_dashboard/api/rest/lbaasv2.py",
 line 417, in get
  [wsgi:error] [pid 4051]     if request.GET.get('full') and 
neutron.floating_ip_supported(request):
  [wsgi:error] [pid 4051] AttributeError: 'module' object has no attribute 
'floating_ip_supported'
  
  I checked /usr/local/lib/python2.7/dist-
  packages/neutron_lbaas_dashboard/api/rest/lbaasv2.py and discoverd
  "neutron" is imported in the following line:
  
  from openstack_dashboard.api import neutron
  
  So following this I discovered the file in question is located at
  /usr/share/openstack-dashboard/openstack_dashboard/api/neutron.py
  
  Inspecting the file I discovered that attribute in question
  "floating_ip_supported" is not defined at all, which is the cause of the
  error in horizon error log.
  
  I checked the source of openstack_dashboard on GitHub and discovered
  that neutron.py file contains the attribute in question. I also noticed
  a considerable difference in the amount of code between the neutron.py
  file on GitHub and the file that comes with openstack-dashboard package
- I installed form Ubuntu Cloud repository. The one on Gitlab has 318
+ I installed form Ubuntu Cloud repository. The one on GitHub has 318
  lines of code more.
  
  Can you please update openstack-dashboard package in Ubuntu Cloud
  repository so that it works with python-neutron-lbaas-dashboard supplied
  in the same repo.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1720119

Title:
  error when python-neutron-lbaas-dashboard installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/1720119/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to