[3.0.2.0-34~liberty ] Agent crash @ StatsManager::GetInterfaceStats

Bug #1578362 reported by chhandak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Critical
Ashok Singh
Trunk
Fix Committed
Critical
Ashok Singh

Bug Description

Observed the crash while upgrading the TOR Scale setup from Build 32 to 34.

Backtrace
---------------
(gdb) bt
#0 0x0000000000c5ea00 in StatsManager::GetInterfaceStats(Interface const*) ()
#1 0x0000000000c7d9f0 in AgentStatsSandeshContext::IfMsgHandler(vr_interface_req*) ()
#2 0x00000000010df470 in Sandesh::ReceiveBinaryMsgOne(unsigned char*, unsigned int, int*, SandeshContext*) ()
#3 0x0000000000d086f6 in ?? ()
#4 0x0000000000d0886b in KSyncBulkSandeshContext::Decoder(char*, unsigned int, unsigned int, bool) ()
#5 0x0000000000d07290 in KSyncSock::ProcessKernelData(char*) ()
#6 0x0000000000d0d21f in QueueTaskRunner<char*, WorkQueue<char*> >::Run() ()
#7 0x00000000011a2d7f in TaskImpl::execute() ()
#8 0x00007fd2e92cdb3a in ?? () from /usr/lib/libtbb.so.2
#9 0x00007fd2e92c9816 in ?? () from /usr/lib/libtbb.so.2
#10 0x00007fd2e92c8f4b in ?? () from /usr/lib/libtbb.so.2
#11 0x00007fd2e92c50ff in ?? () from /usr/lib/libtbb.so.2
#12 0x00007fd2e92c52f9 in ?? () from /usr/lib/libtbb.so.2
#13 0x00007fd2e94e9182 in start_thread (arg=0x7fd2e0980700) at pthread_create.c:312
#14 0x00007fd2e87c247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

chhandak (chhandak)
description: updated
Changed in juniperopenstack:
importance: Undecided → Critical
assignee: nobody → Hari Prasad Killi (haripk)
chhandak (chhandak)
information type: Proprietary → Public
Revision history for this message
chhandak (chhandak) wrote :

/auto/cores/1578362

Revision history for this message
chhandak (chhandak) wrote :

Core file copied in /auto/cores/1578362

chhandak (chhandak)
tags: added: blocker
Ashok Singh (ashoksr)
Changed in juniperopenstack:
assignee: Hari Prasad Killi (haripk) → Ashok Singh (ashoksr)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/19921
Submitter: Ashok Singh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/19922
Submitter: Ashok Singh (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/19922
Committed: http://github.org/Juniper/contrail-controller/commit/c41e5bab9214e7a980bc1d9d118da148e0d5b1e1
Submitter: Zuul
Branch: R3.0

commit c41e5bab9214e7a980bc1d9d118da148e0d5b1e1
Author: ashoksingh <email address hidden>
Date: Thu May 5 12:27:33 2016 +0530

Fix agent crash at StatsManager::GetInterfaceStats

AgentStatsCollector Object should not be created in TSN
mode. The creation of this was enabled by mistake in one
of earlier commits.

Added UT to ensure that AgentStatsCollector is not created
in TSN mode.

Closes-Bug: #1578362
(cherry picked from commit defbc7ad0f70351d9312b900db351a6cd98c6fec)

Change-Id: I24ccac855e2a84bc344b12a80435522a2c428261

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

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

commit defbc7ad0f70351d9312b900db351a6cd98c6fec
Author: ashoksingh <email address hidden>
Date: Thu May 5 12:27:33 2016 +0530

Fix agent crash at StatsManager::GetInterfaceStats

AgentStatsCollector Object should not be created in TSN
mode. The creation of this was enabled by mistake in one
of earlier commits.

Added UT to ensure that AgentStatsCollector is not created
in TSN mode.

Change-Id: Ia1ad3594131a3492746348acb925dffeeaee63f8
Closes-Bug: #1578362

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.