3.1.3.0-72 contrail collector crash in CpuLoadData::GetCpuLoadInfo at controller/src/base/cpuinfo.cc:156

Bug #1681594 reported by Vivek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
High
Arvind
R3.2
Invalid
High
Arvind
Trunk
Invalid
High
Arvind

Bug Description

Contrail VersionL 3.1.3.0-72 Liberty
Traceback:
#0 0x00007f8114b1cc37 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f8114b20028 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f8114b15bf6 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f8114b15ca2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x00000000004843df in error_check (file=...) at controller/src/base/cpuinfo.cc:26
#5 0x000000000048494b in ProcessMemInfo (info=...) at controller/src/base/cpuinfo.cc:85
#6 0x000000000048550b in CpuLoadData::GetCpuLoadInfo (info=..., system=system@entry=false) at controller/src/base/cpuinfo.cc:156
#7 0x000000000048565c in CpuLoadData::FillCpuInfo (cpu_load_info=..., system=system@entry=false) at controller/src/base/cpuinfo.cc:171
#8 0x00000000005fe030 in CollectorCPULogger (hostname="nodeb9") at controller/src/analytics/main.cc:65
#9 0x00000000005fe7ec in CollectorInfoLogger (ctx=...) at controller/src/analytics/main.cc:125
#10 0x0000000000474697 in operator() (this=<optimized out>) at /usr/include/boost/function/function_template.hpp:767
#11 TaskTrigger::WorkerTask::Run (this=0x7f80a8439d40) at controller/src/base/task_trigger.cc:22
#12 0x00000000004698ff in TaskImpl::execute (this=0x7f810daa3d40) at controller/src/base/task.cc:262
#13 0x00007f81160a4b3a in ?? () from /usr/lib/libtbb.so.2
#14 0x00007f81160a0816 in ?? () from /usr/lib/libtbb.so.2
#15 0x00007f811609ff4b in ?? () from /usr/lib/libtbb.so.2
#16 0x00007f811609c0ff in ?? () from /usr/lib/libtbb.so.2
#17 0x00007f811609c2f9 in ?? () from /usr/lib/libtbb.so.2
#18 0x00007f81162c0184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#19 0x00007f8114be037d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
Arvind (arvindv) wrote :

It does not impact R3.2. Verified in my testbed

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

Review in progress for https://review.opencontrail.org/30463
Submitter: Arvind (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/30463
Committed: http://github.org/Juniper/contrail-controller/commit/57564bef6215b38a9aacd4c2b8f1cfe293b2de83
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit 57564bef6215b38a9aacd4c2b8f1cfe293b2de83
Author: arvindvis <email address hidden>
Date: Fri Apr 14 15:53:30 2017 -0700

FillCpuInfo fails when files under /proc are not retrievable
sometimes. Including checks in base/cpuinfo.cc so that we
return error and deal with error messages for all calls that
open /proc files. If error occurs, we log a message and dont
send UVE.The tasktriggers should return TRUE even if FillCpuInfo
fails otherwise, the task will get recycled.
Closes-Bug:#1681594

Change-Id: I23f670aed1047b84f2aeba1268c92286399b93ae

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.