Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#575
  • 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.

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

State: new
Milestone: none
Assigned to: Greg Schueler Greg Schueler

Activity

No comments yet.

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.