Error on loading Instances UI due to `input_value='VIRTIOFS'`
Description
Problem/Justification
None
Impact
None
Activity
Show:
Bug Clerk 2 days ago
This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.
Bug Clerk 2 days ago
We have no intentions of fixing this. You’re specifically configuring incus in a manner which we’re not expecting.
Not Applicable
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Triage Team
Triage TeamReporter
saku
sakuLabels
Fix versions
Affects versions
Priority

More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created 2 days ago
Updated 2 days ago
Resolved 2 days ago
I understand I am not using the Instances feature as intended the moment I manage Incus through the CLI instead of the UI, but this should be an easy fix.
Steps to reproduce:
1. Have an Incus VM with a virtiofs disk (io.bus=virtiofs).
2. Open the Instances tab.
Expected:
No error.
Result:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py", line 323, in process_method_call
result = await method.call(app, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 49, in call
return await self._dump_result(app, methodobj, result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 52, in _dump_result
return self.middleware.dump_result(self.serviceobj, methodobj, app, result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 791, in dump_result
return serialize_result(new_style_returns_model, result, expose_secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/handler/result.py", line 13, in serialize_result
return model(result=result).model_dump(
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pydantic/main.py", line 212, in _init_
validated_self = self._pydantic_validator_.validate_python(data, self_instance=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 3 validation errors for VirtInstanceDeviceListResult
result.7.DISK.io_bus
Input should be 'NVME', 'VIRTIO-BLK', 'VIRTIO-SCSI' or None [type=literal_error, input_value='VIRTIOFS', input_type=str]
For further information visit https://errors.pydantic.dev/2.9/v/literal_error
result.8.DISK.io_bus
Input should be 'NVME', 'VIRTIO-BLK', 'VIRTIO-SCSI' or None [type=literal_error, input_value='VIRTIOFS', input_type=str]
For further information visit https://errors.pydantic.dev/2.9/v/literal_error
result.9.DISK.io_bus
Input should be 'NVME', 'VIRTIO-BLK', 'VIRTIO-SCSI' or None [type=literal_error, input_value='VIRTIOFS', input_type=str]
For further information visit https://errors.pydantic.dev/2.9/v/literal_error
Session ID: cb0a1fb0-471d-ae12-ac67-76d96417aba0