[glance] Still not working over uwsgi
Hi, I've been told in the past in this very list, that Glance would now work over uwsgi. Though that's not the case. Normal image upload works, but doing a "openstack server backup" fails, as well as shelving (it's the same operation...). We get: "Failed to upload image data due to HTTP error: webob.exc.HTTPRequestEntityTooLarge: Image storage media is full: Object PUT failed" even though the Swift user Glance is configured for isn't over quota. Is there any configuration options that we missed? Or should we still consider that Glance over uwsgi is broken? Cheers, Thomas Goirand (zigo)
On Fri, 2024-09-20 at 12:20 +0200, Thomas Goirand wrote:
Hi,
I've been told in the past in this very list, that Glance would now work over uwsgi. Though that's not the case. Normal image upload works, but doing a "openstack server backup" fails, as well as shelving (it's the same operation...). We get:
"Failed to upload image data due to HTTP error: webob.exc.HTTPRequestEntityTooLarge: Image storage media is full: Object PUT failed"
even though the Swift user Glance is configured for isn't over quota.
Is there any configuration options that we missed? Or should we still consider that Glance over uwsgi is broken?
openstack server backup is a nova command and a tenant one at that. so it woudl not be using the glance user for swift it woudl expect it to be using your current user's quota unless you configre glance to store all images in a serivce project. i know that is possible for using the cinder backend so maybe it a thing for swift but have you looked tat the toke used and confirm if its using your users token.
Cheers,
Thomas Goirand (zigo)
I've been told in the past in this very list, that Glance would now work over uwsgi. Though that's not the case. Normal image upload works, but doing a "openstack server backup" fails, as well as shelving (it's the same operation...). We get:
"Failed to upload image data due to HTTP error: webob.exc.HTTPRequestEntityTooLarge: Image storage media is full: Object PUT failed"
even though the Swift user Glance is configured for isn't over quota.
Is there any configuration options that we missed? Or should we still consider that Glance over uwsgi is broken?
We run glance in zuul in uwsgi: https://github.com/openstack/glance/blob/master/.zuul.yaml#L207 Note the GLANCE_STANDALONE=False which triggers it to run that way in that and other jobs there. That error message doesn't look familiar to me, nor do I think it makes sense that it is related to wsgi mode. Some more log context and detail would be helpful. --Dan
participants (3)
-
Dan Smith
-
smooney@redhat.com
-
Thomas Goirand