[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:48:05 PDT 2013


I looked into the related source code in 4.0. It seems that the DSID
problem was fixed in 4.0. How about permission problem?

Can I simple overwrite the 3.8.4 version ~/var/remotes/tm/vmfs directory
with the one from 4.0?

Chen Xiang

> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>





More information about the Users mailing list