Questions tagged [remote-execution]

105 questions
1
vote
1 answer

Terraform Output linux command option?

Is there any way I can execute a command on remote machine with Terraform and have the result of that command show me by output? I can use provisioner(remote-exec) to install and run commands on remote machine but couldn't find a way to the result…
cloudops
  • 45
  • 7
1
vote
1 answer

Failed to query remote execution capabilities: connection timed out

I'm trying to run a remote build execution with bazel buildfarm memory workers on our k8s cluster. I've set up the server pods, worker pods, and redis clusters, as buildfarm's architecture requires it, along with k8s services and ingresses to allow…
M80
  • 191
  • 1
  • 14
1
vote
1 answer

tput: No value for $TERM and no -T specified while using Ruby Net:SSH

I'm using the Ruby Net:SSH lib to do a ssh connection to a remote PC and then execute a remote cmd. When I start my SSH connection I have no issue but sometimes, not everywhere, when I use the exec! I have an error returned into the stderr which is…
Frage
  • 13
  • 4
1
vote
1 answer

Get PowerShell script output from C++ App

Which is the better way to read output of a PowerShell script using C++ application. Tried with below code but couldn't get the output. It's perfectly ok to execute the same PowerShell script from a console but wanted to get the output of the…
Nani
  • 1,148
  • 3
  • 20
  • 35
1
vote
1 answer

Is there a way to remote exec a shell script as a root user through Terraform on Windows Azure

I am doing following on Azure cloud using Terraform, Create a RHEL OS VM on Azure. Copy a setup.sh file to the new VM. Using remote execution, I am running a setup.sh script as below. provisioner "remote-exec" { inline = [ "chmod +x…
1
vote
1 answer

Building TensorFlow with bazel-buildfarm

I'm trying to build TensorFlow from-source using remote execution+caching with bazel-buildfarm. I have setup a bazel-buildfarm server and worker using example configuration files @ https://github.com/bazelbuild/bazel-buildfarm (see examples/…
1
vote
1 answer

GNU Parallel does not do anything using remote execution

I just need a hint. I am trying to run the following command from the GNU parallel tutorial (GNU Parallel tutorial): parallel -S $SERVER1,$SERVER2 echo ::: running on more hosts I replaced $SERVERX with known hosts in my network. If I execute the…
No Body
  • 154
  • 1
  • 1
  • 6
1
vote
1 answer

Remote Execution platform

I’m looking for a framework/platform that would allow me to execute remote commands on a Windows machine and report back the results. These machines would be public outside our company network, probably behind firewalls, proxies, etc. We have…
Narcis
  • 5,862
  • 3
  • 23
  • 30
1
vote
1 answer

How to run a remote Java file from command line instead of locally from Eclipse

I have an Eclipse project that contains a file that I would like to be able to run from the command line remotely. The reason being, it is easier for me to run it for a long period of time if it is running remotely on some server. That way, I can…
well actually
  • 11,810
  • 19
  • 52
  • 70
1
vote
1 answer

Set bazel invocation_id from command line

By default bazel produces UUID per invocation. Some of the tools we're using use this Id to link their entities to the specific bazel invocation. Is there a bazel flag to force our own Id instead of bazel's? I looked in bazel official docs and…
orshachar
  • 4,837
  • 14
  • 45
  • 68
1
vote
0 answers

Synchronize remote code execution with Python in multiple devices

I have three remote devices controlled by another one. What I want is those remote devices to execute a code in a syncronous way. I mean, all at the exact time. This comes from the need to take photos from different perspectives in the same time…
user3748883
  • 319
  • 2
  • 16
1
vote
1 answer

salt stack: how to get multiple grains on command line remote execution?

Using salt on the command line, how can I get multiple grains from remote systems? For example, I can get os and osrelease individually: salt '*' grains.get os salt '*' grains.get osrelease But I really want to get them both simultaneously, so I…
Edward Ned Harvey
  • 6,525
  • 5
  • 36
  • 45
1
vote
1 answer

Set-ItemProperty physicalPath

Remote execution for setting physicalPath is erroring with the following message: Cannot find drive. A drive with the name 'IIS' does not exist. What is wrong with the following? $site = Read-Host "What is the name of the virtual?" $newpath =…
G Rojas
  • 35
  • 8
1
vote
2 answers

How is throughput calculated when using JMeter slaves?

Given I have a JMeter test script that would have a constant throughput of 200 transactions (running threads) per minute, and I have two slaves controlled by the JMeter master that would execute that script, would the resulting throughput be doubled…
Kai
  • 2,145
  • 1
  • 20
  • 35
1
vote
0 answers

nodejs - Error: Timed out while waiting for handshake

I am using remote-exec which uses the ssh2 npm package and I am getting the following error Error: Timed out while waiting for handshake The code which I am running is the following var rexec = require('remote-exec'); // see documentation for…
Alex Johnston
  • 99
  • 1
  • 7