[one-users] FileNotFound - File [images] 24/images/disk.0/disk.vmdk was not found
PJ PJ
igranjo at hotmail.com
Wed Sep 5 02:04:19 PDT 2012
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120905/e1e68eda/attachment.htm>
More information about the Users
mailing list