Make sure you are using the same name to copy the SSH keys as you do when 
configuring the ansible installation.  Don't use the IP address in one place 
and use the hostname in the other.


Gary Franczyk
Senior Unix Administrator, Infrastructure
Availity | 10752 Deerwood Park Blvd S. Ste 110, Jacksonville FL 32256
W 904.470.4953 | M 561.313.2866
[email protected]<mailto:[email protected]>

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Lorenz Vanthillo 
<[email protected]<mailto:[email protected]>>
Date: Monday, February 1, 2016 at 8:15 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Installation OpenShift Origin 1.1

I want to install OpenShift Origin 1.1
But I got stuck here:
PLAY [Configure docker hosts] *************************************************
fatal: [ip] => SSH Error: Permission denied 
(publickey,gssapi-keyex,gssapi-with-mic).
    while connecting to 172.xxx.xxx.xxx

The problem seems to me the following.
In previous installations I performed:
- ssh key-gen on the master
- copy the content of .pub to the nodes.
- SSH is possible


Now I have copied the key of the nodes (are using the same key) to my master.
So now I can access the nodes from my master using that key:
ssh -i key.pem centos@ec2...


How do I have to fix this issue? Can I tell ansible that it needs to use a key 
etc.?
Or is the only solution by coping the .pub to my nodes?

----------------------------------------------------------------------
The information contained in this e-mail may be privileged and confidential 
under applicable law. It is intended solely for the use of the person or firm 
named above. If the reader of this e-mail is not the intended recipient, please 
notify us immediately by returning the e-mail to the originating e-mail 
address. Availity, LLC is not responsible for errors or omissions in this 
e-mail message. Any personal comments made in this e-mail do not reflect the 
views of Availity, LLC.
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to