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):
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.
The installed Horizon plugins are not available in the Horizon UI.
All installed and configured plugins shall be available for use in Horizon.
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.
This also effects the Manila Horizon UI package version listed below:
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.
The problem seems to be in kolla:
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.
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.
Which of the plugins are missing config files?
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:
And the following are not installed:
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.