Agent crash at FlowProto::KSyncEventRequest

Bug #1578660 reported by amit surana
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Critical
Praveen
Trunk
Fix Committed
Critical
Praveen

Bug Description

core is in 10.84.5.112:/cs-shared/bugs/<bug-id>/

(gdb) bt
#0 0x0000000000c3c67d in FlowProto::EnqueueFlowEvent(FlowEvent*) ()
#1 0x0000000000c3cfac in FlowProto::KSyncEventRequest(KSyncEntry*, KSyncEntry::KSyncEvent, unsigned int, unsigned char, int, unsigned long, unsigned long, int) ()
#2 0x0000000000cd09bf in FlowTableKSyncObject::NetlinkAck(KSyncEntry*, KSyncEntry::KSyncEvent) ()
#3 0x0000000000d08888 in KSyncBulkSandeshContext::Decoder(char*, unsigned int, unsigned int, bool) ()
#4 0x0000000000d07290 in KSyncSock::ProcessKernelData(char*) ()
#5 0x0000000000d0d21f in QueueTaskRunner<char*, WorkQueue<char*> >::Run() ()
#6 0x00000000011a2d7f in TaskImpl::execute() ()
#7 0x00007fc0348aeb3a in ?? () from /usr/lib/libtbb.so.2
#8 0x00007fc0348aa816 in ?? () from /usr/lib/libtbb.so.2
#9 0x00007fc0348a9f4b in ?? () from /usr/lib/libtbb.so.2
#10 0x00007fc0348a60ff in ?? () from /usr/lib/libtbb.so.2
#11 0x00007fc0348a62f9 in ?? () from /usr/lib/libtbb.so.2
#12 0x00007fc034aca182 in start_thread (arg=0x7fc01ca57700) at pthread_create.c:312
#13 0x00007fc033da347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) q

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

Review in progress for https://review.opencontrail.org/19937
Submitter: Praveen K V (<email address hidden>)

Changed in juniperopenstack:
assignee: Hari Prasad Killi (haripk) → Praveen (praveen-karadakal)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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

commit 333d3e4454ae0e851b93b7aed2687905b22c14cb
Author: Praveen K V <email address hidden>
Date: Thu May 5 12:49:46 2016 +0530

Define new class for FlowEvent queues

1. Define new class for FlowEvent queues. The new class makes it easier to
add common functionality needed for all flow-event queues
2. Added functionality to log message if time taken for single run of a
queue exceeds a threshold
3. Fix crash in UpdateStats. When FlowEvent is enqueued to work-queue,
it can be processed and released before we hit UpdateStats. Ensure
that UpdateStats is invoked before enqueuing FlowStats

Change-Id: I7fa217b1b200cb01202e7731d792318ea88f3f91
Closes-Bug: #1578660
Partial-Bug: #1568126
Partial-Bug: #1572270
Partial-Bug: #1572471

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

Review in progress for https://review.opencontrail.org/20087
Submitter: Praveen K V (<email address hidden>)

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

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

commit 145db6eebcf72fa07df0ce7c04992bcd2a72acbc
Author: Praveen K V <email address hidden>
Date: Mon May 9 23:12:57 2016 +0530

Support state-compression for flow delete events

Move the PendingAction state-compression logic to FlowEvent handler
module.
Rename REVALUATE_FLOW to RECOPMUTE_FLOW
Change FLOW_MESSAGE event to have FlowEntry as member
Add UT for state-compression of delete events

Change-Id: I5480c02c27385e1fa8c63820da1a09b24b7898bb
Closes-Bug: #1578660
Partial-Bug: #1568126
Partial-Bug: #1572270
Partial-Bug: #1572471

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

Review in progress for https://review.opencontrail.org/20229
Submitter: Praveen K V (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/20230
Submitter: Praveen K V (<email address hidden>)

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

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

commit 89a2b24d7fd3276b1408ac3d5c52f8569be89e9d
Author: Praveen K V <email address hidden>
Date: Thu May 5 12:49:46 2016 +0530

Define new class for FlowEvent queues

1. Define new class for FlowEvent queues. The new class makes it easier to
add common functionality needed for all flow-event queues
2. Added functionality to log message if time taken for single run of a
queue exceeds a threshold
3. Fix crash in UpdateStats. When FlowEvent is enqueued to work-queue,
it can be processed and released before we hit UpdateStats. Ensure
that UpdateStats is invoked before enqueuing FlowStats

Conflicts:
 src/vnsw/agent/pkt/flow_proto.h

Change-Id: I7fa217b1b200cb01202e7731d792318ea88f3f91
Closes-Bug: #1578660
Partial-Bug: #1568126
Partial-Bug: #1572270
Partial-Bug: #1572471

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

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

commit 951cc987316570db3ba90019219182a7cb8e5fd9
Author: Praveen K V <email address hidden>
Date: Mon May 9 23:12:57 2016 +0530

Support state-compression for flow delete events

Move the PendingAction state-compression logic to FlowEvent handler
module.
Rename REVALUATE_FLOW to RECOPMUTE_FLOW
Change FLOW_MESSAGE event to have FlowEntry as member
Add UT for state-compression of delete events

Conflicts:
 src/vnsw/agent/pkt/flow_proto.h
 src/vnsw/agent/vrouter/flow_stats/flow_stats_collector.cc

Change-Id: I5480c02c27385e1fa8c63820da1a09b24b7898bb
Closes-Bug: #1578660
Partial-Bug: #1568126
Partial-Bug: #1572270
Partial-Bug: #1572471

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.