https enabled endpoints respond to curl with non ssl endpoint href in Red Hat OpenStack Platform 8
Issue
https enabled endpoints respond to curl with non ssl endpoint href in Red Hat OpenStack Platform 8
For example, the nova Endpoint:
[root@undercloud ~]# curl -k https://192.168.1.138:13774
{"versions": [{"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://192.168.1.138:13774/v2/", "rel": "self"}], "min_version": "", "version": "", "id": "v2.0"}, {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z", "links": [{"href": "http://192.168.1.138:13774/v2.1/", "rel": "self"}], "min_version": "2.1", "version": "2.12", "id": "v2.1"}]}
Neutron Endpoint:
[root@undercloud ~]# curl -k https://192.168.1.138:13696
{"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "http://192.168.1.138:13696/v2.0", "rel": "self"}]}]}[root@undercloud ~]#
However this is not always the case, see keystone endpoint below
[root@undercloud ~]# curl -k https://192.168.1.138:13000
{"versions": {"values": [{"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "https://192.168.1.138:13000/v3/", "rel": "self"}]}, {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "https://192.168.1.138:13000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/
Issue affecting OSP 8. It is fixed in OSP 10.
Environment
Red Hat OpenStack Platform 8.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.