Bug 1461358 - Need to update haproxy configuration to support "glance Handle SSL termination proxies for version list"
Summary: Need to update haproxy configuration to support "glance Handle SSL terminatio...
Keywords:
Status: CLOSED DUPLICATE of bug 1451495
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Christian Schwede (cschwede)
QA Contact: Mike Abrams
URL:
Whiteboard:
: 1461412 (view as bug list)
Depends On:
Blocks: 1451402
TreeView+ depends on / blocked
 
Reported: 2017-06-14 09:49 UTC by Avi Avraham
Modified: 2017-06-14 21:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-14 14:14:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Avi Avraham 2017-06-14 09:49:58 UTC
Description of problem:
Backport of fix needed for glance from newton to OSP 8

https://review.openstack.org/#/c/294681/2
https://review.openstack.org/#/c/294681/2/glance/common/wsgi.py
User uses some external vendor's tool that curls the endpoints and uses that to establish a connection?
Missing a the following configuration in /etc/haproxy/haproxy.cfg
~~~~~~~
listen glance_api
  bind 10.0.0.4:13292 transparent ssl crt /etc/pki/tls/private/overcloud_endpoint.pem
  bind 172.18.0.10:9292 transparent
  mode http
  http-request set-header X-Forwarded-Proto https if { ssl_fc }
  http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
  server overcloud-controller-0 172.18.0.11:9292 check fall 5 inter 2000 rise 2
~~~~~~~~

Version-Release number of selected component (if applicable):


How reproducible:
Install openstack with multiple controllers 

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Tzach Shefi 2017-06-14 13:45:11 UTC
*** Bug 1461412 has been marked as a duplicate of this bug. ***

Comment 3 Andreas Karis 2017-06-14 14:14:30 UTC

*** This bug has been marked as a duplicate of bug 1451495 ***


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