Skip to content

Instantly share code, notes, and snippets.

@darkain
Created January 9, 2020 00:44
Show Gist options
  • Save darkain/29e2bd4e3801e88b7bccf84cc5fb3923 to your computer and use it in GitHub Desktop.
Save darkain/29e2bd4e3801e88b7bccf84cc5fb3923 to your computer and use it in GitHub Desktop.
[2020/01/06 16:54:07] (WARNING) middlewared.__periodic_task_wrapper():849 - Exception while calling periodic task
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 847, in __periodic_task_wrapper
await self._call(method_name, service_obj, method)
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1061, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/zettarepl.py", line 726, in flush_state
{"repl_state": ejson.dumps(state)})
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1122, in call
app=app, pipes=pipes, job_on_progress_cb=job_on_progress_cb, io_thread=True,
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1075, in _call
return await run_method(methodobj, *args)
File "/usr/local/lib/python3.7/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.7/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 953, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/datastore.py", line 293, in update
obj = model.objects.get(pk=id)
File "/usr/local/lib/python3.7/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 385, in get
self.model._meta.object_name
freenasUI.storage.models.DoesNotExist: Replication matching query does not exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment