Bug 1331847 - Packstack fails if --os-horizon-ssl=y
Summary: Packstack fails if --os-horizon-ssl=y
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: async
: ---
Assignee: Ivan Chavero
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On: 1326887
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-29 19:21 UTC by Forrest Taylor
Modified: 2016-06-29 13:58 UTC (History)
9 users (show)

Fixed In Version: openstack-packstack-7.0.0-0.17.dev1702.g490e674.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 1326887
Environment:
Last Closed: 2016-06-29 13:58:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 305881 0 None None None 2016-04-29 19:21:10 UTC
OpenStack gerrit 320556 0 None None None 2016-05-30 18:48:04 UTC
Red Hat Product Errata RHBA-2016:1354 0 normal SHIPPED_LIVE openstack-packstack bug fix advisory 2016-06-29 17:57:39 UTC

Description Forrest Taylor 2016-04-29 19:21:11 UTC
+++ This bug was initially created as a clone of Bug #1326887 +++

Description of problem:

When SSL for horizon is enabled, the Packstack installation fails, because httpd cant get restarted. 


Version-Release number of selected component (if applicable):
openstack-packstack.noarch       1:7.0.0-0.14.dev1702.g490e674.el7ost @OpenStack
openstack-packstack-puppet.noarch
                                 1:7.0.0-0.14.dev1702.g490e674.el7ost @OpenStack


How reproducible: 100%


Steps to Reproduce:
1. sudo yum install -y openstack-packstack
2. packstack --allinone --os-horizon-ssl=y

Actual results:

ERROR : Error appeared during Puppet run: 10.0.0.3_horizon.pp
Error: /Stage[main]/Apache::Service/Service[httpd]: Failed to call refresh: Could not restart Service[httpd]: Execution of '/usr/bin/systemctl restart httpd' returned 1: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details


Workarounds:

/etc/httpd/conf.d/ssl.conf has: Listen 443 https
Comment the line in /etc/httpd/conf.d/ssl.conf and run packstack again


The problem here is that puppet-horizon originally did not enable port 443 by default, so we created a workaround for this [1]. Recent versions now set the port correctly [2], so the workaround has to be removed from PackStack.

[1] https://github.com/openstack/packstack/blob/master/packstack/puppet/templates/horizon.pp#L55
[2] https://github.com/puppetlabs/puppetlabs-apache/blob/b14c238eecb4e90d03b3c4cb841fe9b035df80c2/manifests/init.pp#L399

Comment 3 Ivan Chavero 2016-05-06 19:30:51 UTC
This has been fixed upstream, creating package

Comment 6 Ivan Chavero 2016-05-24 06:29:43 UTC
Backport ready: https://review.openstack.org/#/c/320184/

Comment 7 Ivan Chavero 2016-05-30 18:48:04 UTC
Correct backport: https://review.openstack.org/#/c/320556/

Comment 13 errata-xmlrpc 2016-06-29 13:58:33 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-2016:1354


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