netns command crashes not reported through nodemgr

Bug #1374396 reported by Vedamurthy Joshi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Undecided
Shabbir Hussain

Bug Description

R1.10 Build 41

Sometimes, due to some errors, netns commands crash. A crash file is generated in /var/crash

But it not reported in the Contrail UI as a crash

root@nodeh4:/var# ls -l crash
total 20
-rw-r----- 1 root root 18864 Sep 26 02:25 _usr_bin_opencontrail-vrouter-netns.0.crash
root@nodeh4:/var#

Tags: analytics
Revision history for this message
c mishra (cdmishra) wrote :

Can you provide few pieces of information:
a) Do you see this issue with ubuntu or centos?
b) How was the core dump caused?

Please also note that netns process is not managed by supervisor, so its cores will not get reported through nodemgr.

Changed in juniperopenstack:
assignee: c mishra (cdmishra) → Vedamurthy Joshi (vedujoshi)
Revision history for this message
Raj Reddy (rajreddy) wrote :

let's send all core files from all node managers, since the UI is just listing them it is okay
if the cores show up on all nodes' details pages..

Changed in juniperopenstack:
assignee: Vedamurthy Joshi (vedujoshi) → c mishra (cdmishra)
assignee: c mishra (cdmishra) → Shabbir Hussain (shabbirh)
Revision history for this message
c mishra (cdmishra) wrote :

There is another issue here. Core files are generated in /var/crash rather than /var/crashes.

Revision history for this message
c mishra (cdmishra) wrote :

Please also take care of this issue if possible as part of the bug fix:

With latest service name changes: For e.g. from vnswd to contrail-vrouter-agent, core files do not contain full process name any more.

We have core file names such as core.contrail-vroute.5988.nodea33.1416560429

This can lead to lack of clarity regarding which service crashed.

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

Reviewed: https://review.opencontrail.org/4889
Committed: http://github.org/Juniper/contrail-packaging/commit/a03216dc0a7a7992ca50d1e2b9452666de585a2d
Submitter: Zuul
Branch: master

commit a03216dc0a7a7992ca50d1e2b9452666de585a2d
Author: Shabbir Hussain <email address hidden>
Date: Sat Nov 22 09:48:51 2014 -0800

netns command crashes not reported through nodemgr Closes-Bug: #1374396

Change-Id: I88e126cbbf4677a0ce4f1b54c3b6d3ccf1d4a7dd

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

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

commit ab743e12ed8fa3b87db710f12b40f654e47cba7e
Author: Shabbir Hussain <email address hidden>
Date: Sat Nov 22 09:51:00 2014 -0800

netns command crashes not reported through nodemgr Closes-Bug: #1374396

Change-Id: Ie9d475a46f36b5cd36d2da1f5065d0eba115455a

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.