#278 ✓resolved
Alex-SF

Log ssh timeout in service.log

Reported by Alex-SF | May 2nd, 2011 @ 06:26 PM | in Rundeck 1.3 (closed)

If framework.ssh.timeout period is exceeded, the command/job will fail but the error message does not state error condition.

The error log message should say something like:

Timeout period exceeded (after 300sec), connection dropped.

Comments and changes to this ticket

  • Greg Schueler

    Greg Schueler May 18th, 2011 @ 01:56 PM

    there is a log message already about timeout for ssh connection... so are you requesting the specific timeout duration to be included in a log message?

  • Greg Schueler

    Greg Schueler May 18th, 2011 @ 01:56 PM

    it says, e.g.: Failed execution for node: test1: com.jcraft.jsch.JSchException: timeout: socket is not established

  • Alex-SF

    Alex-SF May 18th, 2011 @ 02:45 PM

    Yes. Include configured time out.

  • Greg Schueler
  • Greg Schueler

    Greg Schueler June 3rd, 2011 @ 04:34 PM

    • Tag set to needs_merge
    • State changed from “new” to “open”
    • Assigned user set to “Greg Schueler”
    • Milestone order changed from “32” to “0”
  • Greg Schueler

    Greg Schueler June 3rd, 2011 @ 04:40 PM

    • Tag cleared.
    • State changed from “open” to “needs_verification”

    ref commit under dupe issue #301

  • Alex-SF

    Alex-SF June 8th, 2011 @ 09:44 AM

    Not seeing the new message:

    09:40:25 com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out
    09:40:26 Darwin strongbad 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386

    09:40:26    com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out
    09:40:26    Execution failed on the following 2 nodes: {centos=[Workflow results: {centos=[[jsch-ssh] result was failure, resultcode: -1: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out]}, failures: {centos=[[jsch-ssh] result was failure, resultcode: -1: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out]}: exception: com.dtolabs.rundeck.core.execution.workflow.WorkflowStepFailureException: Step 1 of the workflow failed with result: DispatcherResult{status=false, results={centos=[jsch-ssh] result was failure, resultcode: -1: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out}}], ubuntu=[Workflow results: {ubuntu=[[jsch-ssh] result was failure, resultcode: -1: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out]}, failures: {ubuntu=[[jsch-ssh] result was failure, resultcode: -1: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out]}: exception: com.dtolabs.rundeck.core.execution.workflow.WorkflowStepFailureException: Step 1 of the workflow failed with result: DispatcherResult{status=false, results={ubuntu=[jsch-ssh] result was failure, resultcode: -1: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out}}]}
    
  • Alex-SF

    Alex-SF June 8th, 2011 @ 10:10 AM

    • State changed from “needs_verification” to “open”
  • Alex-SF

    Alex-SF June 8th, 2011 @ 11:23 AM

    • Tag set to logging, ssh
  • Alex-SF

    Alex-SF June 8th, 2011 @ 11:46 AM

    • Tag changed from logging, ssh to feature request, logging, ssh
  • Deleted User
  • Greg Schueler

    Greg Schueler June 9th, 2011 @ 04:16 PM

    • State changed from “open” to “needs_verification”
  • Alex-SF

    Alex-SF July 8th, 2011 @ 11:26 AM

    • State changed from “needs_verification” to “resolved”

    Confirmed.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins

People watching this ticket

Referenced by

Pages