Bug #2177
scp error with KVM on Debian wheezy 7.1
Status: | Closed | Start date: | 07/16/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Drivers - Storage | |||
Target version: | - | |||
Resolution: | worksforme | Pull request: | ||
Affected Versions: | OpenNebula 4.0 |
Description
when mv image from front-end (image datastore) to other host (TM_MAD is ssh) opennebula use
scp one-server:/var/lib/one/datastores/1/897f74024304a4b72dd77a7f7d4cfc03 kvm-hv1:/var/lib/one/datastores/0/2/disk.0. (this command ask password)
with this command i must enter password and not work with publickey !
but without first hostname (one-server) everything is okey and scp work with publickey .
scp /var/lib/one/datastores/1/897f74024304a4b72dd77a7f7d4cfc03 kvm-hv1:/var/lib/one/datastores/0/2/disk.0 (this work with publickey)
is there anyway remove hostname from scp command?
this is my log:
Mon Jul 15 07:43:08 2013 [DiM][I]: New VM state is ACTIVE.
Mon Jul 15 07:43:08 2013 [LCM][I]: New VM state is PROLOG.
Mon Jul 15 07:43:10 2013 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/ssh/clone one-server:/var/lib/one/datastores/1/897f74024304a4b72dd77a7f7d4cfc03 kvm-hv1:/var/lib/one//datastores/0/1/disk.0 1 1
Mon Jul 15 07:43:10 2013 [TM][I]: clone: Cloning one-server:/var/lib/one/datastores/1/897f74024304a4b72dd77a7f7d4cfc03 in /var/lib/one/datastores/0/1/disk.0
Mon Jul 15 07:43:10 2013 [TM][E]: clone: Command "scp -r one-server:/var/lib/one/datastores/1/897f74024304a4b72dd77a7f7d4cfc03 kvm-hv1:/var/lib/one//datastores/0/1/disk.0" failed: Host key verification failed.
Mon Jul 15 07:43:10 2013 [TM][E]: Error copying one-server:/var/lib/one/datastores/1/897f74024304a4b72dd77a7f7d4cfc03 to kvm-hv1:/var/lib/one//datastores/0/1/disk.0
Mon Jul 15 07:43:10 2013 [TM][I]: ExitCode: 1
Mon Jul 15 07:43:10 2013 [TM][E]: Error executing image transfer script: Error copying one-server:/var/lib/one/datastores/1/897f74024304a4b72dd77a7f7d4cfc03 to kvm-hv1:/var/lib/one//datastores/0/1/disk.0
Mon Jul 15 07:43:10 2013 [DiM][I]: New VM state is FAILED
Mon Jul 15 07:50:29 2013 [DiM][I]: New VM state is DONE.
Mon Jul 15 07:50:30 2013 [TM][W]: Ignored: LOG I 1 delete: Deleting /var/lib/one/datastores/0/1/disk.0
Mon Jul 15 07:50:30 2013 [TM][W]: Ignored: LOG I 1 ExitCode: 0
Mon Jul 15 07:50:31 2013 [TM][W]: Ignored: LOG I 1 delete: Deleting /var/lib/one/datastores/0/1
Mon Jul 15 07:50:31 2013 [TM][W]: Ignored: LOG I 1 ExitCode: 0
Mon Jul 15 07:50:31 2013 [TM][W]: Ignored: TRANSFER SUCCESS 1 -
History
#1 Updated by Ruben S. Montero almost 8 years ago
- Status changed from Pending to Closed
- Resolution set to worksforme
Mon Jul 15 07:43:10 2013 [TM][E]: clone: Command "scp -r one-server:/var/lib/one/datastores/1/897f74024304a4b72dd77a7f7d4cfc03 kvm-hv1:/var/lib/one//datastores/0/1/disk.0" failed: Host key verification failed.
Make sure scp works in your system (between the cloud nodes and without passwords)