pramodav Absent Member.
Absent Member.
444 views

Issue while executing Remote Command in OO - 10.21 central

Hello OO Experts,

 

We have developed OO content using 10.20 studio and we are using Remote Command (Located @ /Base [1.4.4]/Library/Operations/Remote Command Execution/Remote Command ) operation in couple of OO flows.

 

During flow execution we are getting the below mentioned error in OO central:

We have seen this issue with SFTP Put operation as well.

Kindly help us to resolve this issue. I have attached the execution log for reference.

 

OO version à 10.21

Base content pack version à 1.4.4

 

(Result=channel is not opened.), (returnCode=-1), (returnResult=channel is not opened.), (exception=com.jcraft.jsch.JSchException: channel is not opened.

                at com.jcraft.jsch.Channel.sendChannelOpen(Channel.java:765)

                at com.jcraft.jsch.Channel.connect(Channel.java:151)

                at com.jcraft.jsch.Channel.connect(Channel.java:145)

                at com.iconclude.dharma.commons.security.ssh.SSHExecChannelProcessor.process(SSHExecChannelProcessor.java:138)

                at com.iconclude.dharma.commons.security.ssh.SSHOperation.exec(SSHOperation.java:79)

                at com.opsware.pas.content.commons.commandExecution.SSHCommandExecutor.execute(SSHCommandExecutor.java:53)

                at com.iconclude.content.actions.Remote.RemoteCommandAction.execute(RemoteCommandAction.java:210)

                at sun.reflect.GeneratedMethodAccessor820.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at com.hp.oo.sdk.plugins.abstracts.BaseActionPlugin.execute(BaseActionPlugin.java:53)

                at sun.reflect.GeneratedMethodAccessor819.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at com.hp.oo.maven.PluginAdapterImpl.executePlugin(PluginAdapterImpl.java:328)

                at com.hp.oo.maven.PluginAdapterImpl.execute(PluginAdapterImpl.java:248)

                at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:96)

                at sun.reflect.GeneratedMethodAccessor669.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at com.hp.score.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:71)

                at com.hp.score.worker.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:324)

                at com.hp.score.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:86)

                at com.hp.score.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:156)

                at com.hp.score.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:120)

                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

                at java.util.concurrent.FutureTask.run(FutureTask.java:262)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                at com.hp.score.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:41)

                at java.lang.Thread.run(Thread.java:745)

), (SESSION_ON=true)

Labels (1)
0 Likes
3 Replies
Honored Contributor.. connection Honored Contributor..
Honored Contributor..

Re: Issue while executing Remote Command in OO - 10.21 central

With this error I can think of it is something related to port. Can you also let know what is the remote host and protocol you using to connect.
0 Likes
pramodav Absent Member.
Absent Member.

Re: Issue while executing Remote Command in OO - 10.21 central

Thanks for looking into the issue

 

We are using Ubuntu as remote host

Port : 22

Protocol : ssh

 

Regards,

Pramod

0 Likes
Honored Contributor.. connection Honored Contributor..
Honored Contributor..

Re: Issue while executing Remote Command in OO - 10.21 central

Is the port communication between central to remote is opened.

If central is installed in windows, use telnet remote host 22
Remote host should be the same as what you given in the flow.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.