[one-users] Failed to create domain from /srv/cloud/one/var//(VM id)/images/deployment.0

Javier Fontan jfontan at opennebula.org
Wed Nov 2 07:29:51 PDT 2011


Can you see that file in the execution host?

Can you also tell us the tm driver you are using and the mount points
in the case tm_shared (nfs) is used?

On Mon, Oct 31, 2011 at 6:24 PM, Rubens Pinheiro
<rubens.pinheiro at argohost.net> wrote:
> Hello,
> I've got a problem in vm deployment.
> In vm.log shows that:
>
> ...
>
> Mon Oct 31 13:58:33 2011 [LCM][I]: New VM state is BOOT
>
> Mon Oct 31 13:58:33 2011 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/13/deployment.0
>
> Mon Oct 31 13:58:35 2011 [VMM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy
> /srv/cloud/one/var//13/images/deployment.0; else
>  exit 42; fi'
>
> Mon Oct 31 13:58:35 2011 [VMM][I]: STDERR follows.
>
> Mon Oct 31 13:58:35 2011 [VMM][I]: error: Failed to create domain from
> /srv/cloud/one/var//13/images/deployment.0
>
> Mon Oct 31 13:58:35 2011 [VMM][I]: error: unable to set user and group to
> '116:125' on '/srv/cloud/one/var//13/images/disk.0': No such file or
> directory
>
> Mon Oct 31 13:58:35 2011 [VMM][I]: ExitCode: 255
>
> Mon Oct 31 13:58:35 2011 [VMM][E]: Error deploying virtual machine: error:
> Failed to create domain from /srv/cloud/one/var//13/images/deployment.0
>
> Mon Oct 31 13:58:35 2011 [DiM][I]: New VM state is FAILED
>
> ...
>
>
> So I've commented out, in tm_delete.sh, the disk image remove.
> After comparing md5sum of '/srv/cloud/one/var//13/images/disk.0' with the
> image in opennebula host, it shows the same hexadecimal number (the file is
> ok).
> So, why the error "No such file or directory" showed up if 'disk.0' exists
> and isn't corrupted?
>
> best regards,
> _______________________________________________
> 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