Missing ceilometer measures cpu, cpu_util and vcpu_util with https enabled

Bug #1790238 reported by Angie Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Angie Wang

Bug Description

Brief Description
-----------------
Ceilometer measures cpu, cpu_util and vcpu_util are missing on https enabled standard system due to the type of endpoint in Identity service catalog are not set to "internalURL" on compute node.

Steps to Reproduce
------------------
Launch VM on standard system(controller + compute) with https configured

Expected Behavior
------------------
Should receive cpu, cpu_util and vcpu_util measures

Actual Behavior
----------------
Missing cpu, cpu_util and vcpu_util measures

Reproducibility
---------------
100% reproducible

System Configuration
--------------------
Standard cloud platform (controller + compute) with https enabled

Branch/Pull Time/Commit
-----------------------
master

Timestamp/Logs
--------------
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client Traceback (most recent call last):
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/ceilometer/nova_client.py", line 54, in with_logging
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client return func(*args, **kwargs)
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/ceilometer/nova_client.py", line 190, in instance_get_all_by_host
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client search_opts=search_opts))
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 904, in list
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client "servers")
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 254, in _list
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client resp, body = self.api.client.get(url)
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 288, in get
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client return self.request(url, 'GET', **kwargs)
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 79, in request
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client **kwargs)
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 447, in request
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 192, in request
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client return self.session.request(url, method, **kwargs)
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client return wrapped(*args, **kwargs)
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 703, in request
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client resp = send(**kwargs)
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 765, in _send_request
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client raise exceptions.SSLError(msg)
2018-08-31 21:01:25.717 65514 ERROR ceilometer.nova_client SSLError: SSL exception connecting to https://128.224.151.227:8774/v2.1/96fe5fc49f3b47549801c7651399d3bb/servers/detail?all_tenants=True&host=compute-0: ("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",)

Angie Wang (angiewang)
Changed in starlingx:
assignee: nobody → Angie Wang (angiewang)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/599728

Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-config (master)

Reviewed: https://review.openstack.org/599728
Committed: https://git.openstack.org/cgit/openstack/stx-config/commit/?id=4eb9d8da7788e6dc5e83cffedee57d6debb2622b
Submitter: Zuul
Branch: master

commit 4eb9d8da7788e6dc5e83cffedee57d6debb2622b
Author: Angie Wang <email address hidden>
Date: Tue Sep 4 13:31:17 2018 -0400

    Set ceilometer's endpoint type to internalURL on all types of nodes

    Because the endpoint type for ceilometer is set to publicURL rather
    than internalURL, ceilometer polling agent is unable to poll measures
    from other services with a https configured system. This update is to
    set ceilometer's endpoint type to internalURL through puppet for all
    types of nodes.

    Closes-Bug: 1790238

    Change-Id: I19f0e354a22b089f140ed8e762f3db68f6bc4ddb
    Signed-off-by: Angie Wang <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.distro.openstack
Ken Young (kenyis)
tags: added: stx.1.0
removed: stx.2018.10
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.