enable lbaasv2 dashboard in openstack-dashboard charm

Bug #1658105 reported by Fairbanks.
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard Charm
Fix Released
Medium
Unassigned
openstack-dashboard (Juju Charms Collection)
Invalid
High
Unassigned

Bug Description

Hello there,

When deploying openstack using the openstack-base bundle lbaas doesn't seem to work.
Networking, floating ips, security groups etc.. all work but lbaasv2 isn't loading.
After enabling the option it just doesn't appear in the Horizon Dashboard.

Attached there is a log part with some errors which i believe are causing the problems.

I have re-installed all the packages, removed the unit, added it again, etc... nothing seems to get it to run.

If there are any questions, i'm happy to answer.

Thx,
Mathijs.

Revision history for this message
Fairbanks. (fairbanks) wrote :
Revision history for this message
David Ames (thedac) wrote :

Looks like our lbaas_agent.ini template for newton needs to be updated (possibly others?):

https://github.com/openstack/charm-neutron-gateway/blob/master/templates/newton/lbaas_agent.ini

From what I can gather from https://github.com/openstack/neutron/blob/stable/newton/setup.cfg
interface_driver should be neutron.interface_drivers.openvswitch

Still need to figure out the device_driver as
neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver is correct based on the documentation:
http://docs.openstack.org/newton/config-reference/networking/lbaas.html
Tested with and without the ['']

Changed in neutron-gateway (Juju Charms Collection):
status: New → Triaged
importance: Undecided → Critical
importance: Critical → High
milestone: none → 17.01
Revision history for this message
James Page (james-page) wrote :

The horizon dashboard problem is due to the fact that horizon natively does not have lbaasv2 support - this is distributed as a horizon plugin, which we're working to package for Ocata, with a backport for Newton.

Revision history for this message
James Page (james-page) wrote :

Switching bug to openstack-dashboard - lbaasv2 is there under the hood, and consumable via the API, but not in the dashboard as of today.

affects: neutron-gateway (Juju Charms Collection) → openstack-dashboard (Juju Charms Collection)
James Page (james-page)
Changed in charm-openstack-dashboard:
importance: Undecided → High
status: New → Triaged
Changed in openstack-dashboard (Juju Charms Collection):
status: Triaged → Invalid
David Ames (thedac)
Changed in charm-openstack-dashboard:
milestone: none → 17.05
importance: High → Medium
summary: - lbaas not working
+ enable lbaasv2 dashboard in openstack-dashboard charm
James Page (james-page)
Changed in charm-openstack-dashboard:
milestone: 17.05 → 17.08
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-openstack-dashboard (master)

Reviewed: https://review.openstack.org/467694
Committed: https://git.openstack.org/cgit/openstack/charm-openstack-dashboard/commit/?id=65d500392488d1dc987a021760e01f89a6235b0a
Submitter: Jenkins
Branch: master

commit 65d500392488d1dc987a021760e01f89a6235b0a
Author: David Ames <email address hidden>
Date: Wed May 24 17:39:27 2017 +0000

    Enable LBaaS2 in Horizon

    Install the python-neutron-lbaas-dashboard package if Ocata or greater
    to enable LBaas2 in Horizon.

    Change-Id: I89260ed4edf2b200be462ab05946ff88f21e429c
    Closes-Bug: #1658105

Changed in charm-openstack-dashboard:
status: Triaged → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-openstack-dashboard (stable/17.02)

Fix proposed to branch: stable/17.02
Review: https://review.openstack.org/483266

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/17.02
Review: https://review.openstack.org/494032

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-openstack-dashboard (stable/17.02)

Change abandoned by Dmitrii Shcherbakov (<email address hidden>) on branch: stable/17.02
Review: https://review.openstack.org/483266
Reason: Moved to https://review.openstack.org/#/c/494032/

Revision history for this message
Fairbanks. (fairbanks) wrote :

Hello,

So is this going to be fixed in the default charm?
It isn't available yet, so it isn't in the stable 17.02 branch not even in the 17.05 if i'm correct.

if i install it my self on the unit.
juju run --application openstack-dashboard 'sudo apt install python-neutron-lbaas-dashboard'
and after
juju run-action openstack-dashboard/0 pause
juju run-action openstack-dashboard/0 resume
juju run-action openstack-dashboard/1 pause
juju run-action openstack-dashboard/1 resume
juju run-action openstack-dashboard/2 pause
juju run-action openstack-dashboard/2 resume

So that the cache etc.. is all working again.
It shows up.

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

Hello,

I am working to get it landed for stable/17.02 as the fix is simple.

There has been a change in release cadence so 17.05 never happened:

http://git.openstack.org/cgit/openstack/charm-guide/commit/?id=2e6c84896c0d1db9814f40e61fdf685bd7a7219a

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-openstack-dashboard (stable/17.02)

Reviewed: https://review.openstack.org/494032
Committed: https://git.openstack.org/cgit/openstack/charm-openstack-dashboard/commit/?id=d118a7fd67fcfcc5553764a0d1fb581b6e402966
Submitter: Jenkins
Branch: stable/17.02

commit d118a7fd67fcfcc5553764a0d1fb581b6e402966
Author: Dmitrii Shcherbakov <email address hidden>
Date: Wed Aug 16 01:50:10 2017 +0300

    Enable LBaaS2 in Horizon

    Install the python-neutron-lbaas-dashboard package if Ocata or greater
    to enable LBaas2 in Horizon.

    This fix is for stable/17.02 only as a mere cherry-pick is not possible
    due to the fact that CompareOpenStackReleases is not present in the
    stable charm-helpers branch at the time of writing.

    There is no harm in doing a fix specifically for this branch with the
    old style of comparison.

    Change-Id: I6ac9be8041791df2404369ba5e8cb5e4e18aaf4d
    Closes-Bug: #1658105

James Page (james-page)
Changed in charm-openstack-dashboard:
status: Fix Committed → Fix Released
Revision history for this message
Florian Haas (fghaas) wrote :

Referring to James' comment on from 2017-02-04: I suppose the Newton backport never happened, is that correct? So, a customer still running on Mitaka that wants to use Horizon to manage LBaaS (and continue to do so) would be forced to upgrade to at least Ocata, right after the Newton upgrade?

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.