Ssh connection issue -- no output


(Deepchandna) #1

In the first example, we got stdout but in second , we did not. Please suggest some solution.

Example1:-
[st2admin@zld06789 ~]$ st2 run core.remote cmd=whoami hosts=best1230037.hello.test.com
.
id: 5b59e4363648f875c6e88bf0
status: succeeded
parameters:
cmd: whoami
hosts: best1230037.hello.test.com
result:
best1230037.hello.test.com:
failed: false
return_code: 0
stderr: ‘’
stdout: m44036
succeeded: true

Example2:-
[st2admin@zld0xxxx ~]$ st2 run core.remote cmd=whoami hosts=test1230037.hello.test.com
.
id: 5b59e3de3648f875c6e88bed
status: succeeded
parameters:
cmd: whoami
hosts: test1230037.hello.test.com
result:
test1230037.hello.test.com:
failed: false
return_code: 0
stderr: ‘’
stdout: ‘’
succeeded: true


(Lindsay Hill) #2

What is the difference between the remote systems used for the first and second tests?


(Deepchandna) #3

Both are linux and RHEL5_U11 but only difference i see is one is VMWARE and other one is physical server.
physical server is returning stdout but VMWARE not or sometimes.


(Deepchandna) #4

I tired few commands on different VMWARE and it worked.