[one-users] econe toolset

Tiago Batista tiagosbatista at gmail.com
Thu Feb 25 11:52:44 PST 2010


Hello all

I have been testing the econe tools today, and there are a few details...

First of, thank you Claude for your timeout patch, if I saw it right, it
also solved the same problem with econe-upload!

Now the problem... After uploading a few images, I end up with the
folloowing on my images dir:

-rw------- 1 tsbatista users  2148532224 Feb 25 18:16 1
-rw------- 1 tsbatista users  1074790400 Feb 25 18:44 2
-rw------- 1 tsbatista users  1074790400 Feb 25 19:06 3

now, I call econe-run-instances, and I suddenly get this on the vm.log

Command execution fail: 'cat >
/home/tsbatista/datastore/77/images/deployment.0 && sudo /usr/sbin/xm create
/home/tsbatista/datastore/77/images/deployment.0 && sudo /usr/sbin/xm
sched-cred -d one-77 -w 128'
Thu Feb 25 19:20:42 2010 [VMM][I]: STDERR follows.
Thu Feb 25 19:20:42 2010 [VMM][I]: No handlers could be found for logger
"xend"
Thu Feb 25 19:20:42 2010 [VMM][I]: Error: Disk isn't accessible
Thu Feb 25 19:20:42 2010 [VMM][I]: ExitCode: 1


After removing the last command from tm_delete.sh, I pinned it down to the
following:

GOOD:
[tsbatista at parlamento images]$ ls -l ../../78/images/
total 499748
-rw-r--r-- 1 tsbatista users         344 Feb 25 19:34 deployment.0
-rw-rw-rw- 1 tsbatista users 10486808576 Feb 25 19:39 disk.0
-rw-rw-rw- 1 tsbatista users   536870913 Feb 25 19:34 disk.1
-rw-r--r-- 1 tsbatista users      376832 Feb 25 19:34 disk.2

BAD:
[tsbatista at parlamento images]$ ls -l
total 1051024
-rw-r--r-- 1 tsbatista users        344 Feb 25 19:20 deployment.0
-rw--w--w- 1 tsbatista users 1074790400 Feb 25 19:28 disk.0
-rw-rw-rw- 1 tsbatista users  536870913 Feb 25 19:20 disk.1
-rw-r--r-- 1 tsbatista users     376832 Feb 25 19:20 disk.2

as you can see, tm_clone is not setting the right permissions for the cloned
disk... I fixed this on my local install, but still would like to know if
this is by design or a bug...

Thank you all

Tiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100225/08a6d0ed/attachment-0002.htm>


More information about the Users mailing list