Bug 1481265

Summary: Horizon Dashboard gives Error 500 after initial install on 7.4
Product: Red Hat OpenStack Reporter: ecrosby
Component: puppet-horizonAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: medium Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: amoralej, aortega, aschultz, beth.white, jjoyce, jschluet, slinaber, srevivo, tvignaud
Target Milestone: z4Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-horizon-9.5.0-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-06 17:11:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ecrosby 2017-08-14 13:16:24 UTC
Description of problem:
Trying to browse to horizon dashboard shows Error 500
horizon_error.log show:
[Sun Aug 13 20:40:29.688296 2017] [core:error] [pid 3632] [client 192.168.122.1:51550] End of script output before headers: django.wsgi

Adding this line:
WSGIApplicationGroup %{GLOBAL}
to:
/etc/httpd/conf.d/15-horizon_vhost.conf  resolved the issue.

Version-Release number of selected component (if applicable):
[root@OSP conf.d(keystone_admin)]# rpm -q --whatprovides `pwd`/15-horizon_vhost.conf
file /etc/httpd/conf.d/15-horizon_vhost.conf is not owned by any package
[root@OSP conf.d(keystone_admin)]# rpm -qa |grep -ie packstack -ie horizon
puppet-horizon-9.5.0-1.el7ost.noarch
python-django-horizon-10.0.3-6.el7ost.noarch
openstack-packstack-puppet-9.0.1-3.el7ost.noarch
openstack-packstack-9.0.1-3.el7ost.noarch


How reproducible:
Every time

Steps to Reproduce:
Install RHEL 7.3
Upgrade to 7.4 and continue on following this document:
https://access.redhat.com/articles/1127153

Case 01905649 shows similar issue, but was a functional Packstack on RHEL 7.3 before the upgrade.

Comment 1 Alfredo Moralejo 2017-08-14 16:04:17 UTC
Actually this is a but in puppet-horizon that was fixed in master by https://review.openstack.org/#/c/477023. It was backported to ocata but not to newton. I've requested backport it to stable/newton.

I'm moving this to puppet-horizon component

Comment 4 Ido Ovadia 2017-09-05 13:44:38 UTC
Verified
========
puppet-horizon-9.5.0-2.el7ost.noarch

Comment 6 errata-xmlrpc 2017-09-06 17:11:37 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/RHBA-2017:2654