Tor agent crashes everytime on querying ACLs in Monitor> Infrastructure > Virtual Routers > (<<tor-name>>)

Bug #1426231 reported by Vedamurthy Joshi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Prabhjot Singh Sethi
R2.1
Fix Committed
High
Prabhjot Singh Sethi

Bug Description

Build 2.1 39 Ubuntu 14.04 Icehouse multi-node setup

Tor agent crashes everytime on querying ACLs in Monitor> Infrastructure > Virtual Routers > (<<tor-name>>)

Core is in http://10.204.216.50/Docs/bugs/#

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/contrail-tor-agent --config_file /etc/contrail/contrail-tor-agent-82.c'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f22ae6a0bb9 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007f22ae6a0bb9 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f22ae6a3fc8 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f22ae699a76 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f22ae699b22 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000cfb713 in TaskImpl::execute (this=<optimized out>) at controller/src/base/task.cc:247
#5 0x00007f22af8a8b3a in ?? () from /usr/lib/libtbb.so.2
#6 0x00007f22af8a4816 in ?? () from /usr/lib/libtbb.so.2
#7 0x00007f22af8a3f4b in ?? () from /usr/lib/libtbb.so.2
#8 0x00007f22af8a00ff in ?? () from /usr/lib/libtbb.so.2
#9 0x00007f22af8a02f9 in ?? () from /usr/lib/libtbb.so.2
#10 0x00007f22afac4182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f22ae764fbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) quit
root@nodei38:/var/crashes#

tags: added: releasenote
Revision history for this message
Nagabhushana R (bhushana) wrote :

Release Notes: Querying ACLs and FLows through Contrail UI for ToR agent nodes is not valid.

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

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

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

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

commit 43a1725af7512baf804b72f63aaf3e5bb687bcde
Author: Prabhjot Singh Sethi <email address hidden>
Date: Mon Mar 9 02:59:27 2015 -0700

Fix TOR Agent introspect crash

issue:
------
Flow Module is not inited by TOR Agent due to which
these callbacks remains empty, which on invokation
results in crash.

fix:
----
Do empty check before calling function callbacks.

Change-Id: I5598af0bf02e759cf87604905b83503322a1a71c
Closes-Bug: 1426231

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

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

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

Reviewed: https://review.opencontrail.org/8215
Committed: http://github.org/Juniper/contrail-controller/commit/66cd2c7f1a189df9b687abeb86caffdad9d0787d
Submitter: Zuul
Branch: R2.1

commit 66cd2c7f1a189df9b687abeb86caffdad9d0787d
Author: Prabhjot Singh Sethi <email address hidden>
Date: Mon Mar 9 02:59:27 2015 -0700

Fix TOR Agent introspect crash

issue:
------
Flow Module is not inited by TOR Agent due to which
these callbacks remains empty, which on invokation
results in crash.

fix:
----
Do empty check before calling function callbacks.

Closes-Bug: 1426231
(cherry picked from commit 43a1725af7512baf804b72f63aaf3e5bb687bcde)

Change-Id: If760f105635d4cea60cb21164ad7d4f74b1bcd60

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.