Horizon Load Balancer V2 menu not showing

Bug #1593074 reported by Jirayut Nimsaeng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Major Hayden

Bug Description

This is my rough user_variables.yml configuration

horizon_enable_neutron_lbaas: True
neutron_plugin_base:
  - router
  - firewall
  - neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
  - vpnaas
  - metering
  - qos

In all horizon container

# ls -l /openstack/venvs/horizon-13.1.2/lib/python2.7/site-packages/openstack_dashboard/local/enabled
total 24
lrwxrwxrwx 1 root www-data 133 Jun 16 12:49 _1481_project_ng_loadbalancersv2_panel.py -> /openstack/venvs/horizon-13.1.2/lib/python2.7/dist-packages/neutron_lbaas_dashboard/enabled/_1481_project_ng_loadbalancersv2_panel.py
-rw-r--r-- 1 horizon www-data 701 Jun 16 12:49 _1481_project_ng_loadbalancersv2_panel.pyc
-rw-r--r-- 1 root root 185 Jun 14 17:14 _50_settings.py.example
-rwxr-xr-x 1 horizon www-data 94 Jun 14 18:05 _80_admin_default_panel.py
-rw-r--r-- 1 horizon www-data 311 Jun 15 11:19 _80_admin_default_panel.pyc
-rw-r--r-- 1 root root 0 Jun 14 17:14 __init__.py
-rw-r--r-- 1 horizon www-data 179 Jun 15 11:19 __init__.pyc

But it weird that I can access directly via url /project/ngloadbalancersv2/ and every function working as expected.

I'm not sure this is a bug in Horizon, LBaaSv2 Dashboard or OSA. Please advice

description: updated
Revision history for this message
Major Hayden (rackerhacker) wrote :

Were you seeing this in Mitaka or Newton?

Revision history for this message
Jirayut Nimsaeng (winggundamth) wrote :

I'm using 13.1.2 so it would be Mitaka

Changed in openstack-ansible:
assignee: nobody → Major Hayden (rackerhacker)
Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Major Hayden will have a look at this later today.
Waiting for news...

Revision history for this message
Major Hayden (rackerhacker) wrote :

I'm upgrading my 13.1.1 environment to 13.1.3 to test today.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/332617

Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
Jirayut Nimsaeng (winggundamth) wrote :

I'm testing 13.1.3 on my environment today. But Load Balancer V2 menu still not showing.

Revision history for this message
Major Hayden (rackerhacker) wrote :

Do you have my patch in place from https://review.openstack.org/332617 when you're testing? If you do, and the panels are *still* not working, could you please try setting this variable:

    horizon_enable_neutron_lbaas: True

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_horizon (master)

Reviewed: https://review.openstack.org/332617
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/commit/?id=6a84a06a790fab72969a2f58c6f4b6f5a05360b1
Submitter: Jenkins
Branch: master

commit 6a84a06a790fab72969a2f58c6f4b6f5a05360b1
Author: Major Hayden <email address hidden>
Date: Tue Jun 21 23:03:35 2016 -0500

    Add enable_lb option back to horizon

    The change from I7b384c2f78aa0aa622d23b8b4ee317dd99f396e0 in the
    neutron-lbaas-dashboard brought back the ``enable_lb`` option. This
    patch adds the option back into the Horizon configuration. The option
    is only needed when the next-gen LBaaSv2 panels are activated.

    Closes-bug: 1593074

    Change-Id: I166512fc77e48c123116dc6dd95262b2e1d5f6cf

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
Jirayut Nimsaeng (winggundamth) wrote :

I'm confirm that after apply the patch from https://review.openstack.org/332617. The load balancer appears. One thing is this setting "horizon_enable_neutron_lbaas: True" needs to be explicit.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/333559

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/333559
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=23708a6570098d995bd00e02be341ad7bf757395
Submitter: Jenkins
Branch: master

commit 23708a6570098d995bd00e02be341ad7bf757395
Author: Major Hayden <email address hidden>
Date: Thu Jun 23 15:01:48 2016 -0500

    Docs: Enable LBaaS v2 Horizon panel

    This patch explains how to enable the new LBaaS v2 Horizon panels.

    Closes-bug: 1593074

    Change-Id: I4b40978629f528dd3e90ff1505b72f2347bfde36

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 14.0.0.0b2

This issue was fixed in the openstack/openstack-ansible 14.0.0.0b2 development milestone.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible-os_horizon 14.0.0.0b2

This issue was fixed in the openstack/openstack-ansible-os_horizon 14.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.