[one-users] ssh problem

Javier Fontan jfontan at fdi.ucm.es
Thu Apr 16 04:52:16 PDT 2009


Hello,

Seems that mediocris does not have its host key in known_hosts file so  
it can not connect to itself. Try doing an ssh from mediocris to  
itself and adding the key when asked to do so. After that clonation  
should work.

Bye

On Apr 16, 2009, at 1:28 PM, Denis Jurkovic wrote:

> Hello everybody,
>
> I followed the installation and configuration guides provided on the  
> webpage. Everything went well, i established the hostkey for the ssh  
> connection, so the hosts trust the user which connects via ssh.  
> although i now was able to monitor the nodes via ssh,but i wasn't  
> able to deploy a VM to any of the connected hosts. the corresponding  
> logfile says, that there was a problem at the scp command because i  
> was using an invalid hostkey. As i mentioned before i managed to  
> trust this particular user and there was no sign of anything going  
> wrong with the ssh-connection till i tried the deployment. I am able  
> to ssh to any of the nodes without getting a password prompt or  
> anything, so i'm really a little confused.
>
> I would be very grateful, if you could give me a little hint on this  
> problem.
> I used opensuse 11.1 on my frontend while my clusternodes are using  
> debian (lenny)
>
> I thank you for your time and help.
>
> here are the log files:
>
> oned.log
>
> Thu Apr 16 11:05:19 2009 [InM][D]: Host 3 successfully monitored.
> Thu Apr 16 11:05:20 2009 [ReM][D]: VirtualMachineDeploy invoked
> Thu Apr 16 11:05:20 2009 [DiM][D]: Deploying VM 44
> Thu Apr 16 11:05:21 2009 [TM][D]: Message received: LOG - 44  
> tm_clone.sh: mediocris:/home/denis/Desktop/disk1 humilis:/var/lib/ 
> one//44/images/disk.0
>
> Thu Apr 16 11:05:21 2009 [TM][D]: Message received: LOG - 44  
> tm_clone.sh: DST: /var/lib/one//44/images/disk.0
>
> Thu Apr 16 11:05:21 2009 [TM][D]: Message received: LOG - 44  
> tm_clone.sh: Creating directory /var/lib/one//44/images
>
> Thu Apr 16 11:05:24 2009 [TM][D]: Message received: LOG - 44  
> tm_clone.sh: Executed "ssh humilis mkdir -p /var/lib/one//44/images".
>
> Thu Apr 16 11:05:24 2009 [TM][D]: Message received: LOG - 44  
> tm_clone.sh: Cloning mediocris:/home/denis/Desktop/disk1
>
> Thu Apr 16 11:05:24 2009 [TM][D]: Message received: LOG - 44  
> tm_clone.sh: ERROR: Command "scp mediocris:/home/denis/Desktop/disk1  
> humilis:/var/lib/one//44/images/disk.0" failed.
>
> Thu Apr 16 11:05:24 2009 [TM][D]: Message received: LOG - 44  
> tm_clone.sh: ERROR: Host key verification failed.
>
> Thu Apr 16 11:05:24 2009 [TM][D]: Message received: TRANSFER FAILURE  
> 44 Host key verification failed.
>
> VM Log:
>
> Thu Apr 16 11:05:20 2009 [DiM][I]: New VM state is ACTIVE.
> Thu Apr 16 11:05:21 2009 [LCM][I]: New VM state is PROLOG.
> Thu Apr 16 11:05:21 2009 [TM][I]: tm_clone.sh: mediocris:/home/denis/ 
> Desktop/disk1 humilis:/var/lib/one//44/images/disk.0
> Thu Apr 16 11:05:21 2009 [TM][I]: tm_clone.sh: DST: /var/lib/one//44/ 
> images/disk.0
> Thu Apr 16 11:05:21 2009 [TM][I]: tm_clone.sh: Creating directory / 
> var/lib/one//44/images
> Thu Apr 16 11:05:24 2009 [TM][I]: tm_clone.sh: Executed "ssh humilis  
> mkdir -p /var/lib/one//44/images".
> Thu Apr 16 11:05:24 2009 [TM][I]: tm_clone.sh: Cloning mediocris:/ 
> home/denis/Desktop/disk1
> Thu Apr 16 11:05:24 2009 [TM][I]: tm_clone.sh: ERROR: Command "scp  
> mediocris:/home/denis/Desktop/disk1 humilis:/var/lib/one//44/images/ 
> disk.0" failed.
> Thu Apr 16 11:05:24 2009 [TM][I]: tm_clone.sh: ERROR: Host key  
> verification failed.
> Thu Apr 16 11:05:24 2009 [TM][E]: Error excuting image transfer  
> script: Host key verification failed.
> Thu Apr 16 11:05:25 2009 [DiM][I]: New VM state is FAILED
> ______________________________________________________
> GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org




More information about the Users mailing list