Activity log for bug #1720119

Date Who What changed Old value New value Message
2017-09-28 11:24:48 Željko Jagušt bug added bug
2017-09-28 13:26:18 Željko Jagušt description 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 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. 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 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.
2017-10-06 11:33:03 Launchpad Janitor openstack-dashboard (Ubuntu): status New Confirmed