i tried to delete a VM while it was running (i thought it was already shut down). It gave me a validation error that will not clear.
tried a reboot, no change; the validation comes back every time i go to the instances page.
if you close the validation error box it says no instances.
try to create a new one with the vnc port the same as one of the previously created instances (that are now not listed) and it complains its already used.
so they are still there somewhere.
any ideas how to clear this so i can use the instance function again?
thanks
error message follows:
3 validation errors for VirtInstanceQueryResult result.list[VirtInstanceQueryResultItem].6.status Input should be ‘RUNNING’, ‘STOPPED’ or ‘UNKNOWN’ [type=literal_error, input_value=‘ERROR’, input_type=str] For further information visit Redirecting... result.VirtInstanceQueryResultItem Input should be a valid dictionary or instance of VirtInstanceQueryResultItem [type=model_type, input_value=[{‘id’: ‘Debian’, ‘name’:…, ‘memory’: 2147483648}], input_type=list] For further information visit Redirecting... result.int Input should be a valid integer [type=int_type, input_value=[{‘id’: ‘Debian’, ‘name’:…, ‘memory’: 2147483648}], input_type=list] For further information visit Redirecting...
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 VirtInstanceQueryResult
result.list[VirtInstanceQueryResultItem].6.status
Input should be ‘RUNNING’, ‘STOPPED’ or ‘UNKNOWN’ [type=literal_error, input_value=‘ERROR’, input_type=str]
For further information visit Redirecting...
result.VirtInstanceQueryResultItem
Input should be a valid dictionary or instance of VirtInstanceQueryResultItem [type=model_type, input_value=[{‘id’: ‘Debian’, ‘name’:…, ‘memory’: 2147483648}], input_type=list]
For further information visit Redirecting...
result.int
Input should be a valid integer [type=int_type, input_value=[{‘id’: ‘Debian’, ‘name’:…, ‘memory’: 2147483648}], input_type=list]
For further information visit Redirecting...