Configurations for OpenStack Dashboard plugins are not being loaded

Bug #1859491 reported by Victoria Martinez de la Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Emilien Macchi

Bug Description

The OpenStack Dashboard have plugins for several components (e.g. Manila). In order to get the visual components in the dashboard, we need to install those plugins and copy the configuration files in place. We use Kolla to build the container image for Horizon (OpenStack Dashboard) and in that process we install (if enabled) and copy the configuration files for the different plugins. We perform a check in Kolla saying that if ENABLED=yes, then copy the config files to the right place. We are currently passing ENABLED=True and hence the check fails, causing the failure to copy the configuration files for the enabled components in the right place.

Steps to Reproduce:
1. Deploy OSP16 with a component that is not integrated in Horizon core (e.g. Manila)
2. Open a browser with the dashboard
3. Notice that the tab for the component is missing

Actual results:

Only core services have the visual components in Horizon

Expected results:

Have the visual components for all the services enabled that have their corresponding UI

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

Fix proposed to branch: master
Review: https://review.opendev.org/702252

Changed in tripleo:
assignee: nobody → Emilien Macchi (emilienm)
status: New → In Progress
Changed in tripleo:
importance: Undecided → Medium
milestone: none → ussuri-2
tags: added: train-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/702252
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=2da9cc14bf05af369c2036c2824d3e701c807467
Submitter: Zuul
Branch: master

commit 2da9cc14bf05af369c2036c2824d3e701c807467
Author: Emilien Macchi <email address hidden>
Date: Mon Jan 13 11:07:06 2020 -0500

    horizon: put plugins toggles in quotes

    Without quotes, it seems like Ansible "from_yaml" filter will convert
    yes to True and no to False; which is problematic in the case of Kolla
    image for Horizon where the extend_start script checks for yes/no and
    not the actual booleans.

    Putting them between quotes seems to solve the issue.

    Change-Id: Ie08726c0916c55c3d4c315b63ee341196cc2e70e
    Closes-Bug: #1859491

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/702317

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/702317
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=f9afb87b421827fae6d0bea9bfba43398c8999db
Submitter: Zuul
Branch: stable/train

commit f9afb87b421827fae6d0bea9bfba43398c8999db
Author: Emilien Macchi <email address hidden>
Date: Mon Jan 13 11:07:06 2020 -0500

    horizon: put plugins toggles in quotes

    Without quotes, it seems like Ansible "from_yaml" filter will convert
    yes to True and no to False; which is problematic in the case of Kolla
    image for Horizon where the extend_start script checks for yes/no and
    not the actual booleans.

    Putting them between quotes seems to solve the issue.

    Change-Id: Ie08726c0916c55c3d4c315b63ee341196cc2e70e
    Closes-Bug: #1859491
    (cherry picked from commit 2da9cc14bf05af369c2036c2824d3e701c807467)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.1.0

This issue was fixed in the openstack/tripleo-heat-templates 12.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.4.0

This issue was fixed in the openstack/tripleo-heat-templates 11.4.0 release.

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.