[3.0.2.0-32] Agent crash @ LifetimeActor::DependencyAdd

Bug #1574187 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
Hari Prasad Killi
Trunk
Fix Committed
Critical
Hari Prasad Killi

Bug Description

Observed the crash while deleting scale config ( lif and vmi and VN) across project in parallel.

Backtrace
-----------------
(gdb) bt
#0 0x00007f524ff05cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f524ff090d8 in __GI_abort () at abort.c:89
#2 0x00007f524fefeb86 in __assert_fail_base (fmt=0x7f525004f830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x11a753f "!deleted_", file=file@entry=0x12d1b88 "controller/src/base/lifetime.cc",
    line=line@entry=129,
    function=function@entry=0x12d23c0 "void LifetimeActor::DependencyAdd(DependencyRef<LifetimeRefBase, LifetimeActor>*)")
    at assert.c:92
#3 0x00007f524fefec32 in __GI___assert_fail (assertion=0x11a753f "!deleted_",
    file=0x12d1b88 "controller/src/base/lifetime.cc", line=129,
    function=0x12d23c0 "void LifetimeActor::DependencyAdd(DependencyRef<LifetimeRefBase, LifetimeActor>*)") at assert.c:101
#4 0x000000000117b5ff in LifetimeRefBase::LifetimeRefBase(LifetimeActor*) ()
#5 0x0000000000b0996e in Icmpv6Proto::CreateAndSetVrfState(VrfEntry*) ()
#6 0x0000000000b09e8b in Icmpv6Proto::VrfNotify(DBTablePartBase*, DBEntryBase*) ()
#7 0x000000000107dd3a in DBTableBase::RunNotify(DBTablePartBase*, DBEntryBase*) ()
#8 0x0000000001080428 in DBTablePartBase::RunNotify() ()
#9 0x000000000107c530 in DBPartition::QueueRunner::Run() ()
#10 0x000000000118d89c in TaskImpl::execute() ()
#11 0x00007f5250ad4b3a in ?? () from /usr/lib/libtbb.so.2
#12 0x00007f5250ad0816 in ?? () from /usr/lib/libtbb.so.2
#13 0x00007f5250acff4b in ?? () from /usr/lib/libtbb.so.2
#14 0x00007f5250acc0ff in ?? () from /usr/lib/libtbb.so.2
#15 0x00007f5250acc2f9 in ?? () from /usr/lib/libtbb.so.2
#16 0x00007f5250cf0182 in start_thread (arg=0x7f523bfff700) at pthread_create.c:312
#17 0x00007f524ffc947d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

root@5b7s6:~# contrail-version | grep vrouter
contrail-vrouter-3.13.0-40-generic 3.0.2.0-32 32
contrail-vrouter-agent 3.0.2.0-32 32
contrail-vrouter-common 3.0.2.0-32 32
contrail-vrouter-init 3.0.2.0-32 32
contrail-vrouter-utils 3.0.2.0-32 32
python-contrail-vrouter-api 3.0.2.0-32 32
python-opencontrail-vrouter-netns 3.0.2.0-32 32

Revision history for this message
chhandak (chhandak) wrote :

Core copied in

-rwxrwxrwx 1 chhandak epbg 369852416 Apr 24 00:59 core.contrail-vroute.3800.5b7s6.1461483956
chhandak@ubuntu-build04:/cs-shared/bugs/1574187$ pwd
/cs-shared/bugs/1574187

Changed in juniperopenstack:
importance: Undecided → Critical
assignee: nobody → Hari Prasad Killi (haripk)
chhandak (chhandak)
information type: Proprietary → Public
amit surana (asurana-t)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19700
Submitter: Hari Prasad Killi (<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/19701
Submitter: Hari Prasad Killi (<email address hidden>)

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

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

commit cbfad464e7ccac1b2d2b1a525595c4acb2b22d5f
Author: Hari <email address hidden>
Date: Thu Apr 28 16:02:27 2016 +0530

Do not create state on deleted entry.

In VRF notification, make sure state is not created on a deleted entry.

Change-Id: I1d22783ac6fb56080053c13f3cf72c20014c3203
closes-bug: #1574187

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

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

commit 84bac7102cc3e2190cd3ec600386fd4449b5a914
Author: Hari <email address hidden>
Date: Thu Apr 28 16:02:27 2016 +0530

Do not create state on deleted entry.

In VRF notification, make sure state is not created on a deleted entry.

Change-Id: I1d22783ac6fb56080053c13f3cf72c20014c3203
closes-bug: #1574187
(cherry picked from commit cbfad464e7ccac1b2d2b1a525595c4acb2b22d5f)

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.