Skip to content
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

Access denied error #228

Open
raphaelgon opened this issue Jul 27, 2018 · 0 comments
Open

Access denied error #228

raphaelgon opened this issue Jul 27, 2018 · 0 comments

Comments

@raphaelgon
Copy link

Hi,

I am migrating rundeck from a Linux Box with 2.5.1 version + winrm 1.3.1 plugin to a docker container running rundeck latest version + 1.3.4 winrm plugin, and I am facing the follow cenario.

In my old box, I can run sucessfully a remote script on a Windows 2008 Server box, with the following command:
dir \vrt0757\SI4-Rundeck\Restart_Workers.ps1 (vrt0757 is another windows machine on my domain network).

image

But on my new box, the same script gives me an error.
Access is denied.
[overthere-winrm:vrt0754.bndes.net] failed: exit code: 1
Failed: NonZeroResultCode: [overthere-winrm] result code: 1
lxc01.inf.bndes.net Execution failed: 72979 in project SI4: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [SI4-Workers01-HOM: NonZeroResultCode: [overthere-winrm] result code: 1 + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, Node failures: {SI4-Workers01-HOM=[NonZeroResultCode: [overthere-winrm] result code: 1 + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, status: failed]

image

These were the steps I did to migrate the project from one box to another:
1 - Exported the project on old box and imported on the new one;
2 - Copied the acl configuration from one box to another;
3 - Copied the nodes.yaml configuration from one box to another;
4 - Copied the keys folder from one box to another;

I can execute remote commands on the new box, It seems that only commands that target shared folders are not working.

I searched for the "double hop" problem but it seems like it´s not my case since it worked on the old box.

Any ideas ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant