heat use https issue

Bug #1342621 reported by Liping Mao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Invalid
Undecided
Unassigned
python-heatclient
Triaged
Medium
Unassigned

Bug Description

Hi all,

We are using Heat behand LB, and here is the topology:
User --https--> LB --http--> Heat-api

And we already enable ssl middleware in heat-api.

When we run "heat stack-show XXX", we got the following error:
Prohibited endpoint redirect location = https://heatapi.qa.webex.com/v1/81a13ac5f0734c0e8229c0b8ad374861/stacks/hello_heat_stack/d779f41e-649b-4edf-88fb-6945fd5f0e90

This problem is because we have the following heat-api endpoint in keystone:
https://heatapi.qa.webex.com:443/v1/81a13ac5f0734c0e8229c0b8ad374861

In the endpoint we have ":443", and heatclient it compared location and endpoint directly:
https://github.com/openstack/python-heatclient/blob/master/heatclient/common/http.py#L207-215

After we modify the endpoint to :
https://heatapi.qa.webex.com/v1/81a13ac5f0734c0e8229c0b8ad374861

It can work well...

Revision history for this message
Steven Hardy (shardy) wrote :

Assigning to python-heatclient, as that sounds like where the bug is?

Changed in heat:
status: New → Invalid
Changed in python-heatclient:
status: New → Triaged
importance: Undecided → Medium
Anant Patil (ananta)
Changed in python-heatclient:
assignee: nobody → Anant Patil (ananta)
Anant Patil (ananta)
Changed in python-heatclient:
assignee: Anant Patil (ananta) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.