[one-users] [TM][E]: clone: Command "scp -r ... No such file or directory

Ruben S. Montero rsmontero at opennebula.org
Thu Sep 20 14:18:42 PDT 2012


Hi


> I have the following issue when instantiating a template
> Thu Sep 20 15:06:27 2012 [DiM][I]: New VM state is FAILED
>
> As I am trying to instantiate from the template I'd expect the dir's to be made before faulting at the error.
>
>
Indeed, the clone script makes the directory before issuing the copy. My
best guess is that for some reason the error is not propagating through the
drivers when creating the directory. (e.g. no permissions to create dirs
for oneadmin in /var/lib/one ....)

Could you try to execute in host C3 the following (as oneadmin):

ssh H2 sh -s 2>&1 1>/dev/null <<EOF
if [ ! -d /var/lib/one//datastores/0/19  ]; then
   mkdir -p /var/lib/one//datastores/0/19
fi
EOF

H2, and C3 are the hostnames extracted from your logs, please modify as
needed.


Cheers

Ruben

-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120920/e80b6e56/attachment-0002.htm>


More information about the Users mailing list