user-defined-counters:Alarm profile get attached to all the counters created - expect it to get applied to specific counter

Bug #1606187 reported by Sandip Dey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
High
Sundaresan Rajangam
Trunk
Fix Committed
High
Sundaresan Rajangam

Bug Description

Build R3.1 build 5 Mitaka Ubuntu14.04

1.Created UDC 'vrouter_error'.

2.Attached an alarm profile with the below details
UVEAlarms": {
"alarms": [
{
"severity": 2,
"ack": false,
"timestamp": 1469442913663921,
"alarm_rules": {
"or_list": [
{
"and_list": [
{
"condition": {
"operation": ">=",
"operand1": "UserDefinedCounter.count.value",
"vars": [],
"operand2": "45"
},
"match": [
{
"json_operand1_value": "{\"value\": 41}",
"json_vars": {}
}
]
}
]
}
]
},
"token": "eyJ0aW1lc3RhbXAiOiAxNDY5NDQyOTEzNjYzOTIxLCAiaHR0cF9wb3J0IjogNTk5NSwgImhvc3RfaXAiOiAiMTkyLjE2OC4yNTAuNCJ9",
"type": "vrouter",
"description": "vrouter error"
}

3.Created another UDC rule 'api'.As a user dont want the alarm profile ,attached to the "vrouter error" UDC, to be attached to UDC 'api'.But the same rule also got applied,which could be raising false alarm.

There is no way to distinguish multiple UDC while creating alarm.

Raj Reddy (rajreddy)
Changed in juniperopenstack:
importance: Undecided → Critical
importance: Critical → High
assignee: Raj Reddy (rajreddy) → ted ghose (rintu)
Jeba Paulaiyan (jebap)
tags: added: counters
Revision history for this message
Raj Reddy (rajreddy) wrote :

need to add config alarm support to take UVE key

Changed in juniperopenstack:
assignee: ted ghose (rintu) → Sundaresan Rajangam (srajanga)
information type: Proprietary → Public
Raj Reddy (rajreddy)
tags: added: blocker
Raj Reddy (rajreddy)
tags: removed: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/23429
Submitter: Sundaresan Rajangam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/23430
Submitter: Sundaresan Rajangam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/23429
Committed: http://github.org/Juniper/contrail-controller/commit/b59b7be69f298c70b368b15ed6b10554d930c834
Submitter: Zuul
Branch: master

commit b59b7be69f298c70b368b15ed6b10554d930c834
Author: Sundaresan Rajangam <email address hidden>
Date: Thu Aug 18 14:53:13 2016 -0700

Support for configuring alarm for a specific object

Presently, the uve_keys field in the alarm schema takes only list of
uve-types. This patch adds support for specifying uve objects in
addition to uve-types in the uve-keys. uve object can be specified in
the format <uve-type>:<uve-name>

Change-Id: I7e25d49a206c289dd5ada1d6145cbc7255878afe
Closes-Bug: #1606187

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/23430
Committed: http://github.org/Juniper/contrail-controller/commit/c2a75d318d4423d687202e70f2a684e4a58230c5
Submitter: Zuul
Branch: R3.1

commit c2a75d318d4423d687202e70f2a684e4a58230c5
Author: Sundaresan Rajangam <email address hidden>
Date: Thu Aug 18 14:53:13 2016 -0700

Support for configuring alarm for a specific object

Presently, the uve_keys field in the alarm schema takes only list of
uve-types. This patch adds support for specifying uve objects in
addition to uve-types in the uve-keys. uve object can be specified in
the format <uve-type>:<uve-name>

Change-Id: I7e25d49a206c289dd5ada1d6145cbc7255878afe
Closes-Bug: #1606187
(cherry picked from commit b59b7be69f298c70b368b15ed6b10554d930c834)

tags: added: releasenote
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.