R3.1 Build 4: NodeStatus dict not shown in analytics db-node uve when db-nodemgr is not active
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Invalid
|
Undecided
|
Ankit Jain | |||
Trunk |
Invalid
|
Undecided
|
Ankit Jain |
Bug Description
contrail-
== Contrail Supervisor Database ==
supervisor-
contrail-
kafka active
When nodemngr is not up, NodeStatus should not be null
Below is the output from analytics api db node uve
http://
{
ContrailConfig: {
deleted: false,
elements: {
database_
display_name: ""nodeg13"",
uuid: ""73518163-
parent_href: ""http://
parent_type: ""global-
perms2: "{"owner": "1f8e050f56b64b
id_perms: "{"enable": true, "uuid": {"uuid_mslong": 830956505232541
fq_name: "["default-
parent_uuid: ""fc5d2925-
}
},
UVEAlarms: {
alarms: [
{
severity: 2,
ack: false,
timestamp: 1469252424975103,
alarm_rules: {
or_list: [
{
and_list: [
{
condition: {
operation: "==",
operand1: "NodeStatus",
vars: [ ],
operand2: "null"
},
match: [
{
json_operand1_
json_vars: { }
}
]
}
]
}
]
},
token: "eyJ0aW1lc3RhbX
type: "node-status",
description: "Node Failure. NodeStatus UVE not present"
}
]
}
}
Testbed:
env.roledefs = {
'all': [host1, host2, host3,host4],
'cfgm': [host1, host2],
'webui': [host1],
'openstack': [host1],
'control': [host1, host2, host3],
'collector': [host1, host2, host3],
'database': [host1,
'compute': [host4, host3],
'build': [host_build]
}
env.hostnames = {
'all': ['nodeg13', 'nodeg20', 'nodea21', 'nodeh3']
Ankit.. UVEs are collection of structures sent by various generators.. for the Database Node UVE, the NodeStatus data is sent only by database-nodemgr and when it's not running it is Null..
There is no bug here.. please close it..