Bug 983457 - Why virtual host fail to add and which process working in 10 minutes ?
Summary: Why virtual host fail to add and which process working in 10 minutes ?
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Alon Bar-Lev
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-11 09:23 UTC by Yoshinori Takahashi
Modified: 2018-12-03 19:20 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-09 11:54:05 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Alon Bar-Lev 2013-07-11 13:17:10 UTC
Nothing after this message.

1. Please attach logs from /tmp/*.log
2. Please see if in this duration python is running on host (child of sshd).
3. Please perform strace -p <python_pid> and see if there is any activity.

Thanks!

Comment 8 Alon Bar-Lev 2013-07-29 06:36:45 UTC
What about my requests?

Comment 25 Alon Bar-Lev 2013-08-15 09:26:11 UTC
Hi,

What we see is that host holds the session while python script has exited. This is not expected behavior form openssh sshd, and the problem is unlikely at the engine side.

We have no such report so far, so I am really curios of what the difference within this setup.

Yoshinori if you install this on lab, do you get the same behavior?

Also, can you please make sure that:

ssh root@<host> sleep 10

Actually returns?

Another strange thing is that while process begins at 13:42:34 it times out at 14:42:34, which is one hour!!! we do not have default of one hour for timeouts... So unless the SSHInactivityTimoutSeconds was set to one hour, I do not understand how this can be, unless something at engine machine is 

Just in case... to eliminate bugs in ssh processing in java, can you please:

1. download[1][2]

2. remove (move/backup):

/usr/share/ovirt-engine/engine.ear/lib/mina-core-2.0.1.jar
/usr/share/ovirt-engine/engine.ear/lib/sshd-core-0.7.0.jar

3. copy from [1] dist/mina-core-2.0.7.jar to /usr/share/ovirt-engine/engine.ear/lib

4. copy from [2] lib/sshd-core-0.8.0.jar to /usr/share/ovirt-engine/engine.ear/lib

5. restart engine and try again.

If that is not working either, I will write a test program for you to run, maybe we will be able to reproduce the engine without using any of the rhevm components.

Thanks!

[1] http://www.apache.org/dyn/closer.cgi/mina/sshd/0.8.0/dist/apache-sshd-0.8.0.tar.gz
[2] http://www.apache.org/dyn/closer.cgi/mina/mina/2.0.7/dist/apache-mina-2.0.7-bin.tar.gz

Comment 39 Andrew Cathrow 2013-09-09 11:54:05 UTC
Closing - will re-open if we get a reproducer


Note You need to log in before you can comment on or make changes to this bug.