Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Log ssh timeout in service.log

#278

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.

Reported by Alex-SF · May 2nd, 2011 @ 06:26 PM

State: resolved
Milestone: Rundeck 1.3
Assigned to: Greg Schueler Greg Schueler

Activity

  1. Greg Schueler
    Greg Schueler

    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?

    May 18th, 2011 @ 01:56 PM

  2. Greg Schueler
    Greg Schueler

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

    May 18th, 2011 @ 01:56 PM

  3. Alex-SF
    Alex-SF

    Yes. Include configured time out.

    May 18th, 2011 @ 02:45 PM

  4. Greg Schueler
  5. Greg Schueler
    Greg Schueler
    • Tag set to needs_merge
    • State changed from new to open
    • Assigned user set to Greg Schueler
    • Milestone order changed from 32 to 0

    June 3rd, 2011 @ 04:34 PM

  6. Greg Schueler
    Greg Schueler
    • Tag cleared.
    • State changed from open to needs_verification

    ref commit under dupe issue #301 Log ssh timeout in service.log (1.3)

    June 3rd, 2011 @ 04:40 PM

  7. Alex-SF
    Alex-SF

    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}}]}
    

    June 8th, 2011 @ 09:44 AM

  8. Alex-SF
    Alex-SF
    • State changed from needs_verification to open

    June 8th, 2011 @ 10:10 AM

  9. Alex-SF
    Alex-SF
    • Tag set to logging, ssh

    June 8th, 2011 @ 11:23 AM

  10. Alex-SF
    Alex-SF
    • Tag changed from logging, ssh to feature request, logging, ssh

    June 8th, 2011 @ 11:46 AM

  11. Deleted User
  12. Greg Schueler
    Greg Schueler
    • State changed from open to needs_verification

    June 9th, 2011 @ 04:16 PM

  13. Alex-SF
    Alex-SF
    • State changed from needs_verification to resolved

    Confirmed.

    July 8th, 2011 @ 11:26 AM

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.