Set up a test job for Remote Execution and it fails with "Logon failed due to timeout."
# autorep -j test_remote_execution -d
Job Name Last Start Last End ST/Ex Run/Ntry Pri/Xit
_______________________________________________________________________________
test_remote_execution 03/30/2022 12:40:44 03/30/2022 12:40:44 FA 310800492/1 1
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- --------------------- ----------------------------------------
STARTING 03/30/2022 12:35:17 1 PD 03/30/2022 12:35:18 <machine>
RUNNING 03/30/2022 12:40:44 1 PD 03/30/2022 12:40:45 <machine>
FAILURE 03/30/2022 12:40:44 1 PD 03/30/2022 12:40:45
<Logon failed due to timeout. Last response is ast login: Wed Mar 30 12:38:52 2022 from 10.68.40.240...Autosys Required Environment Variable Settings..****** <target server host> is not a supported AutoSys Scheduler/Application server..([email protected]>
[*** ALARM ***]
JOBFAILURE 03/30/2022 12:40:45 1 PD 03/30/2022 12:40:47 qautoad
CA Workload Automation AE 12.0.01
Workload Automation Agent 12.0, Build 6181, Service Pack 00, Maintenance Level 00
Logon timeout:
03/30/2022 12:35:17.908-0400 5 ProxyPlugin.proxy Internal Thread.CybWOBRunProxyHandler.processWob[:86] - Processing WOB 788194.310800492_1/WAAE_WF0.1/MAIN: RemoteTarget(hostname) SpoolFile(/nfs/tmp/ken/remote_execution.out) ExitCode(0,S) Command1(df -h /export) User(...) Password(...) MFUser(...) WOBRequestID(312BA1821FB4B94E450F3AB43FBDCDD25014F37316486581179020)
03/30/2022 12:35:18.381-0400 5 ProxyPlugin.proxy Internal Thread.CybWOBRunProxyHandler.processWob[:145] - Submission thread started for WOB : 788194.310800492_1/WAAE_WF0.1/MAIN: RemoteTarget(hostname) SpoolFile(/nfs/tmp/ken/remote_execution.out) ExitCode(0,S) Command1(df -h /export) User(...) Password(...) MFUser(...) WOBRequestID(312BA1821FB4B94E450F3AB43FBDCDD25014F37316486581179020)
03/30/2022 12:35:18.381-0400 5 ProxyPlugin.788194.310800492_1/WAAE_WF0.1/MAIN[Proxy].ProxyConnection.<init>[:139] - Creating connection to qora16dbadm01 for WOB 788194.310800492_1/WAAE_WF0.1/MAIN
03/30/2022 12:35:18.381-0400 5 ProxyPlugin.788194.310800492_1/WAAE_WF0.1/MAIN[Proxy].ProxyConnection.<init>[:159] - Processing destination properties
03/30/2022 12:35:18.382-0400 5 ProxyPlugin.788194.310800492_1/WAAE_WF0.1/MAIN[Proxy].ProxyConnection.<init>[:175] - Creating ConnectionInfo
03/30/2022 12:35:18.383-0400 5 ProxyPlugin.788194.310800492_1/WAAE_WF0.1/MAIN[Proxy].ProxyConnection.<init>[:239] - Connecting...
03/30/2022 12:35:59.670-0400 1 ProxyPlugin.788194.310800492_1/WAAE_WF0.1/MAIN[Proxy].ProxyConnection.connect[:354] - Exception: java.lang.Exception: Logon failed due to timeout. Last response is ast login: Wed Mar 30 12:18:41 2022 from 10.68.40.240
Autosys Required Environment Variable Settings
****** remotehost is not a supported AutoSys Scheduler/Application server
([email protected])# ;wobId = 788194.310800492_1/WAAE_WF0.1/MAIN ;retryCount = 0
.......
03/30/2022 12:40:44.968-0400 1 ProxyPlugin.788194.310800492_1/WAAE_WF0.1/MAIN[Proxy].ProxyConnection.<init>[:246] - java.lang.Exception: Logon failed due to timeout. Last response is ast login: Wed Mar 30 12:38:52 2022 from 10.68.40.240
Autosys Required Environment Variable Settings
****** remotehost is not a supported AutoSys Scheduler/Application server
([email protected])#
at cybermation.plugins.proxy.tasks.SSH2Connection.connectAndLogon(SSH2Connection.java:233)
at cybermation.plugins.proxy.ProxyConnection.connect(ProxyConnection.java:323)
at cybermation.plugins.proxy.ProxyConnection.<init>(ProxyConnection.java:240)
at cybermation.plugins.proxy.RemoteExecutionHandler.run(RemoteExecutionHandler.java:217)
at java.lang.Thread.run(Thread.java:821)
03/30/2022 12:40:44.968-0400 5 ProxyPlugin.788194.310800492_1/WAAE_WF0.1/MAIN[Proxy].ProxyConnection.disconnect[:372] - Disconnecting connection for 788194.310800492_1/WAAE_WF0.1/MAIN
03/30/2022 12:40:44.968-0400 5 ProxyPlugin.788194.310800492_1/WAAE_WF0.1/MAIN[Proxy].ProxyConnection.disconnect[:375] - Finished disconnecting for 788194.310800492_1/WAAE_WF0.1/MAIN
Raise the value for login.endPromptTimeout to 120000 in unixssh2.properties and restart the agent.