Move usage from deprecated Ceilometer API to Gnocchi API

Bug #1735484 reported by Cong Phuoc Hoang
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Medium
Cong Phuoc Hoang

Bug Description

This removes usage of deprecated Ceilometer API
1. Changing trigger type from "OS::Ceilometer::Alarm"
to "OS::Aodh::GnocchiAggregationByResourcesAlarm"
2. Add "resource_type" fixed with value "instance"
3. Change some paramters (meter_name-> metric,
statistic ->aggregation_method, period-> granularity)
4. Change value from "average" to "mean" in method to
compare to the threshold

Changed in tacker:
assignee: nobody → Cong Phuoc Hoang (hoangphuoc)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

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

Changed in tacker:
status: New → In Progress
Changed in tacker:
milestone: none → pike-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/524260
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=0da9469017b9959cd751d99fcf3fcb6fff12183c
Submitter: Zuul
Branch: master

commit 0da9469017b9959cd751d99fcf3fcb6fff12183c
Author: hoangphuocbk <email address hidden>
Date: Fri Dec 1 02:37:38 2017 +0900

    Move usage from deprecated Ceilometer API to Gnocchi API

    This removes usage of deprecated Ceilometer API

    1. Changing trigger type from "OS::Ceilometer::Alarm"
    to "OS::Aodh::GnocchiAggregationByResourcesAlarm"
    2. Add "resource_type" fixed with value "instance"
    3. Change some paramters (meter_name-> metric,
    statistic ->aggregation_method, period-> granularity)
    4. Change value from "average" to "mean" in method to
    compare to the threshold

    Change-Id: I486c14cbc9d05a0e826bbef1ad181bdcb2d8c951
    Closes-Bug: #1735484

Changed in tacker:
status: In Progress → Fix Released
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.