deposit: loader instanciation is failing with an error "unexpected keyword argument 'extraction_dir'"
The icinga probe is red and an error is raised in sentry : https://sentry.softwareheritage.org/share/issue/fa106cb39d304c98a5a784871b0dcc3c/
Feb 19 05:33:16 worker01 python3[1755971]: [2021-02-19 05:33:16,548: ERROR/ForkPoolWorker-1] Task swh.loader.package.deposit.tasks.LoadDeposit[86e6a277-c650-4a6d-988e-e24035bc7289] raised unexpected: TypeError("__init__() got an unexpected keyword argument 'extraction_dir'")
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/celery/app/trace.py", line 385, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/python3/dist-packages/swh/scheduler/task.py", line 51, in __call__
result = super().__call__(*args, **kwargs)
File "/usr/lib/python3/dist-packages/celery/app/trace.py", line 650, in __protected_call__
return self.run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/celery.py", line 161, in _inner
reraise(*exc_info)
File "/usr/lib/python3/dist-packages/sentry_sdk/_compat.py", line 57, in reraise
raise value
File "/usr/lib/python3/dist-packages/sentry_sdk/integrations/celery.py", line 156, in _inner
return f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/swh/loader/package/deposit/tasks.py", line 14, in load_deposit
return DepositLoader.from_configfile(url=url, deposit_id=deposit_id).load()
File "/usr/lib/python3/dist-packages/swh/loader/package/deposit/loader.py", line 147, in from_configfile
return cls.from_config(deposit_client=deposit_client, **config)
File "/usr/lib/python3/dist-packages/swh/loader/core/loader.py", line 118, in from_config
return cls(storage=storage_instance, **config)
TypeError: __init__() got an unexpected keyword argument 'extraction_dir'
Migrated from T3062 (view on Phabricator)