Bug 1573808 - The inability to enable LbaaS in horizon
Summary: The inability to enable LbaaS in horizon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: z3
: 12.0 (Pike)
Assignee: Carlos Goncalves
QA Contact: Alexander Stafeyev
URL:
Whiteboard:
Depends On:
Blocks: 1574412 1607512
TreeView+ depends on / blocked
 
Reported: 2018-05-02 09:59 UTC by ojanas
Modified: 2022-07-09 11:35 UTC (History)
12 users (show)

Fixed In Version: openstack-tripleo-heat-templates-7.0.9-16.el7ost
Doc Type: Bug Fix
Doc Text:
To enable the neutron-lbaas dashboard: 1. Enable the dashboard in the Horizon configuration file in all controller nodes: File: /var/lib/config-data/puppet-generated/horizon/etc/openstack-dashboard/local_settings OPENSTACK_NEUTRON_NETWORK = { 'enable_distributed_router': False, 'enable_firewall': False, 'enable_ha_router': False, 'enable_lb': True, <---------- 2. Restart the horizon container: # docker restart horizon A new "Load Balancers" tab will appear under the "Network" menu. The URL is http://<controller-vip>/dashboard/project/ngloadbalancersv2
Clone Of:
: 1574412 1607512 (view as bug list)
Environment:
Last Closed: 2018-08-20 12:59:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-9001 0 None None None 2022-07-09 11:35:48 UTC
Red Hat Product Errata RHSA-2018:2331 0 None None None 2018-08-20 13:01:55 UTC

Description ojanas 2018-05-02 09:59:07 UTC
Description of problem:

One part of enabling the LbaaS v2 administration in horizon is installing a package openstack-neutron-lbaas-ui

As I have confirmed, in a OSP 12 lab, the package is missing in the horizon container. The problem about this is the following:

Assuming it is possible to get the package within the container, you would need to restart the httpd to take effect of the package. Since the httpd is PID 1 of the container, if you restart it, the container is killed and created again. Regarding the container is created / started again from the original image the package is not in the container anymore.

So, I think the package should probably be included in the horizon docker image.

Actual results:

The package openstack-neutron-lbaas-ui is not in the horizon container thus it is not possible to enable LBaaS in horizon 

Expected results:

The package is available in the container somehow.

Comment 1 Carlos Goncalves 2018-05-02 22:39:04 UTC
The openstack-neutron-lbaas-ui package is installed in the horizon container:

[root@controller-0 heat-admin]# docker exec -ti horizon rpm -q openstack-neutron-lbaas-ui
openstack-neutron-lbaas-ui-3.0.1-3.el7ost.noarch

The dashboard is enabled in kolla by tripleo-heat-templates upstream [1][2]. The reason why the dashboard is not enabled in OSP 12 is due to a downstream-only patch that prevented the dashboard from being enabled to resolve rhbz #1514412 [3]. While the reason for disabling the fwaas dashboard was justified, I do not understand at this moment why it was also necessary to disable the lbaas dashboard. I will reach out to the author of that patch to clarify.


[1] https://github.com/openstack/tripleo-heat-templates/blob/stable/pike/docker/services/horizon.yaml#L155
[2] https://review.openstack.org/#/c/519445/
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1514412

Comment 2 Carlos Goncalves 2018-05-02 22:41:49 UTC
Silly of me... Better and easier to NEEDINFO Beth Elwell.

Comment 21 errata-xmlrpc 2018-08-20 12:59:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2331


Note You need to log in before you can comment on or make changes to this bug.