Comment 4 for bug 1315321

Revision history for this message
Nathan Kinder (nkinder) wrote : Re: image_size_cap not checked in v2

How would this allow one to fill up the Nova compute nodes? Wouldn't the instance flavors still control the amount of disk that is used?

I could see this allowing one to fill up the backend storage used by Glance, though user_storage_quota should allow one to prevent this. The quota isn't set by default, but that could be recommended in an OSSN. The defaults for these values are as follows:

  image_size_cap = 1099511627776 (1TB)
  user_storage_quota = 0 (unlimited)

If I understand the way these values are intended to work correctly, one would be able to fill up Glance's backend storage by simply adding many images that are under the image_size_cap with the default settings. The fact that the cap is broken just means that one could add a lower number of larger images to fill up Glance's storage than they would if the cap was functioning properly.