[3.2.0.0-12~mitaka] contrail-tor agent System Info Incomplete in UI

Bug #1649672 reported by chhandak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Santosh Gupta
Trunk
Fix Committed
High
Santosh Gupta

Bug Description

AFter upgrading to build 12 all the tor agent in WebUi is showing down with (Overall Node Status
 System Info Incomplete)

Tor AGent is active and connected with TOR.

root@5b7s1:~/fabric-utils# netstat -anp | grep 4321
tcp 0 0 0.0.0.0:4321 0.0.0.0:* LISTEN 3643/haproxy
tcp 0 0 172.17.90.1:5672 172.17.90.1:44321 ESTABLISHED 28304/beam.smp
tcp 0 0 172.17.90.1:44321 172.17.90.1:5672 ESTABLISHED 3643/haproxy
tcp 0 0 172.17.90.1:51578 172.17.90.4:4321 ESTABLISHED 3643/haproxy>>> Connection between HAproxy and Tor agent
tcp 0 0 172.17.90.90:4321 172.18.90.1:64401 ESTABLISHED 3643/haproxy >>> Connection between TOR and Haproxy

Advanced view of tor agent
----------------------------
 {
ComputeCpuState: {
cpu_info: [
 {
mem_res: 22272
cpu_share: 0.249479
used_sys_mem: 2813780
mem_virt: 724376
one_min_cpuload: 0.006875
}
]
}
NodeStatus: {
deleted: false
process_info: [
 {
process_name: contrail-tor-agent-1
start_count: 1
process_state: PROCESS_STATE_RUNNING
last_stop_time: null
core_file_list: [ ... ]
last_start_time: 1481594898352343
stop_count: 0
last_exit_time: null
exit_count: 0
}
]
process_status: [
 {
instance_id: 1
module_id: contrail-tor-agent
state: Functional
description: null
connection_infos: [
 {
server_addrs: [ ... ]
status: Up
type: XMPP
name: control-node:172.17.90.2
description: OpenSent
}
 {
server_addrs: [ ... ]
status: Up
type: XMPP
name: control-node:172.17.90.3
description: OpenSent
}
 {
server_addrs: [ ... ]
status: Up
type: Collector
name: null
description: Established
}
 {
server_addrs: [ ... ]
status: Up
type: Discovery
name: Collector
description: SubscribeResponse
}
 {
server_addrs: [ ... ]
status: Up
type: Discovery
name: dns-server
description: SubscribeResponse
}
 {
server_addrs: [
172.17.90.90:5998
]
status: Up
type: Discovery
name: xmpp-server
description: SubscribeResponse
}
 {
server_addrs: [
172.17.90.1:51578
]
status: Up
type: ToR
name: 5b7-qfx2
description: Active sessions = 1
}
]
}
]
}
ContrailConfig: {
deleted: false
elements: {
fq_name: ["default-global-system-config", "5b7s4-1"]
parent_uuid: "f262edbd-fe6e-40c5-9647-3ac5938ac93a"
virtual_router_dpdk_enabled: false
parent_type: "global-system-config"
uuid: "1435bebf-e053-4ecd-8c81-c2ae4b6d153e"
perms2: {"owner": "e55b86a90e784c009e81748fdf31b27a", "owner_access": 7, "global_access": 0, "share": []}
virtual_router_type: "tor-agent"
display_name: "5b7s4-1"
id_perms: {"enable": true, "uuid": {"uuid_mslong": 1456279785835810509, "uuid_lslong": 10124587491151123774}, "created": "2016-12-13T02:08:10.443569", "description": null, "creator": null, "user_visible": true, "last_modified": "2016-12-13T02:08:10.443569", "permissions": {"owner": "admin", "owner_access": 7, "other_access": 7, "group": "KeystoneAdmin", "group_access": 7}}
virtual_router_ip_address: "172.17.90.4"
}
}
UVEAlarms: {
alarms: [
 {
severity: 1
alarm_rules: {
or_list: [
 {
and_list: [
 {
condition: {
operation: ==
operand1: NodeStatus.build_info
variables: [ ... ]
operand2: { ... }
}
match: [
 {
json_operand1_value: null
json_variables: {
}
}
]
}
]
}
]
}
timestamp: 1481594891344464
ack: false
token: eyJ0aW1lc3RhbXAiOiAxNDgxNTk0ODkxMzQ0NDY0LCAiaHR0cF9wb3J0IjogNTk5NSwgImhvc3RfaXAiOiAiMTcyLjE3LjkwLjIifQ==
type: default-global-system-config:system-defined-partial-sysinfo
description: System Info Incomplete.
}
]
}
VrouterStatsAgent: {
cpu_info: {
sys_mem_info: {
used: 3168516
cached: 169400
free: 260617116
node_type: null
total: 263785632
buffers: 185336
}
num_cpu: 32
cpu_share: 0.249479
meminfo: {
virt: 724376
peakvirt: 788524
res: 22272
}
cpuload: {
fifteen_min_avg: 0.0059375
five_min_avg: 0.0059375
one_min_avg: 0.006875
}
}
}
VrouterAgent: {
max_vm_flows_cfg: 100
dns_servers: [ ... ]
log_category: null
vr_limits: {
vrouter_build_info: null
max_labels: 0
vrouter_max_flow_entries: 0
max_interfaces: 0
vrouter_max_oflow_entries: 47039264
vrouter_max_oflow_bridge_entries: 0
max_vrfs: 0
vrouter_max_bridge_entries: 0
max_mirror_entries: 0
max_nexthops: 0
}
control_node_list_cfg: [ ... ]
hostname_cfg: 5b7s4
ds_xs_instances: 2
log_level: SYS_DEBUG
vhost_cfg: {
ip: 0.0.0.0
ip_prefix_len: 0
name: null
gateway: 0.0.0.0
}
log_local: false
platform: HOST
sandesh_http_port: 1234
eth_name: null
log_flow: false
headless_mode_cfg: false
down_interface_count: 0
config_file: /etc/contrail/contrail-tor-agent-1.conf
tunnel_type: MPLSoGRE
ll_max_vm_flows_cfg: 2048
ll_max_system_flows_cfg: 2048
flow_cache_timeout_cfg: 0
control_ip: 172.17.90.4
total_interface_count: 0
dns_server_list_cfg: [
0.0.0.0
0.0.0.0
]
build_info: {"build-info":[{"build-time":"2016-12-10 01:14:11.244285","build-hostname":"ubuntu","build-user":"contrail-builder","build-version":"3.2.0.0","build-id":"3.2.0.0-12","build-number":"12"}]}
tor_prouter_list: [
5b7-qfx2
]
hypervisor: kvm
ds_addr: 172.17.90.90
mode: TOR
xmpp_peer_list: [
 {
status: true
ip: 172.17.90.3
primary: true
setup_time: 1481594892140775
}
 {
status: true
ip: 172.17.90.2
primary: false
setup_time: 1481594892143304
}
]
log_file: /var/log/contrail/contrail-tor-agent-1.log
}
}

Tags: analytics
chhandak (chhandak)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/27268
Submitter: Santosh Gupta (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/27294
Submitter: Santosh Gupta (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/27268
Committed: http://github.org/Juniper/contrail-controller/commit/041cf99fc6a1d7fbde8e5763d82264d0d6e85c4a
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 041cf99fc6a1d7fbde8e5763d82264d0d6e85c4a
Author: Santosh Gupta <email address hidden>
Date: Wed Dec 14 09:52:50 2016 -0800

Send build_info in NodeStatus UVE for tor-agent

Including build_info in NodeStatus UVE for tor-agent use-case.
Closes-Bug: #1649672

Change-Id: Ifb9e18386081210e350b99d81a84090ea12476d9

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

Reviewed: https://review.opencontrail.org/27294
Committed: http://github.org/Juniper/contrail-controller/commit/7c423b4f4518cf7180d6281f6b6033813848390b
Submitter: Zuul (<email address hidden>)
Branch: master

commit 7c423b4f4518cf7180d6281f6b6033813848390b
Author: Santosh Gupta <email address hidden>
Date: Wed Dec 14 14:09:39 2016 -0800

Send build_info in NodeStatus UVE for tor-agent

Including build_info in NodeStatus UVE for tor-agent use-case.
Closes-Bug: #1649672

Change-Id: I164bb0777d42828e621955256755a94b1c4142e0

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.