Header Shadow Image


Command execution fail: /var/lib/one/remotes/tm/shared/clone

When you receive the following errors:

[oneadmin@opennebula01 .one]$ /var/lib/one/remotes/tm/shared/clone opennebula01:/var/lib/one//datastores/1/370d6f8205e2d85d328e922d1f356ab7 mdskvm-p01:/var/lib/one//datastores/0/16/disk.0 16 1
INFO: clone: Cloning /var/lib/one/datastores/1/370d6f8205e2d85d328e922d1f356ab7 in mdskvm-p01:/var/lib/one//datastores/0/16/disk.0
ERROR: clone: Command "cd /var/lib/one/datastores/0/16; cp /var/lib/one/datastores/1/370d6f8205e2d85d328e922d1f356ab7 /var/lib/one/datastores/0/16/disk.0" failed: Warning: Permanently added 'mdskvm-p01,192.168.0.60' (ECDSA) to the list of known hosts.
cp: cannot stat '/var/lib/one/datastores/1/370d6f8205e2d85d328e922d1f356ab7': No such file or directory
ERROR MESSAGE –8<——
Error copying opennebula01:/var/lib/one//datastores/1/370d6f8205e2d85d328e922d1f356ab7 to mdskvm-p01:/var/lib/one//datastores/0/16/disk.0
ERROR MESSAGE ——>8–
[oneadmin@opennebula01 .one]$

 

Wed Mar 30 18:43:59 2016 [Z0][TM][D]: Message received: LOG I 16 Command execution fail: /var/lib/one/remotes/tm/shared/clone opennebula01:/var/lib/one//datastores/1/370d6f8205e2d85d328e922d1f356ab7 mdskvm-p01:/var/lib/one//datastores/0/16/disk.0 16 1

Wed Mar 30 18:43:59 2016 [Z0][TM][D]: Message received: LOG I 16 clone: Cloning /var/lib/one/datastores/1/370d6f8205e2d85d328e922d1f356ab7 in mdskvm-p01:/var/lib/one//datastores/0/16/disk.0

Wed Mar 30 18:43:59 2016 [Z0][TM][D]: Message received: LOG E 16 clone: Command "cd /var/lib/one/datastores/0/16; cp /var/lib/one/datastores/1/370d6f8205e2d85d328e922d1f356ab7 /var/lib/one/datastores/0/16/disk.0" failed: Warning: Permanently added 'mdskvm-p01,192.168.0.60' (ECDSA) to the list of known hosts.

Wed Mar 30 18:43:59 2016 [Z0][TM][D]: Message received: LOG I 16 cp: cannot stat '/var/lib/one/datastores/1/370d6f8205e2d85d328e922d1f356ab7': No such file or directory

Wed Mar 30 18:43:59 2016 [Z0][TM][D]: Message received: LOG E 16 Error copying opennebula01:/var/lib/one//datastores/1/370d6f8205e2d85d328e922d1f356ab7 to mdskvm-p01:/var/lib/one//datastores/0/16/disk.0

Wed Mar 30 18:43:59 2016 [Z0][TM][D]: Message received: LOG I 16 ExitCode: 1

Wed Mar 30 18:43:59 2016 [Z0][TM][D]: Message received: TRANSFER FAILURE 16 Error copying opennebula01:/var/lib/one//datastores/1/370d6f8205e2d85d328e922d1f356ab7 to mdskvm-p01:/var/lib/one//datastores/0/16/disk.0

here's what you can do about them.  After further inspection by jumping in on the target node, we see that the NFS filesystem is NOT mounted.  Also ensure that the NFS service on sunstone (OpenNebula collector) is running:

[root@opennebula01 one]# service nfs restart
Redirecting to /bin/systemctl restart  nfs.service
[root@opennebula01 one]#
[root@mdskvm-p01 ~]# grep one /etc/fstab
192.168.0.70:/var/lib/one/      /var/lib/one/  nfs   context=system_u:object_r:nfs_t:s0,soft,intr,rsize=8192,wsize=8192,noauto
[root@mdskvm-p01 ~]#

Cheers,
TK

Leave a Reply

 


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License