Bug 1497284 - Containerized Horizon Service Is Not Loading Horizon UI Plugins
Summary: Containerized Horizon Service Is Not Loading Horizon UI Plugins
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 12.0 (Pike)
Assignee: Emilien Macchi
QA Contact: Ola Pavlenko
Depends On:
TreeView+ depends on / blocked
Reported: 2017-09-29 15:57 UTC by Dustin Schoenbrun
Modified: 2021-03-11 15:53 UTC (History)
14 users (show)

Fixed In Version: openstack-tripleo-heat-templates-7.0.3-7.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-12-13 22:11:53 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
OpenStack gerrit 514421 0 None None None 2017-10-25 11:26:35 UTC
OpenStack gerrit 519445 0 None None None 2017-11-13 18:59:46 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Dustin Schoenbrun 2017-09-29 15:57:28 UTC
Description of problem:
With the containerization of Horizon it appears as though the Horizon service will not load any Horizon plugins. This seems to survive restarts of the Apache service in the Horizon container as well and of the three plugins that are installed in the container none of them are showing up in the UI. I will note that the install I did I only explicitly set up Manila but did notice that the plugin I expected to be there and these others that were installed were not available in Horizon.

Version-Release number of selected component (if applicable):

How reproducible:
Seems to always be reproducible.

Steps to Reproduce:
1. Install OSP-12 and make sure to enable containers on the install.
2. You may have to use the workaround listed in BZ#1492135 to make Horizon accessible.
3. Log in to the Horizon UI and observe that the installed plugins are not visible in the UI.

Actual results:
The installed Horizon plugins are not available in the Horizon UI.

Expected results:
All installed and configured plugins shall be available for use in Horizon.

Additional info:
Right now, it seems like the issue is either Horizon not registering the installed plugins or the plugins not presenting themselves properly to Horizon. I don't know which scenario is happening, though.

Comment 1 Dustin Schoenbrun 2017-09-29 15:58:20 UTC
This also effects the Manila Horizon UI package version listed below:


Comment 2 Radomir Dopieralski 2017-10-06 14:46:44 UTC
It seems that the configuration files that are enabling those plugins are missing from the container. There are only symlinks in /etc/opestack-dashboard/enabled leading to non-existing files left. Somehow most of the files from /usr/share/openstack-dashboard/openstack_dashboard/local/enable are missing, though they are listed in the installed RPMs.

Comment 3 Radomir Dopieralski 2017-10-06 15:29:43 UTC
The problem seems to be in kolla:


Comment 4 Radomir Dopieralski 2017-10-16 15:10:49 UTC
The plugin config files are removed with https://github.com/openstack/kolla/blob/master/docker/horizon/Dockerfile.j2#L42-L43 but later on they are added back with https://github.com/openstack/kolla/blob/master/docker/horizon/extend_start.sh

However, it seems that the spec files for RDO RPMs are moving those files somewhere else, so that Kolla can't put them back.

We need to fix the spec files for the plugins.

Comment 5 Radomir Dopieralski 2017-10-25 11:26:16 UTC
The plugins need to be enabled in the heat template, I submitted a patch that does that here: https://review.openstack.org/#/c/514421/

However, some of the plugins are missing config files, as mentioned in comment 4 — those will need to be fixed separately before enabling them.

Comment 6 Tom Barron 2017-10-25 12:42:04 UTC
Which of the plugins are missing config files?

Comment 7 Radomir Dopieralski 2017-10-25 13:37:18 UTC
Further investigation reveals that those plugins are simply not installed in the docker image, hence the files are missing. We only have the following plugins installed:

              - ENABLE_CLOUDKITTY=yes
              - ENABLE_FWAAS=yes
              - ENABLE_IRONIC=yes
              - ENABLE_MAGNUM=yes
              - ENABLE_MANILA=yes
              - ENABLE_MURANO=yes
              - ENABLE_MISTRAL=yes
              - ENABLE_NEUTRON_LBAAS=yes
              - ENABLE_SAHARA=yes
              - ENABLE_TROVE=yes

And the following are not installed:

              - ENABLE_FREEZER=no
              - ENABLE_KARBOR=no
              - ENABLE_DESIGNATE=no
              - ENABLE_SEARCHLIGHT=no
              - ENABLE_SENLIN=no
              - ENABLE_SOLUM=no
              - ENABLE_TACKER=no
              - ENABLE_WATCHER=no
              - ENABLE_ZAQAR=no
              - ENABLE_ZUN=no

Comment 14 errata-xmlrpc 2017-12-13 22:11:53 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.


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