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
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