← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1469738] Re: The operation of create image has failed with not enough free quota storage although sufficient space was available

 

Actually, this is well described in the config option's documentation.
As of today:

    cfg.StrOpt('user_storage_quota', default='0',
               help=_("Set a system wide quota for every user. This value is "
                      "the total capacity that a user can use across "
                      "all storage systems. A value of 0 means unlimited."
                      "Optional unit can be specified for the value. Accepted "
                      "units are B, KB, MB, GB and TB representing "
                      "Bytes, KiloBytes, MegaBytes, GigaBytes and TeraBytes "
                      "respectively. If no unit is specified then Bytes is "
                      "assumed. Note that there should not be any space "
                      "between value and unit and units are case sensitive.")),

** Changed in: glance
   Importance: Undecided => Low

** Changed in: glance
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1469738

Title:
  The operation of create image has failed with not enough free quota
  storage although sufficient space was available

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

Bug description:
  Description of problem:
  Creating an image has failed with error message:"Denying attempt to upload image because it exceeds the quota", although there was enough space for upload the image

  Version-Release number of selected component (if applicable):
  python-glanceclient-0.17.0-2.el7ost.noarch
  python-glance-2015.1.0-6.el7ost.noarch
  python-glance-store-0.4.0-1.el7ost.noarch
  openstack-glance-2015.1.0-6.el7ost.noarch

  How reproducible:
  100%

  Steps to Reproduce:
  With only cirros image(size=12.6MB) run those steps
  1. Edit /etc/glance/glance-api.conf set user_storage_quota =1536000
  2. openstack-service restart glance
  3. Try to upload an image less than 1536000MB

  Actual results:
  Failed with 'Denying attempt to upload image because it exceeds the quota'

  Expected results:
  Creating an image should succeed 

  Additional info:
  It is similar to bug id=1043929
  Glance logs

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1469738/+subscriptions


References