[one-users] STORAGE quota exceeded

Akihiko Ota skywalker.37th at gmail.com
Tue Dec 13 20:16:42 PST 2011


Hi Daniel,

It seems quota.rb in the repository has many improvement from
OpenNebula 3.0 release, and it couldn't use on OpenNebula 3.0.

Is this fix included in OpenNebula 3.2?
If so, I would wait for its release.

Thanks you for your fix.  

--  
Akihiko Ota


日付:2011年12月13日火曜日、時刻:22:36、差出人:Daniel Molina:

> Hi Akihiko,
>  
> There was a bug in the image calculation when a path is provided. It
> has been already fixed in the repository.
> http://dev.opennebula.org/projects/opennebula/repository/revisions/8e49edff323f4f236273d91812cda8dc4b9dbb25
>  
> Thanks for the feedback.
>  
> On 12 December 2011 06:21, Akihiko Ota <skywalker.37th at gmail.com (mailto:skywalker.37th at gmail.com)> wrote:
> > Hi,
> >  
> > I have tried the onequota on OpenNebula 3.0. I want to control each
> > user's storage usage, but quota does not work as instructed.
> > For example, oneadmin allowed 50GB(51200MB) for user "ota" (uid:1).
> > he is using 30GB of storage now.
> >  
> > [oneadmin at asccmp004 ~]$ oneuser list
> >   ID GROUP    NAME
> >  PASSWORD
> >    0 oneadmin oneadmin
> >  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> >    1 soum     ota
> > YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
> > [oneadmin at asccmp004 ~]$ oneimage list ota
> >   ID USER     GROUP    NAME            SIZE TYPE          REGTIME PUB PER
> > STAT  RVMS
> >    5 ota      soum     macprefix_ip      5G   OS   11/29 15:59:31 Yes  No
> >  rdy     0
> >    7 ota      soum     context           5G   OS   11/30 16:23:30 Yes  No
> >  rdy     0
> >    9 ota      soum     block            20G   DB   12/02 14:47:25  No Yes
> >  rdy     0
> > [oneadmin at asccmp004 ~]$ onequota set 1 storage 51200
> > [oneadmin at asccmp004 ~]$ onequota list
> >  uid      cpu  num_vms   memory  storage
> >    1        0        0        0    51200
> > [oneadmin at asccmp004 ~]$ onequota show 1
> >  uid          cpu      num_vms       memory      storage
> >    1          0/0          0/0          0/0  35844/51200
> >  
> > Then ota tryed to register 5GB image, but "STORAGE quota exceeded"
> > occurred.
> >  
> > [ota at asccmp004]% ls -lh /work/tmp/centos_context.img
> > -rw-r--r-- 1 ota users 5.0G Nov 30 16:21 /work/tmp/centos_context.img
> > [ota at asccmp004]% cat image_quota.one
> > NAME          = "quota"
> > PATH          = /work/tmp/centos_context.img
> > TYPE          = OS
> > PUBLIC        = YES
> > PERSISTENT    = NO
> > DESCRIPTION   = "Test for OpenNebula 3.0 quota"
> > [ota at asccmp004]% oneimage create image_quota.one
> > [ImageAllocate] User [1] : STORAGE quota exceeded (Quota: 51200, Used:
> > 30723, Requested: 5368709120).
> >  
> > Why this error occurred?
> >  
> > I am using OpenNebula 3.0 on Scientific Linux 6.1(x86_64). OpenNeubla
> > builded from source.
> >  
> > Thanks,
> >  
> > --
> > Akihiko Ota
> >  
> >  
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org (mailto:Users at lists.opennebula.org)
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >  
>  
>  
>  
>  
> --  
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org (http://www.OpenNebula.org) | dmolina at opennebula.org (mailto:dmolina at opennebula.org) | @OpenNebula
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org (mailto:Users at lists.opennebula.org)
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111214/fb1216d0/attachment-0002.htm>


More information about the Users mailing list