Build 39: Alarms: test_control_alarms failing

Bug #1583935 reported by Ankit Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
High
Nikhil Bansal
R3.0
New
High
Nikhil Bansal

Bug Description

After stopping contrail-control process alarms below are generated:

Here json operands are null, script checks for the json operands and expects them to be non null.

Expected operands : process name : contral-control, process status : stopped

    "control-node":

[

{

    "name": "nodeb8",
    "value":

{

    "UVEAlarms":

{

    "alarms":

[

{

    "any_of":

[

{

    "all_of":

[

{

    "json_operand1_value": "null",
    "rule":

{

    "oper": "==",
    "operand1":

{

    "keys":

    [
        "NodeStatus",
        "process_info"
    ]

},
"operand2":

                        {
                            "json_value": "null"
                        }
                    }
                }
            ]
        }
    ],
    "severity": ​3,
    "ack": false,
    "timestamp": ​1463726210379328,
    "token": "eyJ0aW1lc3RhbXAiOiAxNDYzNzI2MjEwMzc5MzI4LCAiaHR0cF9wb3J0IjogNTk5NSwgImhvc3RfaXAiOiAiMTAuMjA0LjIxNi4yMDEifQ==",
    "type": "ProcessStatus"

},
{

    "any_of":

[

{

    "all_of":

[

{

    "json_operand1_value": "null",
    "rule":

{

    "oper": "==",
    "operand1":

{

    "keys":

    [
        "BgpRouterState",
        "build_info"
    ]

},
"operand2":

                    {
                        "json_value": "null"
                    }
                }
            }
        ]
    }

],

information type: Proprietary → Public
Changed in juniperopenstack:
importance: Undecided → High
Raj Reddy (rajreddy)
Changed in juniperopenstack:
assignee: Raj Reddy (rajreddy) → Nikhil Bansal (nikhilb-u)
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.