junneyang / zumastor

Automatically exported from code.google.com/p/zumastor
0 stars 1 forks source link

Zumastor failed ssh log message is overloaded #156

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Setup a broken ssh environment for zumastor replication
2. Ensure you cannot ssh as root from one machine to another
3. Tell zumastor to replicate
4. Observe the target log message

What is the expected output? What do you see instead?
Expect a log message about ssh misconfiguration. Instead we see a log 
message that you should set the upstream hostname as the downstream 
source hostname. (Did that already, just forgot to configure ssh 
properly!)

Current Error:
Wed Jun 11 21:12:48 PDT 2008 /bin/zumastor[4560]: replication beginning 
from snapshot '' to '2' on volume 'cluster' for 'test3'
Permission denied (publickey,password).
Wed Jun 11 21:12:48 PDT 2008 /bin/zumastor[4560]: set 'test2' as source 
for 'cluster' on 'test3' first!
Realistic Error:
Wed Jun 11 21:12:48 PDT 2008 /bin/zumastor[4560]: could not ssh to 
replication partner 'test3'. ssh reported: 'Taking a vacation, try next 
week'

Original issue reported on code.google.com by williama...@gmail.com on 12 Jun 2008 at 4:28