Bug 2107487

Summary: "openstack stack show" command fails because Heat returns HTTPS URL for HTTP endpoint
Product: Red Hat OpenStack Reporter: Alex Stupnikov <astupnik>
Component: puppet-tripleoAssignee: Antonio Romito <aromito>
Status: CLOSED NOTABUG QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: aromito, bshephar, chopark, jjoyce, jschluet, lmiccini, ramishra, slinaber, tkajinam, tvignaud
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-09 14:03:49 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 Alex Stupnikov 2022-07-15 08:25:30 UTC
Description of problem:

SSL error [1] is raised when running "openstack stack show NAME" command: OpenStack Client fails to establish SSL connection to 8004 port. We analyzed service catalog, but there are no HTTPS endpoints for orchestration service there.

We also collected problematic command's output in debug mode and figured out that this problem is caused by Heat control plane's response to find stack request: location header contains https:// URL, while message contains http:// URL.

https://docs.openstack.org/api-ref/orchestration/v1/index.html?expanded=find-stack-detail#find-stack

We kindly ask you to help us understand this problem. I will provide detailed outputs and information about collected data privately.

[1]
SSL exception connecting to https://IP:8004/v1/SUFFIX: HTTPSConnectionPool(host='IP', port=8004): Max retries exceeded with url: SUFFIX (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:897)'),))


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