Problem after upgrade TrueNAS 12.0-U2 > U3

alexgum

Cadet
Joined
Apr 21, 2021
Messages
1
When I trying to edit zvol, error occured:
[sync] Invalid choice: {'parsed': 'standard', 'rawvalue': 'standard', 'value': 'STANDARD', 'source': 'DEFAULT'}

More info...

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 476, in update
rv = await self.middleware._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 972, in nf
args, kwargs = clean_and_validate_args(args, kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 930, in clean_and_validate_args
value = attr.clean(args[args_index + i])
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 607, in clean
data[key] = attr.clean(value)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 167, in clean
value = super(Str, self).clean(value)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 53, in clean
raise Error(self.name, f'Invalid choice: {value}')
middlewared.schema.Error: [sync] Invalid choice: {'parsed': 'standard', 'rawvalue': 'standard', 'value': 'STANDARD', 'source': 'DEFAULT'}

Also, any zvol selected for editing shows wrong zvol name (for example I edit zvol named "backup", but it shows that it's another "hdd_mirror" zvol)
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
That sounds like a bug, you should log it under System | Support
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

atomique90

Dabbler
Joined
Jul 13, 2018
Messages
10
Thank you! I will give this a try if this problem wont be fixed with 12.0-U4 in june. Just asking to be sure that I dont have to report my problem.
 
Top