Dear ON Developers,
Our ON configuration is a bit different from what ON manual assumes.
The following is my guess of how onevm cancel VM where this VM is from a
persistent image and running in a host via shared transfer manager.
I believe the following two variables are assumed in ON standard deployment.
SRC=$IMAGE_REPOSITORY_PATH/
DST=$VM_DIR/vmid/images
In this case, onevm cancel will do
1. tm_mv.sh : mv $DST/disk.0 /var/log/one/vmid/disk.0
Note here that $DST/disk.0 is actually a link to
$IMAGE_REPOSITORY_PATH/original_file
2. tm_delete.sh : rm –f $DST
3. Image Driver will invoke var/remote/image/fs/mv to try to
/var/log/one/vmid/disk.0 to the same image in IMAGE_REPOSITORY_PATH
which will not happen because Image Drive will realize that these two are
identical when running readlink command.
My guess is that, if this is true, this step 3 appears to be a bug.
In other words, in step 3, the mv should not be prevented because they have
the same pathname.
Could ON developers check this?
(I might be wrong.)
Thank you.
Hyunwoo
FermiCloud Project
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org