Not able to create more than 10 images

Solution In Progress - Updated -

Issue

  • Our deployment uses cinder as the backend for glance:
[root@overcloud-controller-0 ~]# grep ^stores /var/lib/config-data/puppet-generated/glance_api/etc/glance/glance-api.conf
stores=http,cinder
  • We use Dell Unity as the backend for cinder:
[root@overcloud-controller-0 ~]# grep volume_driver /var/lib/config-data/puppet-generated/cinder/etc/cinder/cinder.conf
#volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
volume_driver=cinder.volume.drivers.dell_emc.unity.Driver
  • We are not able to create more than 10 images with glance. It ends up with the error:
2020-04-22 13:33:28.604 24 DEBUG glance_store._drivers.cinder [req-5614de0d-e751-4ef7-986c-db73b400b44e 0dbe1fca33904038a29a3d94dd998b33 6996f85c06be4d648ebf0eabde35e119 - default default] Creating a new volume: image_size=0 size_gb=1 type=None add /usr/lib/python3.6/site-packages/glance_store/_drivers/cinder.py:695
2020-04-22 13:33:28.604 24 INFO glance_store._drivers.cinder [req-5614de0d-e751-4ef7-986c-db73b400b44e 0dbe1fca33904038a29a3d94dd998b33 6996f85c06be4d648ebf0eabde35e119 - default default] Since image size is zero, we will be doing resize-before-write for each GB which will be considerably slower than normal.
2020-04-22 13:33:29.676 24 ERROR glance.api.v2.image_data [req-5614de0d-e751-4ef7-986c-db73b400b44e 0dbe1fca33904038a29a3d94dd998b33 6996f85c06be4d648ebf0eabde35e119 - default default] Failed to upload image data due to internal error: cinderclient.exceptions.OverLimit: VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'. (HTTP 413) (Request-ID: req-5b0cd390-5a1c-4680-82de-134bbb3e7b96)
2020-04-22 13:33:29.708 24 ERROR glance.common.wsgi [req-5614de0d-e751-4ef7-986c-db73b400b44e 0dbe1fca33904038a29a3d94dd998b33 6996f85c06be4d648ebf0eabde35e119 - default default] Caught error: VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'. (HTTP 413) (Request-ID: req-5b0cd390-5a1c-4680-82de-134bbb3e7b96): cinderclient.exceptions.OverLimit: VolumeLimitExceeded: Maximum number of volumes allowed (10) exceeded for quota 'volumes'. (HTTP 413) (Request-ID: req-5b0cd390-5a1c-4680-82de-134bbb3e7b96)
  • We updated volume quotas to 100, but this did not help.

Environment

  • Red Hat OpenStack Platform 16.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In