BackendException: Failed to add object to Swift. - While trying to upload image size of around 400 MB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Incomplete
|
High
|
Erno Kuvaja |
Bug Description
2017-03-15 22:36:29.268 418 ERROR glance_
to add object to Swift.
Got error from Swift: put_object(
2017-03-15 22:36:29.271 418 ERROR glance.
image data due to internal error
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.271 418 ERROR glance.
or reupload..
2017-03-15 22:36:29.271 418 ERROR glance.
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi [req-96a417c4-
o add object to Swift.
Got error from Swift: put_object(
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi Traceback (most recent call last):
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi request, **action_args)
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi return method(*args, **kwargs)
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi return func(self, req, *args, **kwargs)
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi self._restore(
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi self.force_
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi six.reraise(
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi image.set_
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi self.base.
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi _send_notificat
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi self.force_
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi six.reraise(
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi self.repo.
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi return self.image.
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi self.image.
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi verifier=verifier)
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi verifier)
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi verifier=verifier)
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi return store_op_fun(store, *args, **kwargs)
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi File "/openstack/
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi raise glance_
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi BackendException: Failed to add object to Swift.
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi Got error from Swift: put_object(
pload..
2017-03-15 22:36:29.396 418 ERROR glance.common.wsgi
When I try to upload an image of lesser size (around 30 MB), it get thru successfully. I am not sure what might be causing this failure. Any timeout set anywhere?
This is my glance-api.conf looks like :
[glance_store]
default_store = swift
stores = swift,http,cinder
swift_store_
default_
swift_store_
swift_store_region = RegionOne
swift_store_
swift_store_
swift_store_
swift_store_
swift_store_
swift_store_
tags: | added: ceph |
tags: |
added: swift removed: ceph |
Changed in glance-store: | |
importance: | Undecided → High |
assignee: | nobody → Erno Kuvaja (jokke) |
Is this still occurring? We haven't heard about it from anyone else, and have not seen it ourselves. Have been able to upload 2GB images in recent devstack with swift backend.