[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (BROOKLYN-598) ssh based activities fail if remote shell is fish


Paul Campbell created BROOKLYN-598:
--------------------------------------

             Summary: ssh based activities fail if remote shell is fish
                 Key: BROOKLYN-598
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-598
             Project: Brooklyn
          Issue Type: Bug
            Reporter: Paul Campbell


Remote commands are never executed and brooklyn hangs awaiting shell threads to complete.
{noformat}
Task[ssh: launching VanillaSoftwareProcessImpl{id=wrxf0wi528}]@geG8s3B9
Submitted by MaybeSupplier[value=Task[launch (main)]@gnbP4pi1]

In progress, thread waiting (timed) on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4203203f
At: net.schmizz.concurrent.Promise.tryRetrieve(Promise.java:171)
    net.schmizz.concurrent.Promise.retrieve(Promise.java:138)
    net.schmizz.concurrent.Event.await(Event.java:105)
    net.schmizz.sshj.connection.channel.AbstractChannel.join(AbstractChannel.java:267)
    org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool$ShellAction.create(SshjTool.java:1003)
    org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool$ShellAction.create(SshjTool.java:920)
    org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool.acquire(SshjTool.java:621)
    org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool.acquire(SshjTool.java:607)
    org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool$1.run(SshjTool.java:321)
    org.apache.brooklyn.util.core.internal.ssh.sshj.SshjTool.execScript(SshjTool.java:323)
    org.apache.brooklyn.util.core.task.system.internal.ExecWithLoggingHelpers$1.exec(ExecWithLoggingHelpers.java:78)
    org.apache.brooklyn.util.core.task.system.internal.ExecWithLoggingHelpers$3.apply(ExecWithLoggingHelpers.java:157)
    org.apache.brooklyn.util.core.task.system.internal.ExecWithLoggingHelpers$3.apply(ExecWithLoggingHelpers.java:154)
    org.apache.brooklyn.util.pool.BasicPool.exec(BasicPool.java:146)
    org.apache.brooklyn.location.ssh.SshMachineLocation.execSsh(SshMachineLocation.java:564)
    org.apache.brooklyn.location.ssh.SshMachineLocation$13.execWithTool(SshMachineLocation.java:744)
    org.apache.brooklyn.util.core.task.system.internal.ExecWithLoggingHelpers.execWithLogging(ExecWithLoggingHelpers.java:154)
    org.apache.brooklyn.util.core.task.system.internal.ExecWithLoggingHelpers.execScript(ExecWithLoggingHelpers.java:76)
    org.apache.brooklyn.location.ssh.SshMachineLocation.execScript(SshMachineLocation.java:727)
    org.apache.brooklyn.entity.software.base.AbstractSoftwareProcessSshDriver.execute(AbstractSoftwareProcessSshDriver.java:292)
    org.apache.brooklyn.entity.software.base.lifecycle.ScriptHelper.executeInternal(ScriptHelper.java:374)
    org.apache.brooklyn.entity.software.base.lifecycle.ScriptHelper$8.call(ScriptHelper.java:295)
    org.apache.brooklyn.entity.software.base.lifecycle.ScriptHelper$8.call(ScriptHelper.java:292)
    org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:364)
    org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:565){noformat}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)