Discussion:
[Supervisor-users] SSH to Windows machines no command output
Vincent Derelle
2014-02-11 16:31:36 UTC
Permalink
Hello,

In our organisation we're using Fabric to manage the execution of commands on both Linux and Windows machines. We installed the Cygwin + the OpenSSH package on our Windows servers.
The problem is that almost ALL commands don't return output after a fabric execution. Example:

fab -H example.test.org runs_in_parallel:date,windows

Output:
[vincent-windows-admin-testing12.mqel.ubisoft.com] Executing task 'runs_in_parallel'
[vincent-windows-admin-testing12.mqel.ubisoft.com] run: date

Done.


Same thing for a command that should output something more lines like:

fab -H example.test.org runs_in_parallel:cat,windows,/etc/test

[vincent-windows-admin-testing12.mqel.ubisoft.com] Executing task 'runs_in_parallel'
[vincent-windows-admin-testing12.mqel.ubisoft.com] run: date

Done.

Where test is a text file with over 3000 lines of text. I can obviously SSH directly into the Windows server (Cygwin+OpenSSH) and do a 'cat test' which will output the contents of the text file.

The ONLY command which displays the outputs successfully is 'chef-client' which is the Chef (http://www.getchef.com/) client utility which does configuration management for the nodes in our infrastructure.

Is anyone here familiar with the idiosyncrasies of Fabric and Cygwin + OpenSSH on a Windows server? Any known tweaks that may be done to solve this?

Thanks
Vincent
Aryeh Leib Taurog
2014-02-11 16:40:58 UTC
Permalink
Maybe try the fabric users mailing list? fab-***@nongnu.org
Supervisor doesn't run on windows, so I don't expect you'll get much
help here.
Post by Vincent Derelle
Hello,
In our organisation we're using Fabric to manage the execution of commands on both Linux and Windows machines. We installed the Cygwin + the OpenSSH package on our Windows servers.
fab -H example.test.org runs_in_parallel:date,windows
[vincent-windows-admin-testing12.mqel.ubisoft.com] Executing task 'runs_in_parallel'
[vincent-windows-admin-testing12.mqel.ubisoft.com] run: date
Done.
fab -H example.test.org runs_in_parallel:cat,windows,/etc/test
[vincent-windows-admin-testing12.mqel.ubisoft.com] Executing task 'runs_in_parallel'
[vincent-windows-admin-testing12.mqel.ubisoft.com] run: date
Done.
Where test is a text file with over 3000 lines of text. I can obviously SSH directly into the Windows server (Cygwin+OpenSSH) and do a 'cat test' which will output the contents of the text file.
The ONLY command which displays the outputs successfully is 'chef-client' which is the Chef (http://www.getchef.com/) client utility which does configuration management for the nodes in our infrastructure.
Is anyone here familiar with the idiosyncrasies of Fabric and Cygwin + OpenSSH on a Windows server? Any known tweaks that may be done to solve this?
Thanks
Vincent
_______________________________________________
Supervisor-users mailing list
https://lists.supervisord.org/mailman/listinfo/supervisor-users
Vincent Derelle
2014-02-11 16:42:27 UTC
Permalink
Pfft, oh man, so sorry about that. Discard my previous email. :)

-----Message d'origine-----
De : supervisor-users-***@lists.supervisord.org [mailto:supervisor-users-***@lists.supervisord.org] De la part de Aryeh Leib Taurog
Envoyé : 11 février 2014 11:41
À : supervisor-***@lists.supervisord.org
Objet : Re: [Supervisor-users] SSH to Windows machines no command output
Post by Vincent Derelle
Hello,
In our organisation we're using Fabric to manage the execution of commands on both Linux and Windows machines. We installed the Cygwin + the OpenSSH package on our Windows servers.
fab -H example.test.org runs_in_parallel:date,windows
[vincent-windows-admin-testing12.mqel.ubisoft.com] Executing task 'runs_in_parallel'
[vincent-windows-admin-testing12.mqel.ubisoft.com] run: date
Done.
fab -H example.test.org runs_in_parallel:cat,windows,/etc/test
[vincent-windows-admin-testing12.mqel.ubisoft.com] Executing task 'runs_in_parallel'
[vincent-windows-admin-testing12.mqel.ubisoft.com] run: date
Done.
Where test is a text file with over 3000 lines of text. I can obviously SSH directly into the Windows server (Cygwin+OpenSSH) and do a 'cat test' which will output the contents of the text file.
The ONLY command which displays the outputs successfully is 'chef-client' which is the Chef (http://www.getchef.com/) client utility which does configuration management for the nodes in our infrastructure.
Is anyone here familiar with the idiosyncrasies of Fabric and Cygwin + OpenSSH on a Windows server? Any known tweaks that may be done to solve this?
Thanks
Vincent
_______________________________________________
Supervisor-users mailing list
https://lists.supervisord.org/mailman/listinfo/supervisor-users
Loading...