[one-users] FileNotFound - File [images] 24/images/disk.0/disk.vmdk was not found

Tino Vazquez tinova at opennebula.org
Wed Sep 5 03:17:59 PDT 2012


Hi there,

I suggest you upgrade to the latest version, any particular reason why
you are still using OpenNebula 2.2.1?

The issue you are having may be related with the VM_DIR variable in
oned.conf, IIRC it needs to be set to /vmfs/volumes.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Wed, Sep 5, 2012 at 11:04 AM, PJ PJ <igranjo at hotmail.com> wrote:
> Hi!
>
>   I had been using ESX(i) 5.0 and Ubuntu with Opennebula 2.2.1 until now. I
> has been working perfectly, until the external hard disk where I had stored
>   data got broken. The information stored was:
>
>      - The images brought from ESX(i)
>      - The images created from the previous ones.
>      - The directories which create Opennebula with the ID number of the
> virtual machine.
>
>   I have prepared a new external hard disk.
>   I believe I can install it the same way as the previous external hard disk
> but now I'm dealing with another problem that I have never had.
>   When I deploy the machine it gets registered into ESX(i), when it starts,
> it says that it can't find " the virutal disk file".
>
>   This is the wrong messages it shows in ESX(i):
>
>        The system cannot find the file specifies.
>        Cannot open the disk
> /vmfs/volumes/711a8b01-bae5b659/24/images/disk.0/disk.vmdk or none of the
> snapshot disks it depends on.
>        VMware ESX cannot find the virtual disk
> "/vmfs/volumes/711a8b01-bae5b659/24/images/disk.0/disk.vmdk". Verify the
> path is valid and try again.
>
>   In the Opennebula in vm.log file shows the following:
>
>        oneadmin at opennebula:~/var/24$ more vm.log
>         Tue Sep  4 11:16:49 2012 [DiM][I]: New VM state is ACTIVE.
>         Tue Sep  4 11:16:49 2012 [LCM][I]: New VM state is PROLOG.
>         Tue Sep  4 11:16:49 2012 [VM][I]: Virtual Machine has no context
>         Tue Sep  4 11:16:49 2012 [TM][I]: tm_ln.sh: Creating directory
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/images
>         Tue Sep  4 11:16:49 2012 [TM][I]: tm_ln.sh: Executed "mkdir -p
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/images".
>         Tue Sep  4 11:16:49 2012 [TM][I]: tm_ln.sh: Executed "chmod a+w
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/images".
>         Tue Sep  4 11:16:49 2012 [TM][I]: tm_ln.sh: Link
> /srv/cloud/one/var/images/pedrot/images/93bbaffe699ff0e0d25416ecdffccca0ec256c48
>         Tue Sep  4 11:16:49 2012 [TM][I]: tm_ln.sh: Executed "ln -s
> ../../images/93bbaffe699ff0e0d25416ecdffccca0ec256c48
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/im
>         ages/pedrot/24/images/disk.0".
>         Tue Sep  4 11:16:49 2012 [LCM][I]: New VM state is BOOT
>         Tue Sep  4 11:16:49 2012 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/24/deployment.0
>         Tue Sep  4 11:16:56 2012 [VMM][E]: Error deploying virtual machine:
> [VMWARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p xxxxx
> virsh -c esx://esx/?no_v
>         erify=1 start one-24]. Stderr:
>         Tue Sep  4 11:16:56 2012 [DiM][I]: New VM state is FAILED
>         Tue Sep  4 11:16:56 2012 [TM][W]: Ignored: LOG - 24 tm_delete.sh:
> Deleting
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/images
>
>         Tue Sep  4 11:16:56 2012 [TM][W]: Ignored: LOG - 24 tm_delete.sh:
> Executed "rm -rf
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/images".
>
>         Tue Sep  4 11:16:56 2012 [TM][W]: Ignored: TRANSFER SUCCESS 24 -
>
>
>     In oned.log file the following is shown:    FileNotFound
>
>         Tue Sep  4 11:16:49 2012 [TM][D]: Message received: LOG - 24
> tm_ln.sh: Creating directory
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/images
>         Tue Sep  4 11:16:49 2012 [TM][D]: Message received: LOG - 24
> tm_ln.sh: Executed "mkdir -p
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/images"
>         .
>         Tue Sep  4 11:16:49 2012 [TM][D]: Message received: LOG - 24
> tm_ln.sh: Executed "chmod a+w
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/images
>         ".
>         Tue Sep  4 11:16:49 2012 [TM][D]: Message received: LOG - 24
> tm_ln.sh: Link
> /srv/cloud/one/var/images/pedrot/images/93bbaffe699ff0e0d25416ecdffccca0ec256c48
>         Tue Sep  4 11:16:49 2012 [TM][D]: Message received: LOG - 24
> tm_ln.sh: Executed "ln -s
> ../../images/93bbaffe699ff0e0d25416ecdffccca0ec256c48
> /srv/cloud/one/var/images/p
>         edrotsrv/cloud/one/var/images/pedrot/24/images/disk.0".
>         Tue Sep  4 11:16:49 2012 [TM][D]: Message received: TRANSFER SUCCESS
> 24 -
>         Tue Sep  4 11:16:56 2012 [VMM][D]: Message received: DEPLOY FAILURE
> 24 [VMWARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p xxxxxxx
> virsh -c esx://esx/?n
>         o_verify=1 start one-24]. Stderr:
>         Tue Sep  4 11:16:56 2012 [VMM][D]: Message received: error: Failed
> to start domain one-24
>         Tue Sep  4 11:16:56 2012 [VMM][D]: Message received: error: internal
> error Could not start domain: FileNotFound - File [images]
> 24/images/disk.0/disk.vmdk was not found
>
>         Tue Sep  4 11:16:56 2012 [VMM][D]: Message received:
>         Tue Sep  4 11:16:56 2012 [VMM][D]: Message received: . Stdout:
> ExitCode: 1
>         Tue Sep  4 11:16:56 2012 [VMM][D]: Message received: ExitCode: 1
>         Tue Sep  4 11:16:56 2012 [TM][D]: Message received: LOG - 24
> tm_delete.sh: Deleting
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/images
>         Tue Sep  4 11:16:56 2012 [TM][D]: Message received: LOG - 24
> tm_delete.sh: Executed "rm -rf
> /srv/cloud/one/var/images/pedrotsrv/cloud/one/var/images/pedrot/24/image
>         s".
>
>
>     I have it exported via NFS. In the /etc/exports file there are:
>
>      /srv/cloud/one/var/images/pedrot
> 10.10.9.0/255.255.255.0(rw,no_subtree_check,no_root_squash,fsid=0)
>
>
>     In my opinion it is a question about the users' rights but I'm not relly
> sure.
>     Tring to put rights with chmod 777 *, it still doesn't work as expected.
>
>     I wonder if it happens to anybody to think of a possible solution.
>
>     Thanks in advance.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list