Python-TroveClient causes Horizon to throw error 500

Bug #1767520 reported by Nick Wilburn on 2018-04-27
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
High
Alex Schultz

Bug Description

Description
===========
In a vanilla installation of TripleO Queens using Docker horizon will return with error 500 after a "successful" deployment.

Trove is being installed in Horizon which will cause breakage. Other services that are being installed in Horizon but not supported in TripleO are: magnum and cloudkitty

Steps to reproduce
==================
1. Deploy undercloud according to the documentation at https://docs.openstack.org/tripleo-docs/latest/install/index.html
2. Create environment files: http://paste.openstack.org/show/720052/
3. Run the following command to deploy overcloud:

/bin/openstack overcloud deploy --templates /home/stack/tripleo-heat-templates -e /home/stack/tripleo-heat-templates/environments/network-isolation.yaml -e /home/stack/tripleo-heat-templates/environments/net-bond-with-vlans.yaml -e /home/stack/bond-with-vlans.yaml -e tripleo-heat-templates/environments/docker.yaml -e tripleo-heat-templates/environments/docker-ha.yaml --ntp-server 172.18.0.2 --control-scale 3 --compute-scale 1 --control-flavor control --compute-flavor compute --swift-storage-flavor swift-storage
4. ssh to the controller which has the external VIP
5. View the logs at /var/log/containers/horizon/horizon.log

Expected result
===============
The dashboard presents a login screen

Actual result
=============
The dashboard returned an error 500 when browsing to the external VIP

Environment
===========
1. Exact version of OpenStack you are running. See the following
  Queens

2. Which storage type did you use?
   Ceph

3. Which networking type did you use?
   Neutron with Openvswitch

Logs & Configs
==============
/var/log/containers/horizon/horizon.log
http://paste.openstack.org/show/720050/

Nick Wilburn (nowilburn) on 2018-04-27
description: updated
Changed in tripleo:
milestone: none → rocky-2
importance: Undecided → High
status: New → Triaged
tags: added: ui
Nick Wilburn (nowilburn) on 2018-04-30
description: updated

Fix proposed to branch: master
Review: https://review.openstack.org/569533

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress

Reviewed: https://review.openstack.org/569533
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=5f9e974564cad477b8de03de7e5eb80c1273f4c4
Submitter: Zuul
Branch: master

commit 5f9e974564cad477b8de03de7e5eb80c1273f4c4
Author: Alex Schultz <email address hidden>
Date: Fri May 18 16:50:26 2018 -0600

    Remove horizon ui plugins we don't support

    The trove horizon plugin actually causes problems for horizon by default
    but there's also a list of dashboards for services we don't officially
    support being deployed via TripleO. This change removes the cloudkitty,
    murano and trove ui packages from the horizon container.

    Change-Id: Ibc052208a8fa3e1866a7cc55dbd4bed0e04a7900
    Closes-Bug: #1767520

Changed in tripleo:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/569844
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=d32df55b871af4b955b6389fba8746c8c4ce5100
Submitter: Zuul
Branch: stable/queens

commit d32df55b871af4b955b6389fba8746c8c4ce5100
Author: Alex Schultz <email address hidden>
Date: Fri May 18 16:50:26 2018 -0600

    Remove horizon ui plugins we don't support

    The trove horizon plugin actually causes problems for horizon by default
    but there's also a list of dashboards for services we don't officially
    support being deployed via TripleO. This change removes the cloudkitty,
    murano and trove ui packages from the horizon container.

    Change-Id: Ibc052208a8fa3e1866a7cc55dbd4bed0e04a7900
    Closes-Bug: #1767520
    (cherry picked from commit 5f9e974564cad477b8de03de7e5eb80c1273f4c4)

tags: added: in-stable-queens

This issue was fixed in the openstack/tripleo-common 8.6.2 release.

This issue was fixed in the openstack/tripleo-common 9.1.0 release.

Is this still an issue? should I close it?

Nevermind, is was closed already.

Reviewed: https://review.openstack.org/611670
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=2088f612235d687c1d66fc74e16b5ab7cc8e4a02
Submitter: Zuul
Branch: stable/pike

commit 2088f612235d687c1d66fc74e16b5ab7cc8e4a02
Author: Alex Schultz <email address hidden>
Date: Fri May 18 16:50:26 2018 -0600

    Remove horizon ui plugins we don't support

    The trove horizon plugin actually causes problems for horizon by default
    but there's also a list of dashboards for services we don't officially
    support being deployed via TripleO. This change removes the cloudkitty,
    murano and trove ui packages from the horizon container.

    Change-Id: Ibc052208a8fa3e1866a7cc55dbd4bed0e04a7900
    Closes-Bug: #1767520
    (cherry picked from commit 5f9e974564cad477b8de03de7e5eb80c1273f4c4)

tags: added: in-stable-pike

This issue was fixed in the openstack/tripleo-common 7.6.18 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers