Error when Cloud Syncs is scheduled

goldfix

Cadet
Joined
Dec 30, 2018
Messages
3
Hello,

A couple days ago I installed my first Freenas on a assembled PC.
There are not problems except on a scheduling of Cloud Syncs.

I'm using version: FreeNAS-11.1-U6.3

When scheduling a Cloud Syncs with Azure Blob Storage and I try to execute task manually, there are not problems.
When I schedule Syncs I receive this error:

Cron <root@freenas> /usr/local/bin/midclt call cloudsync.sync 2 > /dev/null
--
ENOMETHOD] Method "sync" not found in "cloudsync"
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 906, in _method_lookup
serviceobj = self.get_service(service)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 823, in get_service
return self.__services[name]
KeyError: 'cloudsync'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 150, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 915, in call_method
serviceobj, methodobj = self._method_lookup(message['method'])
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 909, in _method_lookup
raise CallError(f'Method "{method_name}" not found in "{service}"', CallError.ENOMETHOD)

middlewared.service_exception.CallError: [ENOMETHOD] Method "sync" not found in "cloudsync"

Configuration of task is:
  • Direction: Push
  • Operation: Copy
Can help me?

Thanks

ciao
p
 
D

dlavigne

Guest
Please create a report at bugs.freenas.org and post the issue number here.
 

bigdadda06

Dabbler
Joined
Aug 23, 2018
Messages
14
I had some CloudSync tasks setup in U6.1 and they were working fine.
I upgraded to U6.3 recently and now get this error. The jobs work fine if i run them manually, but generate this error if/when they try to run automatically.

Both bug tickets (#66549 and #66405) seem to be closed.
#66405 seems to indicate that it is fixed in U7 ???
What is the eta on that release ?
 
Last edited:

bigdadda06

Dabbler
Joined
Aug 23, 2018
Messages
14
Bugs have been reported, #66549 and #66405, although closed for some reason.

I managed to "fix" my installation by upgrading to 11.2 U1
 
Top