Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1461358

Summary: Need to update haproxy configuration to support "glance Handle SSL termination proxies for version list"
Product: Red Hat OpenStack Reporter: Avi Avraham <aavraham>
Component: openstack-glanceAssignee: Christian Schwede (cschwede) <cschwede>
Status: CLOSED DUPLICATE QA Contact: Mike Abrams <mabrams>
Severity: high Docs Contact:
Priority: high    
Version: 8.0 (Liberty)CC: akaris, bperkins, eglynn, fpercoco, pgrist, srevivo
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-14 14:14:30 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: 1451402    

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 ***