[one-users] OpenNebula 3.8.3 Failed to Delete VM on ESXi Host

chenxiang at aquala-tech.com chenxiang at aquala-tech.com
Tue Jul 16 07:33:11 PDT 2013


Hi,

I am running OpenNebula 3.8.3 with VMFS. However, I am not able to delete
the VM files from the ESXi Host, although the VM seems to be deleted from
OpenNebula.

My setup is that I have an image DS 102, and a system DS 103. When trying
to delete a VM, I can see that OpenNebula is trying to delete the VM image
from DS 102 rather than 103. I look into ~/var/remotes/tm/vmfs/delete, and
manually change the DSID to 103 (this is not a good fix), and now
OpenNebula is trying to delete the VM images from DS 103, which is
correct. However, the delete script was not able to delete the files,
still!

I look into ~/var/vms/$VMID/vm.log, and the log says that it was not able
to delete disk-flat.vmdk on the ESXi box.

I look into /vmfs/volumes/103/$VMID/disk.0, and found that the two VMDK
files have rw permissions for root user and no permissions for others, and
other files have rw permissons for root user and r permission for group
members and guest.

I log into the ESXi box, and was able to delete the files with root users.

In ~/etc/vmwarerc I have the root username and password.

What could be wrong? Do I miss some executable permissions on the ESXi box?

Please help.

Chen Xiang



More information about the Users mailing list