Bug 1326887
Summary: | [Mitaka] Packstack fails if --os-horizon-ssl=y | |||
---|---|---|---|---|
Product: | [Community] RDO | Reporter: | Alvaro Aleman <alv2412> | |
Component: | openstack-packstack | Assignee: | Javier Peña <jpena> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Shai Revivo <srevivo> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | unspecified | CC: | amoralej, aortega, apevec, derekh, morgado.santos, mrugesh.raval, srevivo | |
Target Milestone: | --- | |||
Target Release: | trunk | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | openstack-packstack-8.0.0-1.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1331847 (view as bug list) | Environment: | ||
Last Closed: | 2016-05-24 15:15:09 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1331847 |
Description
Alvaro Aleman
2016-04-13 16:17:25 UTC
Hi there, Workaround: # grep -ir "^listen" /etc/httpd/* You should see that /etc/httpd/conf.d/ssl.conf has: Listen 443 https And you also can see that /etc/httpd/conf/ports.conf is managed by Puppet and also add port 443 Comment the line in /etc/httpd/conf.d/ssl.conf and run packstack again This is a workaround. Cheers JS Forgot to say... For that workaround add "Listen 443" to /etc/httpd/conf.d/15-horizon_ssl_vhost.conf Cheers JS Can this be fixed? (In reply to Mrugesh Raval from comment #4) > Can this be fixed? Work Around =========== 1. Start packstack setup as normal 2. Open Another SSH Session to same server. 3. Once packstack setup moves towards Applying <IP_ADDR>_keystone.pp, httpd packages will be installed 4. From another ssh session to packstack setup server, keep watch of file ssl.conf in /etc/httpd/conf.d using 'watch ls -l" 5. Once packstack setup will move to Applying <IP_ADDR>_horizon.pp, puppet will place ssl.conf under /etc/httpd/conf.d/ directory 5. As soon as ssl.conf is seen under watch - "watch ls -l", CTRL+c and modify ssl.conf to comment out below line - FROM: Listen 443 https TO: #Listen 443 https Solves the issue and packstack setup get complete without any further errors. The problem here is that puppet-horizon did not enabled 443 port by default, so we created workaround for this [1]. Recent version now uses sets the port correctly [2], so the workaround have to be removed from Packstack. Note that Packstack is a community project. If some bug resolution is critical for you, the fastest way to fix the bug is to submit a patch yourself. Patches are really welcomed. We use standard OpenStack workflow for patch review process [3]. [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 [3] http://docs.openstack.org/infra/manual/developers.html The fix is now merged in master, and https://review.openstack.org/313080 is the stable/mitaka backport. |