Customizable dispatch plugin
-
Greg Schueler
- State changed from new to open
- Assigned user set to Greg Schueler
- Milestone order changed from 12 to 0
-
Deleted User
(from [95afe0e27d9265372fc4f4215af9a101ccfdad2d]) Initial plugin system and service refactor [#240 Customizable dispatch plugin ] https://github.com/dtolabs/rundeck/commit/95afe0e27d9265372fc4f4215...
-
Deleted User
- Milestone order changed from 1 to 0
(from [4c1d3e628b4f86e75deb41733179b86c4d91b81d]) Support embedded jar dependencies in java plugin jars [#240 Customizable dispatch plugin ] https://github.com/dtolabs/rundeck/commit/4c1d3e628b4f86e75deb41733...
-
Alex-SF
- State changed from open to needs_verification
-
Alex-SF
- Tag set to feature request
-
Moses Lei
I attempted to use script-exec to provide the closest OpenSSH analogue to the current behavior of the jsch plugin.
Using this resources.yaml:
centos5.local: hostname: centos5.local username: mlei node-executor: script-exec script-exec: ssh -o "StrictHostKeyChecking no" ${node.username}@${node.hostname} ${script-exec.command}I get this message:
12:35:41 [null@centos5.local 1-exec][SEVERE] command-line: line 0: Bad configuration option: "StrictHostKeyChecking 12:35:41 [null@null null null][SEVERE] Execution failed on the following 1 nodes: {centos5.local=[Workflow results: {centos5.local=[[script-exec] success: false, result code: 255]}, failures: {centos5.local=[[script-exec] success: false, result code: 255]}: exception: com.dtolabs.rundeck.core.execution.workflow.WorkflowStepFailureException: Step 1 of the workflow failed with result: DispatcherResult{status=false, results={centos5.local=[script-exec] success: false, result code: 255}}]}Some kind of argument splitting is happening here that shouldn't be...
-
Moses Lei
With this resources.yaml:
centos5.local: hostname: centos5.local username: mlei node-executor: script-exec script-exec: ssh ${node.username}@${node.hostname} ${script-exec.command}I get:
12:39:58 [null@centos5.local 1-exec][SEVERE] bash: exec.command: command not found 12:39:58 [null@null null null][SEVERE] Execution failed on the following 1 nodes: {centos5.local=[Workflow results: {centos5.local=[[script-exec] success: false, result code: 127]}, failures: {centos5.local=[[script-exec] success: false, result code: 127]}: exception: com.dtolabs.rundeck.core.execution.workflow.WorkflowStepFailureException: Step 1 of the workflow failed with result: DispatcherResult{status=false, results={centos5.local=[script-exec] success: false, result code: 127}}]} -
Moses Lei
- State changed from needs_verification to open
- Tag changed from feature request to feature request, documentation
I got it to work with this:
centos5.local: hostname: centos5.local username: mlei node-executor: script-exec script-exec: ssh ${node.username}@${node.hostname} ${exec.command}Documentation needs to be fixed to say "exec.command" instead of "script-exec" command.
-
Moses Lei
Testing script-copy, this also failed:
centos5.local: hostname: centos5.local username: mlei node-executor: script-exec script-exec: ssh ${node.username}@${node.hostname} ${exec.command} file-copier: script-copy destdir: /tmp script-copy: scp ${file-copy.file} ${node.username}@${node.hostname}:${node.destdir}This job fails with no output:
- id: 76b66d5d-cf68-406f-9159-341b1f120888 project: test loglevel: INFO sequence: keepgoing: false strategy: node-first commands: - script: uname -a description: '' name: testjob2 uuid: 76b66d5d-cf68-406f-9159-341b1f120888 nodefilters: dispatch: threadcount: 1 keepgoing: false excludePrecedence: true include: name: centos5.localYou can't even download the output of this execution, it gives you a 404.
-
Deleted User
(from [5df490b858d6cbbd354fb42fcf3cee20c499ae40]) Update documentation for script-exec plugin [#240 Customizable dispatch plugin ] https://github.com/dtolabs/rundeck/commit/5df490b858d6cbbd354fb42fc...
-
Deleted User
- State changed from open to needs_verification
- Milestone order changed from 2 to 0
(from [df27a039f07993135acb8bfbe7a4e203d07e3b1c]) Update script plugin and docs to support shell execution option, and alternate filepath declaration for script-copy
[#240 Customizable dispatch plugin state:needs_verification] https://github.com/dtolabs/rundeck/commit/df27a039f07993135acb8bfbe...
-
Greg Schueler
committed change to fix the no-output issue
-
Alex-SF
- State changed from needs_verification to resolved
Verified in http://build.rundeck.org/job/release-1.3-rc/99/
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.