<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 4/30/2014 3:27 PM, Christophe Duez
wrote:<br>
</div>
<blockquote
cite="mid:CAPOUBBD1V-M--PDENPbTF6=+z-gts+8SZBfxgZCUr+cRJHC6Yw@mail.gmail.com"
type="cite">
<div dir="ltr"><font style="background-color:rgb(255,255,255)"
color="#000000" face="arial, helvetica, sans-serif">Hello,</font>
<div><font style="background-color:rgb(255,255,255)"
color="#000000" face="arial, helvetica, sans-serif">I have
setup 2 new datastores </font></div>
<div><span
style="line-height:18px;background-color:rgb(255,255,255)"><font
color="#000000" face="arial, helvetica, sans-serif">/var/lib/one//datastores/105
for Files</font></span></div>
<div><font style="background-color:rgb(255,255,255)"
color="#000000" face="arial, helvetica, sans-serif"><span
style="line-height:18px">/var/lib/one//datastores/104 for
Images</span><span style="line-height:18px"><br>
</span></font></div>
<div><span
style="line-height:18px;background-color:rgb(255,255,255)"><font
color="#000000" face="arial, helvetica, sans-serif"><br>
</font></span></div>
<div><span
style="line-height:18px;background-color:rgb(255,255,255)"><font
color="#000000" face="arial, helvetica, sans-serif">I
wanted to start a VM but get te following error:</font></span></div>
<div><font style="background-color:rgb(255,255,255)"
color="#000000" face="arial, helvetica, sans-serif"><span
style="line-height:21px">error: cannot open file
'/var/lib/one//datastores/0/9/disk.0': Permission denied</span><span
style="line-height:18px"><br>
</span></font></div>
<div><font style="background-color:rgb(255,255,255)"
color="#000000" face="arial, helvetica, sans-serif"><span
style="line-height:21px">however the owner of </span><span
style="line-height:21px">/var/lib/one//datastores/0/ is
oneadmin and the chmod is 0755</span></font></div>
<div><font style="background-color:rgb(255,255,255)"
color="#000000" face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font style="background-color:rgb(255,255,255)"
color="#000000" face="arial, helvetica, sans-serif"><a
moz-do-not-send="true" href="http://pastebin.com/Xqxjavyh">Here
you can find the lof of my failed vm</a></font></div>
<div><font style="background-color:rgb(255,255,255)"
color="#000000" face="arial, helvetica, sans-serif"><a
moz-do-not-send="true" href="http://pastebin.com/gxF7c0TC">and
here the oned.log file of opennebula frontend.</a></font></div>
<div><br>
</div>
<div>anyone know why these VM's fail all the time?</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
try chown -R oneadmin:oneadmin /var/lib/one/datastores/0/*<br>
ps are you sure the image that you try to load are owned by oneadmin<br>
ideea is that opennebula is making and simlink so on image
datastores .. i had same problem because the images was not owned
by oneadmin<br>
</body>
</html>