Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Error creating Cluster on windows 2012 R2 Server through Ansible
17 views
Skip to first unread message
ashish chanda
unread,
Nov 28, 2016, 7:05:57 PM
11/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi,
I am using ansible to create Cluster on windows 2012 R2 Server where i am getting issues like
access denied on new cluster command
on adding the second node to the cluster.
I am using kerberos authentication since i needed to login using domain
account
as opposed to local account. Also i am using PYWINRM to connect.
s = winrm.Session('192.X.X.X',
auth=('Administrator@CORP.
LOCAL', 'anything'), transport='kerberos')
r = s.run_ps("""New-Cluster -Name mycluster -Node firstcomputer.CORP.LOCAL,secondcomputer.CORP.LOCAL -StaticAddress 192.X.X.X""")
Please help.
Thanks,
Ashish
J Hawkesworth
unread,
Nov 29, 2016, 3:44:36 AM
11/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hello,
I think you need to allow delegation of credentials in order to avoid the 'second hop' issue. See my answer here:
https://groups.google.com/forum/#!topic/ansible-project/BbKicPxQztI
Hope this helps,
Jon
Reply all
Reply to author
Forward
0 new messages