RFE: Alarm monitor

Bug #1630614 reported by Tung Doan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Medium
Tung Doan

Bug Description

Work items:
1. Fix hardcoded vdu
2. Add Functional test
3. Refactor tosca template for alarm
4. Support scaling in/out at the same time.
5. Support multiple triggers, multi-actions
6. Parameterize alarm configuration (threshold, evaluation, action). it could be nice if users can change alarm configuration with the same template.

An example for multiple triggers:

    - vdu_cpu_usage_monitoring_policy:
        type: tosca.policies.tacker.Alarming
        triggers:
            vdu_high_cpu_usage_with_scaling_out:
                event_type:
                    type: tosca.events.resource.utilization
                    implementation: ceilometer
                metrics: cpu_util
                condition:
                    threshold: 50
                    constraint: utilization greater_than 50%
                    period: 600
                    evaluations: 1
                    method: avg
                    comparison_operator: gt
                action: SP1
            vdu_low_cpu_usage_with_scaling_in:
                event_type:
                    type: tosca.events.resource.utilization
                    implementation: ceilometer
                metrics: cpu_util
                condition:
                    threshold: 10
                    constraint: utilization less_than 10%
                    period: 600
                    evaluations: 1
                    method: avg
                    comparison_operator: lt
                action: SP1
            vdu_high_cpu_usage_with_respawning:
                event_type:
                    type: tosca.events.resource.utilization
                    implementation: ceilometer
                metrics: cpu_util
                condition:
                    threshold: 50
                    constraint: utilization greater_than 50%
                    period: 600
                    evaluations: 1
                    method: avg
                    comparison_operator: gt
                action: respawn

Tung Doan (tungdoan)
Changed in tacker:
status: New → In Progress
assignee: nobody → Tung Doan (tungdoan)
Sripriya (sseetha)
Changed in tacker:
importance: Undecided → Medium
Tung Doan (tungdoan)
description: updated
Tung Doan (tungdoan)
description: updated
Changed in tacker:
milestone: none → ocata-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/382479
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=0eafa5b1bf28678c707c36ed11fba1ded1f61cbe
Submitter: Jenkins
Branch: master

commit 0eafa5b1bf28678c707c36ed11fba1ded1f61cbe
Author: doantungbk <email address hidden>
Date: Wed Oct 5 07:51:17 2016 -0700

    RFE alarm monitor: Fix hardcoded metadata,add func. test

    This patch will focus on:
    1. Fixing hardcoded metadata
    2. Adding functional test for alarm monitor
    3. Refactoring tosca template for alarm monitor
    4. Refactoring scaling in/out support in alarm monitor
    5. Supporting multi-trigger

    Partial-bug: #1630614
    Change-Id: Ic5d0046d0dc0b4381713bda01c485cecae17abea

Aqsa Malik (aqsamm)
Changed in tacker:
status: In Progress → Fix Committed
Changed in tacker:
status: Fix Committed → 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.