Failed to start vm

Description

After going through the update of TrueNAS Core 12 to 13u1, there were problems booting the virtual machines that had already been created, fortunately it was a test environment, wait for a next update, 13u2 and a next 13u3 and so on until 13u6 and I continue with the same failure to start the vm.
I emphasize that of the 8 vm that you have, only 2 turn on correctly.
marked error:
OSError
[Errno 22] Invalid argument
remove_circle_outline
More info...

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 139, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1247, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1152, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 985, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/vm.py", line 1594, in start
self.middleware.call_sync('vm.init_guest_vmemory', vm, options['overcommit'])
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1295, in call_sync
return self.run_coroutine(methodobj(*prepared_call.args))
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1335, in run_coroutine
return fut.result()
File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/vm.py", line 1227, in init_guest_vmemory
setvmem = await self.__set_guest_vmemory(guest_memory, overcommit)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/vm.py", line 1219, in __set_guest_vmemory
sysctl.filter('vfs.zfs.arc.max')[0].value = new_arc_max
OSError: [Errno 22] Invalid argument

Problem/Justification

None

Impact

None

Attachments

1

Activity

Show:

Caleb September 18, 2023 at 2:34 PM

Unfortunately, we do not have the time or resources to investigate this issue. If you're able to figure it out, please submit a pull request and we'll be more than happy to review. Otherwise, I would suggest using SCALE to see if this is reproducible.

Automation for Jira July 8, 2023 at 8:26 PM

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

Not to be Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Impact

Critical

Components

Fix versions

Priority

More fields

Katalon Platform

Created July 8, 2023 at 8:26 PM
Updated September 18, 2023 at 2:34 PM
Resolved September 18, 2023 at 2:34 PM