[one-users] ssh host key verification
Javier Fontan
jfontan at opennebula.org
Thu Feb 9 06:36:45 PST 2012
Hello,
The problem is the way we use to copy the file:
scp one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
frk-cn13:/var/lib/one//19/images/disk.0
As you can see we specify both the source and the destination hosts so
scp first tries to connect to one-joh, that I suppose is the frontend.
Try from one-joh:
ssh one-joh
This will ask you to add the key to the known_hosts and after that the
copy should work.
On Mon, Jan 30, 2012 at 1:59 PM, Johannes Reichhardt
<johannes.reichhardt at hybris.com> wrote:
> Hi,
>
>
>
>
>
> I have a little problem to create a new VM on a host.
>
>
>
> log:
>
>
>
> Mon Jan 30 13:48:43 2012 [DiM][I]: New VM state is ACTIVE.
>
> Mon Jan 30 13:48:43 2012 [LCM][I]: New VM state is PROLOG.
>
> Mon Jan 30 13:48:43 2012 [VM][I]: Virtual Machine has no context
>
> Mon Jan 30 13:48:43 2012 [TM][I]: Command execution fail:
> /usr/lib/one/tm_commands/ssh/tm_clone.sh
> one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
> frk-cn13:/var/lib/one//19/images/disk.0
>
> Mon Jan 30 13:48:43 2012 [TM][D]: tm_clone.sh:
> one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
> frk-cn13:/var/lib/one//19/images/disk.0
>
> Mon Jan 30 13:48:43 2012 [TM][D]: tm_clone.sh: DST:
> /var/lib/one//19/images/disk.0
>
> Mon Jan 30 13:48:43 2012 [TM][I]: tm_clone.sh: Creating directory
> /var/lib/one//19/images
>
> Mon Jan 30 13:48:43 2012 [TM][I]: tm_clone.sh: Executed "ssh frk-cn13 mkdir
> -p /var/lib/one//19/images".
>
> Mon Jan 30 13:48:43 2012 [TM][I]: tm_clone.sh: Cloning
> one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
>
> Mon Jan 30 13:48:43 2012 [TM][E]: tm_clone.sh: Command "scp
> one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
> frk-cn13:/var/lib/one//19/images/disk.0" failed.
>
> Mon Jan 30 13:48:43 2012 [TM][E]: tm_clone.sh: Host key verification failed.
>
> Mon Jan 30 13:48:43 2012 [TM][E]: Error copying
> one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso to
> frk-cn13:/var/lib/one//19/images/disk.0
>
> Mon Jan 30 13:48:43 2012 [TM][I]: ExitCode: 1
>
> Mon Jan 30 13:48:43 2012 [TM][E]: Error excuting image transfer script:
> Error copying one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso to
> frk-cn13:/var/lib/one//19/images/disk.0
>
> Mon Jan 30 13:48:43 2012 [DiM][I]: New VM state is FAILED
>
>
>
>
>
> What I don’t get ist that it creates a directory on the remoteserver but
> does not copy it to it.
>
>
>
> What I’m doing wrong?
>
>
>
> è Host hey verification failed??? That can’t really be, because I’m able to
> login remote with the key and it’s in the known_hosts. A manual copy of the
> img works fine.
>
> I’m using the latest debian package from the opennebula site, not from repo
>
> Is there a bug again?
>
> Thanks for your help!
>
>
>
> Greets
>
> Johannes
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula
More information about the Users
mailing list