Bug 1383183 - On an SSL enabled overcloud the Ceilometer api returns http URL
Summary: On an SSL enabled overcloud the Ceilometer api returns http URL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ga
: 10.0 (Newton)
Assignee: Juan Antonio Osorio
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
Depends On:
Blocks: 1384329
TreeView+ depends on / blocked
 
Reported: 2016-10-10 06:25 UTC by Marius Cornea
Modified: 2016-12-14 16:14 UTC (History)
11 users (show)

Fixed In Version: puppet-tripleo-5.4.0-3.el7ost openstack-ceilometer-7.0.0-2.2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1384329 (view as bug list)
Environment:
Last Closed: 2016-12-14 16:14:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1590608 0 None None None 2016-10-10 06:25:20 UTC
OpenStack gerrit 384311 0 None None None 2016-10-10 06:50:46 UTC
OpenStack gerrit 385768 0 None None None 2016-10-13 06:19:41 UTC
OpenStack gerrit 400591 0 None None None 2016-11-22 10:29:37 UTC
Red Hat Product Errata RHEA-2016:2948 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 10 enhancement update 2016-12-14 19:55:27 UTC

Description Marius Cornea 2016-10-10 06:25:21 UTC
Description of problem:
On an SSL enabled overcloud the Ceilometer api returns http URL

[stack@undercloud-0 ~]$ openstack catalog show ceilometer
+-----------+-----------------------------------------+
| Field     | Value                                   |
+-----------+-----------------------------------------+
| endpoints | regionOne                               |
|           |   publicURL: https://172.16.18.25:13777 |
|           |   internalURL: http://10.0.0.5:8777     |
|           |   adminURL: http://10.0.0.5:8777        |
|           |                                         |
| name      | ceilometer                              |
| type      | metering                                |
+-----------+-----------------------------------------+

[stack@undercloud-0 ~]$ curl -s -H "X-Auth-Token: $OS_TOKEN" https://172.16.18.25:13777/  | python -m json.tool
{
    "versions": {
        "values": [
            {
                "id": "v2",
                "links": [
                    {
                        "href": "http://172.16.18.25:13777/v2",
                        "rel": "self"
                    },
                    {
                        "href": "http://docs.openstack.org/",
                        "rel": "describedby",
                        "type": "text/html"
                    }
                ],
                "media-types": [
                    {
                        "base": "application/json",
                        "type": "application/vnd.openstack.telemetry-v2+json"
                    },
                    {
                        "base": "application/xml",
                        "type": "application/vnd.openstack.telemetry-v2+xml"
                    }
                ],
                "status": "stable",
                "updated": "2013-02-13T00:00:00Z"
            }
        ]
    }
}


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-5.0.0-0.20160929150845.4cdc4fc.el7ost.noarch
openstack-ceilometer-api-7.0.0-0.20160928024313.67bbd3f.el7ost.noarch

How reproducible:
100%

Comment 2 Nathan Kinder 2016-10-12 21:42:30 UTC
The fix for this has merged upstream in master, bu tis still needed in stable/newton.

Comment 3 Juan Antonio Osorio 2016-10-13 06:20:08 UTC
backported it to stable/newton upstream

Comment 4 Nathan Kinder 2016-10-20 21:53:40 UTC
This has merged upstream for both master and stable/newton.

Comment 8 Rob Crittenden 2016-11-14 19:31:26 UTC
No changes to this component are required. This is being blocked by BZ 1370018 which is fixed upstream and should be in a build soon.

Comment 13 Yurii Prokulevych 2016-12-02 13:57:04 UTC
openstack catalog show ceilometer
+-----------+------------------------------------------------------------+
| Field     | Value                                                      |
+-----------+------------------------------------------------------------+
| endpoints | regionOne                                                  |
|           |   publicURL: https://[2620:52:0:13b8:5054:ff:fe3e:1]:13777 |
|           |   internalURL: http://[fd00:fd00:fd00:2000::18]:8777       |
|           |   adminURL: http://[fd00:fd00:fd00:2000::18]:8777          |
|           |                                                            |
| name      | ceilometer                                                 |
| type      | metering                                                   |
+-----------+------------------------------------------------------------+

curl -s -XGET -H 'X-Auth-Token: 0aba049b59e84ef1861324a1dfd75024' -g https://[2620:52:0:13b8:5054:ff:fe3e:1]:13777/ | python -m json.tool
{
    "versions": {
        "values": [
            {
                "id": "v2",
                "links": [
                    {
                        "href": "https://[2620:52:0:13b8:5054:ff:fe3e:1]:13777/v2",
                        "rel": "self"
                    },
                    {
                        "href": "http://docs.openstack.org/",
                        "rel": "describedby",
                        "type": "text/html"
                    }
                ],
                "media-types": [
                    {
                        "base": "application/json",
                        "type": "application/vnd.openstack.telemetry-v2+json"
                    },
                    {
                        "base": "application/xml",
                        "type": "application/vnd.openstack.telemetry-v2+xml"
                    }
                ],
                "status": "stable",
                "updated": "2013-02-13T00:00:00Z"
            }
        ]
    }
}

Packages:
puppet-tripleo-5.4.0-3.el7ost.noarch
openstack-ceilometer-common-7.0.0-4.el7ost.noarch

Comment 15 errata-xmlrpc 2016-12-14 16:14:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2948.html


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