Querying compute.node.*

Bug #1521559 reported by Jean-Emile DARTOIS on 2015-12-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
High
Jean-Emile DARTOIS

Bug Description

Querying compute.node.* in Ceilometer requires some additional information in the cluster data model in order to build the resource_id.

We need to add the hostname in the data model.

e.g : Nova-Ceilometer :
metric:
- name: 'compute.node.cpu.idle.percent'
  event_type: 'compute.metrics.update'
  type: 'gauge'
  unit: 'percent'
  volume: payload.metrics[?(@.name='cpu.idle.percent')].value * 100
  resource_id: $.payload.host + "_" + $.payload.hostname

Changed in watcher:
assignee: nobody → Jean-Emile DARTOIS (jed56)

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

Changed in watcher:
status: New → In Progress
description: updated

Reviewed: https://review.openstack.org/251800
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=da4c9125f73057fb3aed48b2bd5019379aa71f67
Submitter: Jenkins
Branch: master

commit da4c9125f73057fb3aed48b2bd5019379aa71f67
Author: Jean-Emile DARTOIS <email address hidden>
Date: Tue Dec 1 12:21:47 2015 +0100

    Fixed missing attribute in the data model

    Querying compute.node.* with Ceilometer requires some additional
    information in the cluster data model in order to build the
    resource_id. This patchset add the attribute hostname and change
    the query.

    Change-Id: Ifcefcd70a6d0f5967ab4f638ce077e38ef214f64
    Closes-Bug: #1521559

Changed in watcher:
status: In Progress → Fix Committed
Changed in watcher:
milestone: none → mitaka-2
Changed in watcher:
importance: Undecided → High
Changed in watcher:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers