Cinder backend for glance raises 500 if quota of volume exceeds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
New
|
Undecided
|
Abhishek Kekane |
Bug Description
If you are using cinder backend for glance and quota of volumes is exceeded it raises 500 error on new image creation.
Expected error:
40* error response (mostly 401 or 403)
Actual error:
HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation.
glance-api logs:
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi Traceback (most recent call last):
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi request, **action_args)
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi return method(*args, **kwargs)
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi return func(self, req, *args, **kwargs)
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi self._restore(
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi self.force_
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi six.reraise(
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi raise value
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi image.set_
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi self.base.
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi _send_notificat
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi self.force_
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi six.reraise(
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi raise value
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi set_active=
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi return self.image.
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi set_active=
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi self._upload_
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/opt/stack/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi verifier=verifier)
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi image_id, data, size, hashing_algo, store, context, verifier)
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi image_id, data, size, hashing_algo, context=context, verifier=verifier)
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi metadata_dict) = store_add_
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi return store_op_fun(store, *args, **kwargs)
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi volume_
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi return self._create(
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi resp, body = self.api.
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi return self._cs_
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi resp, body = self.request(url, method, **kwargs)
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi File "/usr/local/
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi raise exceptions.
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi cinderclient.
Apr 27 15:15:46 victoria-cinder glance-api[29768]: ERROR glance.common.wsgi
Apr 27 15:15:46 victoria-cinder glance-api[29768]: INFO eventlet.
Changed in glance-store: | |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
If it's related to devstack environment, the fix has landed in devstack https:/ /review. opendev. org/c/openstack /devstack/ +/774172