Mon Jun 8 12:05:10 2015 [Z0][TM][D]: Message received: LOG I 2 clone: Cloning /var/lib/one/datastores/1/e4f885728f29142b3b0435b980f83e2d in opennebula2:/var/lib/one//datastores/0/2/disk.0
Mon Jun 8 12:05:10 2015 [Z0][TM][D]: Message received: LOG E 2 clone: Command “cd /var/lib/one/datastores/0/2; cp /var/lib/one/datastores/1/e4f885728f29142b3b0435b980f83e2d /var/lib/one/datastores/0/2/disk.0” failed: Warning: Permanently added ‘opennebula2,10.5.0.27’ (ECDSA) to the list of known hosts.
Mon Jun 8 12:05:10 2015 [Z0][TM][D]: Message received: LOG I 2 cp: cannot stat ‘/var/lib/one/datastores/1/e4f885728f29142b3b0435b980f83e2d’: No such file or directory
Mon Jun 8 12:05:10 2015 [Z0][TM][D]: Message received: LOG E 2 Error copying opennebula1:/var/lib/one//datastores/1/e4f885728f29142b3b0435b980f83e2d to opennebula2:/var/lib/one//datastores/0/2/disk.0
Mon Jun 8 12:05:10 2015 [Z0][TM][D]: Message received: LOG I 2 ExitCode: 1
Mon Jun 8 12:05:10 2015 [Z0][TM][D]: Message received: TRANSFER FAILURE 2 Error copying opennebula1:/var/lib/one//datastores/1/e4f885728f29142b3b0435b980f83e2d to opennebula2:/var/lib/one//datastores/0/2/disk.0
Maybe the problem is “//” in address. But how I solve it?
Hello Cesar,
There is no problem with double slashes, Linux is processing it very well. If I right, your resolve.conf doesn’t fully configured. All ONE hosts should be resolved by name and frontend has ssh password-less access. Try go through step-by-step quig start guide http://docs.opennebula.org/4.12/design_and_installation/quick_starts/qs_ubuntu_kvm.html
I’ve started lerning ONE from this guide.
I think that this message shows whats going on:
Mon Jun 8 12:05:10 2015 [Z0][TM][D]: Message received: LOG E 2
clone: Command “cd /var/lib/one/datastores/0/2; cp
/var/lib/one/datastores/1/e4f885728f29142b3b0435b980f83e2d
/var/lib/one/datastores/0/2/disk.0” failed: Warning: Permanently added
’opennebula2,10.5.0.27’ (ECDSA) to the list of known hosts.
the cp command failed, either because of DNS, or because oneadmin cannot login without being asked for a password.
Make sure the name of the host can be resolved, and make sure that oneadmin can login from master to node without being asked for a password (so, using ssh keys)
The startupguide also mentions this part below, which prevent the question using SSH: “do you want to add host xxxxx to the known hosts? yes/no”. That way you need to type yes to continue and a driver or script doesnt do that.
With this change to the .ssh/config file for user oneadmin on you master-server, you prevent that from happening.
QUOTE:
Add the following snippet to ~/.ssh/config so it doesn’t prompt to add the keys to the known_hosts file:
$ cat << EOT > ~/.ssh/config
Host *
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
EOT
$ chmod 600 ~/.ssh/config
END QUOTE
I think this is why your error log shows:
Warning: Permanently added ‘opennebula2,10.5.0.27’ (ECDSA) to the list of known hosts.