<div style="font-family: Helvetica; font-size: 13px; "><div>Hi Daniel,</div><div><br></div><div>It seems quota.rb in the repository has many improvement from</div><div>OpenNebula 3.0 release, and it couldn't use on OpenNebula 3.0.</div><div><br></div><div>Is this fix included in OpenNebula 3.2?</div><div>If so, I would wait for its release.</div><div><br></div><div>Thanks you for your fix.</div></div>
<div><div><br></div><div>-- </div><div>Akihiko Ota</div><div><br></div></div>
<p style="color: #A0A0A8;">日付:2011年12月13日火曜日、時刻:22:36、差出人:Daniel Molina:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><div>Hi Akihiko,</div><div><br></div><div>There was a bug in the image calculation when a path is provided. It</div><div>has been already fixed in the repository.</div><div><a href="http://dev.opennebula.org/projects/opennebula/repository/revisions/8e49edff323f4f236273d91812cda8dc4b9dbb25">http://dev.opennebula.org/projects/opennebula/repository/revisions/8e49edff323f4f236273d91812cda8dc4b9dbb25</a></div><div><br></div><div>Thanks for the feedback.</div><div><br></div><div>On 12 December 2011 06:21, Akihiko Ota <<a href="mailto:skywalker.37th@gmail.com">skywalker.37th@gmail.com</a>> wrote:</div><blockquote type="cite"><div><div>Hi,</div><div><br></div><div>I have tried the onequota on OpenNebula 3.0. I want to control each</div><div>user's storage usage, but quota does not work as instructed.</div><div>For example, oneadmin allowed 50GB(51200MB) for user "ota" (uid:1).</div><div>he is using 30GB of storage now.</div><div><br></div><div>[oneadmin@asccmp004 ~]$ oneuser list</div><div> ID GROUP NAME</div><div> PASSWORD</div><div> 0 oneadmin oneadmin</div><div> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div><div> 1 soum ota</div><div>YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY</div><div>[oneadmin@asccmp004 ~]$ oneimage list ota</div><div> ID USER GROUP NAME SIZE TYPE REGTIME PUB PER</div><div>STAT RVMS</div><div> 5 ota soum macprefix_ip 5G OS 11/29 15:59:31 Yes No</div><div> rdy 0</div><div> 7 ota soum context 5G OS 11/30 16:23:30 Yes No</div><div> rdy 0</div><div> 9 ota soum block 20G DB 12/02 14:47:25 No Yes</div><div> rdy 0</div><div>[oneadmin@asccmp004 ~]$ onequota set 1 storage 51200</div><div>[oneadmin@asccmp004 ~]$ onequota list</div><div> uid cpu num_vms memory storage</div><div> 1 0 0 0 51200</div><div>[oneadmin@asccmp004 ~]$ onequota show 1</div><div> uid cpu num_vms memory storage</div><div> 1 0/0 0/0 0/0 35844/51200</div><div><br></div><div>Then ota tryed to register 5GB image, but "STORAGE quota exceeded"</div><div>occurred.</div><div><br></div><div>[ota@asccmp004]% ls -lh /work/tmp/centos_context.img</div><div>-rw-r--r-- 1 ota users 5.0G Nov 30 16:21 /work/tmp/centos_context.img</div><div>[ota@asccmp004]% cat image_quota.one</div><div>NAME = "quota"</div><div>PATH = /work/tmp/centos_context.img</div><div>TYPE = OS</div><div>PUBLIC = YES</div><div>PERSISTENT = NO</div><div>DESCRIPTION = "Test for OpenNebula 3.0 quota"</div><div>[ota@asccmp004]% oneimage create image_quota.one</div><div>[ImageAllocate] User [1] : STORAGE quota exceeded (Quota: 51200, Used:</div><div>30723, Requested: 5368709120).</div><div><br></div><div>Why this error occurred?</div><div><br></div><div>I am using OpenNebula 3.0 on Scientific Linux 6.1(x86_64). OpenNeubla</div><div>builded from source.</div><div><br></div><div>Thanks,</div><div><br></div><div>--</div><div>Akihiko Ota</div><div><br></div><div><br></div><div>_______________________________________________</div><div>Users mailing list</div><div><a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a></div><div><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a></div></div></blockquote><div><br></div><div><br></div><div><br></div><div>-- </div><div>Daniel Molina</div><div>Project Engineer</div><div>OpenNebula - The Open Source Toolkit for Data Center Virtualization</div><div><a href="http://www.OpenNebula.org">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a> | @OpenNebula</div><div>_______________________________________________</div><div>Users mailing list</div><div><a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a></div><div><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>