11.3 U2 Can't disable replication task.

Jedi940

Dabbler
Joined
Feb 25, 2020
Messages
20
I just upgraded from 11.3 U1 to 11.3 U2 and can no longer disable replication tasks. I am in the middle of migrating from LEGACY tasks to the new system but wanted to be on the latest update before Migrating the last 3. Now when I go to disable the old task before creating the new one, I receive the error "[readonly] null not allowed." I tried this with both LEGACY and SSH replication tasks.

I didn't find a ticket in Jira for it as it is a different message from ticket NAS-105675

Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 130, in call_method
    io_thread=False)
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1081, in _call
    return await methodobj(*args)
  File "/usr/local/lib/python3.7/site-packages/middlewared/service.py", line 404, in update
    f'{self._config.namespace}.update', self, self.do_update, [id, data]
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1081, in _call
    return await methodobj(*args)
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 960, in nf
    args, kwargs = clean_and_validate_args(args, kwargs)
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 918, in clean_and_validate_args
    value = attr.clean(args[args_index + i])
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 594, in clean
    data[key] = attr.clean(value)
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 164, in clean
    value = super(Str, self).clean(value)
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 42, in clean
    value = super().clean(value)
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 76, in clean
    raise Error(self.name, 'null not allowed')
middlewared.schema.Error: [readonly] null not allowed
 

Jedi940

Dabbler
Joined
Feb 25, 2020
Messages
20
After logging out and back in, I am now able to disable SSH replication tasks but the LEGACY tasks are still giving an error. It is different now.
Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 130, in call_method
    io_thread=False)
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1081, in _call
    return await methodobj(*args)
  File "/usr/local/lib/python3.7/site-packages/middlewared/service.py", line 404, in update
    f'{self._config.namespace}.update', self, self.do_update, [id, data]
  File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1081, in _call
    return await methodobj(*args)
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 960, in nf
    args, kwargs = clean_and_validate_args(args, kwargs)
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 918, in clean_and_validate_args
    value = attr.clean(args[args_index + i])
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 588, in clean
    raise Error(key, 'Field was not expected')
middlewared.schema.Error: [schedule_begin] Field was not expected
 

Erin Clark

Cadet
iXsystems
Joined
Apr 16, 2014
Messages
8
Looks like you are now getting the same error as described in NAS-105675, that should be fixed in 11.3-U3.
 

Jedi940

Dabbler
Joined
Feb 25, 2020
Messages
20
Yea, I didn't catch that right away. Is there a work around? I would like to finish getting my legacy replication switched over.
 
Top