fantasyni / mysql-master-ha

Automatically exported from code.google.com/p/mysql-master-ha
0 stars 0 forks source link

SSH authentication failing #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempting to run the masterha_check_ssh
2. Failing to authenticate
3. Have already verified that I can ssh between both machines in both 
directions without a password as public keys already set up.

What is the expected output? What do you see instead?
I would have expected the ssh session to succeed.
But I'm seeing this.
Tue Feb 11 14:45:21 2014 - [debug]  Connecting via SSH from 
root@garret0(127.0.0.1:22) to root@garret1(192.168.25.187:22)..
Permission denied (publickey,gssapi-with-mic,password).

What version of the product are you using? On what operating system?
The garret0 machine is running fedora 8 and garret1 is running fedora 17. 

Please provide any additional information below.
I have already verified that I can ssh between both machines using public key 
auth.

Below is a full trace.
[root@garret0 bin]# masterha_check_ssh --conf=/etc/app1.cnf
Tue Feb 11 14:45:21 2014 - [warning] Global configuration file 
/etc/masterha_default.cnf not found. Skipping.
Tue Feb 11 14:45:21 2014 - [info] Reading application default configurations 
from /etc/app1.cnf..
Tue Feb 11 14:45:21 2014 - [info] Reading server configurations from 
/etc/app1.cnf..
Tue Feb 11 14:45:21 2014 - [info] Starting SSH connection tests..
Tue Feb 11 14:45:22 2014 - 
[error][/usr/lib/perl5/vendor_perl/5.8.8/Parallel/ForkManager.pm, ln354] 
Tue Feb 11 14:45:21 2014 - [debug]  Connecting via SSH from 
root@garret0(127.0.0.1:22) to root@garret1(192.168.25.187:22)..
Permission denied (publickey,gssapi-with-mic,password).
Tue Feb 11 14:45:22 2014 - 
[error][/usr/lib/perl5/site_perl/5.8.8/MHA/SSHCheck.pm, ln86] SSH connection 
from root@garret0(127.0.0.1:22) to root@garret1(192.168.25.187:22) failed!
Tue Feb 11 14:45:22 2014 - 
[error][/usr/lib/perl5/vendor_perl/5.8.8/Parallel/ForkManager.pm, ln354] 
Tue Feb 11 14:45:22 2014 - [debug]  Connecting via SSH from 
root@garret1(192.168.25.187:22) to root@garret0(127.0.0.1:22)..
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Tue Feb 11 14:45:22 2014 - 
[error][/usr/lib/perl5/site_perl/5.8.8/MHA/SSHCheck.pm, ln86] SSH connection 
from root@garret1(192.168.25.187:22) to root@garret0(127.0.0.1:22) failed!
SSH Configuration Check Failed!
 at /usr/bin/masterha_check_ssh line 44

Original issue reported on code.google.com by collins....@gmail.com on 11 Feb 2014 at 2:53

GoogleCodeExporter commented 9 years ago
Issue should be closed as it was configuration related.

Original comment by collins....@gmail.com on 18 Feb 2014 at 12:46