Deploy VM Fails/Errors on TrueNAS Scale Nightly

Description

When deloying a new VM via TrueNAS SCALE nightly, post beta, I receive the following error:

Error: Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/middlewared/main.py", line 146, in call_method

result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,

File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1231, in _call

return await methodobj(*prepared_call.args)

File "/usr/lib/python3/dist-packages/middlewared/service.py", line 674, in create

rv = await self.middleware._call(

File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1231, in _call

return await methodobj(*prepared_call.args)

File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1093, in nf

res = await f(*args, **kwargs)

File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1181, in nf

return await func(*args, **kwargs)

File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_devices.py", line 148, in do_create

data = await self.update_device(data)

File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_devices.py", line 112, in update_device

new_zvol = (await self.middleware.call ('pool.dataset.create', ds_options))['id']

File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1274, in call

return await self._call(

File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1231, in _call

return await methodobj(*prepared_call.args)

File "/usr/lib/python3/dist-packages/middlewared/service.py", line 674, in create

rv = await self.middleware._call(

File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1231, in _call

return await methodobj(*prepared_call.args)

File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1093, in nf

res = await f(*args, **kwargs)

File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1180, in nf

args, kwargs = clean_and_validate_args(args, kwargs)

File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1174, in clean_and_validate_args

raise verrors

middlewared.service_exception.ValidationErrors: [EINVAL] pool_dataset_create.volblocksize: Invalid choice: 16

Problem/Justification

None

Impact

None

Activity

Show:

Pat Guy 
July 2, 2021 at 8:19 PM

I just wanted to emphasize, I do not have this issue on the beta that was released on the 22nd, rather the issue occurs on the latest nightly builds.

 

Thanks

Pat Guy 
July 2, 2021 at 1:52 PM

Please see attached debug file.

 

I am attempting to deploy on a dataset named VMs under a root pool named SSD. If I create a zvol under the SSD pool and deploy, no issues and I am able to select block size of 16K. Again, fails deploying on a dataset named VMs.

Thanks

 

iX-Tony 
July 2, 2021 at 12:16 PM

Thank you for the report, . Can you please attach a debug file to this ticket? To generate a debug file on TrueNAS SCALE, log in to the TrueNAS web interface, go to System Settings > Advanced, then click Save Debug and wait for the file to download to your local system.

Duplicate

Details

Assignee

Reporter

Labels

Impact

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created July 1, 2021 at 11:55 PM
Updated July 6, 2022 at 9:00 PM
Resolved July 20, 2021 at 4:36 PM