-
Notifications
You must be signed in to change notification settings - Fork 903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple local commandline job hanging in Windows7 #175
Comments
(by Sankar Venkitachalam at 2012-06-15T14:16:32-07:00) I have attached additional information since xml seems to be truncated. |
(by Sankar Venkitachalam at 2012-06-18T07:19:45-07:00) Log output 53:57|CONFIG|l002600||1-script|LD1256MYK||Setting environment variable: RD_NODE_OS_VERSION=6.1^^^ The ' characters around the executable and arguments are The ' characters around the executable and arguments are The output of tmp file is echo "Testing script with " |
I am also having this problem with Windows 2008 Server, irregardless of the client OS/browser in 1.4.3. The job seems to hang at some random percentage almost every time, but if I refresh the page or view history, the job shows as completed successfully. The script does complete as expected but the output is always truncated. It really seems to occur the most for any script with extended output. For my one-liner's, I can usually get away without hanging. Is there any limitation on the amount of output lines runDeck can handle? And I was hoping for more of a Tail -f kind of experience. Is this the expectation I should have for output? Whenever I do get 20+ lines of output, I have to expand the window size by clicking on the + button or else I will only see the first few lines of output. Thanks. -Jason |
I'm guessing this is an issue with receiving the output from the execution (windows line endings) |
Hi Greg, I have tried tacking on 2>&1 to push everything to stdout but continued to have the problem. I then proceeded to add an openssh server and configured shared keys then configured jobs for ssh execution. I have also attempted to use the WMI execution plugin, but all fail to render more than a few lines of output but the script always fully completes. I would be happy to do any testing you can think of to draw a better conclusion? I'm going to build a fresh install with 1.4.4 first and make sure I can reproduce it. Any thoughts in the mean time, I will be quite happy to play with. Thanks! Cox Communications On Oct 29, 2012, at 1:10 PM, Greg Schueler notifications@github.com wrote:
|
Upon investigation of similar problem I found out that Rundeck executes something like If you try it yourselves, you will be presented with Windows cannot open this file dialog. cmd /c C:\local\rundeck\var\tmp\dispatch3476593604274014315.bat |
i believe this is an old issue that is no longer relevant |
* Install type: Jar (If War, include your app server name and version)
Issue:
I am trying to execute a simple .cmd file in a Local Windows installation.
contents of C:/local/rundeckscripts/remotecopy.cmd as follows:
echo "Testing script with "
echo "Completed testing"
resource definition:
Project definition ( I think I am not using the options below since the job script is defined explicitly ? )
Job definition:
Changing the path immidietely throws an error, so the path does not seem to be the issue. I am not getting the command line output and the job runs for ever. Eventually I have to kill it. Are Windows command lines supported. Also does backward forward slash , drive letter etc matter ? I have attached log file. The dispatcherxxxx.tmp output is follows:
echo "Testing script with "
echo "Completed testing"
I am stuck with this for a day, would appreciate any help.
Please also let me know where the job definition is stored.
Thanks,
Sankar
(For Rundeck GUI issues, please include the following:)
Reproduce: Reproducible.
Sample log file output attached
original LH ticket
Original Creator: Sankar Venkitachalam
The text was updated successfully, but these errors were encountered: