Bug 1299165

Summary: Enable SSL middleware for Cinder & Nova & Horizon in puppet-tripleo
Product: Red Hat OpenStack Reporter: Emilien Macchi <emacchi>
Component: openstack-puppet-modulesAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.0 (Kilo)CC: dnavale, emacchi, mburns, yeylon
Target Milestone: z4Keywords: ZStream
Target Release: 7.0 (Kilo)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-puppet-modules-2015.1.8-40.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 16:44:34 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 Emilien Macchi 2016-01-16 19:44:21 UTC
We need to backport https://review.openstack.org/#/c/268230 and https://review.openstack.org/#/c/268230 in OPM so we can enable SSL in OSP7 for nova & cinder API services.

Comment 1 Emilien Macchi 2016-01-16 19:45:06 UTC
Also Horizon: https://review.openstack.org/#/c/268288/

Comment 10 Alexander Chuzhoy 2016-01-28 20:20:23 UTC
Verified:
Environment:
openstack-puppet-modules-2015.1.8-45.el7ost.noarch


So for cinder:
In /etc/cinder/api-paste.ini we now have the following:

[filter:ssl_header_handler]
paste.filter_factory=oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory


Horizon:
Checking a deployment with SSL:
grep rsprep  /etc/haproxy/haproxy.cfg

  rsprep ^Location:\ http://(.*) Location:\ https://\1


Nova was deemed unnecessary for the purposes of enabling public endpoints in the overcloud

Comment 13 errata-xmlrpc 2016-02-18 16:44:34 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://rhn.redhat.com/errata/RHBA-2016-0265.html