Skip to content

Access denied error  #228

@raphaelgon

Description

@raphaelgon

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions