Comment 6 for bug 1621403

Revision history for this message
Saverio Proto (zioproto) wrote :

Hello,

On top of my horizon newton installation I am trying the following:

pip install --upgrade pip
pip install oslo_log
pip install neutron-lbaas-dashboard
cp /usr/local/lib/python2.7/dist-packages/neutron_lbaas_dashboard/enabled/* /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/
/usr/share/openstack-dashboard/manage.py collectstatic --noinput
/usr/share/openstack-dashboard/manage.py compress --force
service apache2 restart

Looks like I have no problem importing the panel:

Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from neutron_lbaas_dashboard.dashboards.project.ngloadbalancersv2 import panel
>>>

I am getting this error when I try to create a new load balancer:

in /var/log/horizon/horizon.log

2017-03-13 12:38:18,591 29 WARNING horizon.exceptions Recoverable error: 'source_type'

The system has already some LBaaSv2 that I can list with the CLI doing
neutron lbaas-loadbalancer-list

(neutron) lbaas-loadbalancer-list
+--------------------------------------+-------+-------------+---------------------+----------+
| id | name | vip_address | provisioning_status | provider |
+--------------------------------------+-------+-------------+---------------------+----------+
| 44c9b3a3-cfc3-4b31-92e0-4eef2fbd353e | vipV1 | 10.0.77.113 | ONLINE | haproxy |
+--------------------------------------+-------+-------------+---------------------+----------+
(neutron)

BUT the Horizon panel is always empty and does not show this load balancer.