"contrail-status" command caused "..Read failed due to error 2 : End of file" log

Bug #1506795 reported by Slobodan Blatnjak
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Medium
Nikhil Bansal
R2.21.x
Fix Committed
Medium
Nikhil Bansal
R2.22.x
Fix Committed
Medium
Nikhil Bansal
R3.0
Fix Committed
Medium
Nikhil Bansal
Trunk
Fix Committed
Medium
Nikhil Bansal

Bug Description

When running "contrail-status" command or clicked "WebUI" of sandesh_uve Introspect,
the following messages logged at /var/log/contrail/contrail-control.log
> 2015 Oct 07 18:58:56.277051 JunTsn00 [Compute:contrail-tor-agent:1:TCP][SYS_ERR] : TcpSessionMessageLog:6323 Session
> 127.0.0.1:9010::127.0.0.1:43181 < Read failed due to error 2 : End of file
But "contrail-status" was fine (All status of node were active).

And also, there are displayed logs at WebUI when using Contrail Version 2.21, in other side there aren't displayed logs at WebUI when using Contrail Version 2.20.

Customer would like to understand reasons why the logs were created when we used "contrail-status" and why the logs were displayed at WebUI by using Contrail Version 2.21 (in case of Version 2.20,there were not displayed logs at WebUI).

Tags: analytics
Revision history for this message
Slobodan Blatnjak (sblatnjak) wrote :
Changed in juniperopenstack:
importance: Undecided → Medium
tags: added: analytics
Revision history for this message
Slobodan Blatnjak (sblatnjak) wrote :
Changed in juniperopenstack:
assignee: nobody → Raj Reddy (rajreddy)
information type: Proprietary → Public
Revision history for this message
Raj Reddy (rajreddy) wrote :

if we do contrail-status, then check contrail-logs --module contrail-vrouter-agent, we see these errors..

Changed in juniperopenstack:
assignee: Raj Reddy (rajreddy) → Nikhil Bansal (nikhilb-u)
Raj Reddy (rajreddy)
Changed in juniperopenstack:
importance: Medium → High
Revision history for this message
ctct-sup (next-cl-sdn-sup) wrote :

We'd like you to identify route cause and fix this issue untill the end of December.
Also, We'd like you to inculde fix to the contrail next version.

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

Review in progress for https://review.opencontrail.org/15232
Submitter: Nikhil Bansal (<email address hidden>)

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

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

commit ef96e3dd4710387d8aed63c948a8b74875900836
Author: Nikhil B <email address hidden>
Date: Wed Nov 18 13:46:58 2015 +0530

Dont log error in case of eof error for async_read

async_read returns eof to indicate that the other side has closed the socket.
This is a way for other side to know that socket should be closed now. There
is no need to log since it is not an error condition

Closes-Bug: 1506795

Change-Id: I5dc5dc0cb9a909d97dacff8ceef89c863a7536c7

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

Review in progress for https://review.opencontrail.org/15371
Submitter: Nikhil Bansal (<email address hidden>)

Revision history for this message
Jakub Pavlik (pavlk-jakub) wrote :

Can you please backport this fix into R2.21-x branch?

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

Reviewed: https://review.opencontrail.org/15371
Committed: http://github.org/Juniper/contrail-controller/commit/4c4b3986a6cdab645d6c22deaca6744db7948723
Submitter: Zuul
Branch: R2.20

commit 4c4b3986a6cdab645d6c22deaca6744db7948723
Author: Nikhil B <email address hidden>
Date: Wed Nov 18 13:46:58 2015 +0530

Dont log error in case of eof error for async_read

async_read returns eof to indicate that the other side has closed the socket.
This is a way for other side to know that socket should be closed now. There
is no need to log since it is not an error condition

Closes-Bug: 1506795

Change-Id: I5dc5dc0cb9a909d97dacff8ceef89c863a7536c7
(cherry picked from commit ef96e3dd4710387d8aed63c948a8b74875900836)

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

Review in progress for https://review.opencontrail.org/17072
Submitter: Nikhil Bansal (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/17176
Submitter: Nikhil Bansal (<email address hidden>)

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

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

commit 7be4ae50f70e58dd90c7a43dbcc433f54cd180ac
Author: Nikhil B <email address hidden>
Date: Fri Feb 12 15:10:01 2016 +0530

Dont log error in case of eof error for async_read

async_read returns eof to indicate that the other side has closed the socket.
This is a way for other side to know that socket should be closed now. There
is no need to log since it is not an error condition
Closes-Bug: 1506795

Change-Id: Iee04f8ff2ac99cf66275b1f3bc58c749ed344021

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

Review in progress for https://review.opencontrail.org/19108
Submitter: Jean-Philippe Braun (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/19109
Submitter: Jean-Philippe Braun (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/19108
Committed: http://github.org/Juniper/contrail-controller/commit/8829dd0ad7d8b3c4e5a5f310e6402382b50188ba
Submitter: Zuul
Branch: R2.21.x

commit 8829dd0ad7d8b3c4e5a5f310e6402382b50188ba
Author: Nikhil B <email address hidden>
Date: Wed Nov 18 13:46:58 2015 +0530

Dont log error in case of eof error for async_read

async_read returns eof to indicate that the other side has closed the socket.
This is a way for other side to know that socket should be closed now. There
is no need to log since it is not an error condition

Closes-Bug: 1506795

Change-Id: I5dc5dc0cb9a909d97dacff8ceef89c863a7536c7
(cherry picked from commit ef96e3dd4710387d8aed63c948a8b74875900836)

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

Reviewed: https://review.opencontrail.org/19109
Committed: http://github.org/Juniper/contrail-controller/commit/78a8ef325b7c059768c93966dd95b73c7be17a00
Submitter: Zuul
Branch: R2.21.x

commit 78a8ef325b7c059768c93966dd95b73c7be17a00
Author: Nikhil B <email address hidden>
Date: Fri Feb 12 15:10:01 2016 +0530

Dont log error in case of eof error for async_read

async_read returns eof to indicate that the other side has closed the socket.
This is a way for other side to know that socket should be closed now. There
is no need to log since it is not an error condition
Closes-Bug: 1506795

Change-Id: Iee04f8ff2ac99cf66275b1f3bc58c749ed344021
(cherry picked from commit 7be4ae50f70e58dd90c7a43dbcc433f54cd180ac)

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

Review in progress for https://review.opencontrail.org/19796
Submitter: Nikhil Bansal (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/19796
Committed: http://github.org/Juniper/contrail-controller/commit/2ad879adc280137ad0c7be3137dad6293e18eca5
Submitter: Zuul
Branch: R2.22.x

commit 2ad879adc280137ad0c7be3137dad6293e18eca5
Author: Nikhil B <email address hidden>
Date: Fri Feb 12 15:10:01 2016 +0530

Dont log error in case of eof error for async_read

async_read returns eof to indicate that the other side has closed the socket.
This is a way for other side to know that socket should be closed now. There
is no need to log since it is not an error condition
Closes-Bug: 1506795

Change-Id: Iee04f8ff2ac99cf66275b1f3bc58c749ed344021
(cherry picked from commit 7be4ae50f70e58dd90c7a43dbcc433f54cd180ac)

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.