Vault: put_bundle fails on big object sizes.
Can be either because of the objstorage or because of the Vault backend?
Feb 15 15:23:58 worker12.euwest.azure python3[90852]: [2018-02-15 15:23:58,685: ERROR/MainProcess] Task swh.vault.cooking_tasks.SWHCookingTask[336e334e-f4c9-44f4-bfb8-926cad7f4be3] raised unexpected: RemoteException("Unexpected status code for API request: 413 (b'413: Request Entity Too Large')",)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/python3/dist-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/swh/scheduler/task.py", line 161, in run
raise e from None
File "/usr/lib/python3/dist-packages/swh/scheduler/task.py", line 158, in run
result = self.run_task(*args, **kwargs)
File "/usr/lib/python3/dist-packages/swh/vault/cooking_tasks.py", line 17, in run_task
cooker.cook()
File "/usr/lib/python3/dist-packages/swh/vault/cookers/base.py", line 127, in cook
self.backend.put_bundle(self.CACHE_TYPE_KEY, self.obj_id, bundle)
File "/usr/lib/python3/dist-packages/swh/vault/api/client.py", line 49, in put_bundle
data=bundle)
File "/usr/lib/python3/dist-packages/swh/core/api.py", line 62, in post
return self._decode_response(response)
File "/usr/lib/python3/dist-packages/swh/core/api.py", line 96, in _decode_response
response.content,
swh.core.api.RemoteException: Unexpected status code for API request: 413 (b'413: Request Entity Too Large')
Migrated from T967 (view on Phabricator)