#575 new
Michael Gibson

not able to override file-copier or local-file-copier execution services in the resources.yaml configuration

Reported by Michael Gibson | May 23rd, 2012 @ 12:52 PM

  • Issue Type: Bug
  • Rundeck version: 1.4.2
  • JDK Version: sun 1.6.0_31
  • Server OS: CentOS 5.7
    • Install type: Yum-rpm

Issue:
Reference: https://groups.google.com/forum/?fromgroups#!topic/rundeck-discuss/...

I am trying to use "local" on the remote nodes.
So ssh/scp is the default executor on remote nodes.
And what I have been doing is put
node-executor: local
on all the nodes in my resources.yaml that I want to override that setting on.
This works for normal "command" steps in the workflow.

"script" steps use the file-copier provider. So for those I was putting
file-copier: local
on all the nodes in my resources.yaml that I want to override that setting on.
That setting is not having an effect and the job attempts to scp the script to the dispatched nodes.

Putting
service.FileCopier.default.provider=local
in the project.properties seems to override the scp setting.

This is not ideal if you want to manage this setting on a node level basis.

Reproduce:
Create a job that uses a "script" step in the workflow.
Use the dispatch to nodes filter.
Edit the resources.yaml for the project.
put "file-copier: local" in the node you are dispatching to.
run the job and it will still attempt to use jsch-scp to copy the file to the remote node.

No comments found

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins

People watching this ticket

Pages