Hi community,
I upgraded from TrueNAS Core to Scale and I need some guidance. I've created VMs in core perfectly fine but Scale seems to be a different animal all together. As the subject of the thread insinuates I can't start my VM because it seems to not be able to locate or have permissions to access the location it created where the files are stored. I deleted and recreated the VM thinking maybe I missed a step but still running into this issue. Currently I'm trying to use a CentOS iso for the image. I read in another forum there may be a permission issue but this was during the beta Forums TrueNAS TrueNAS SCALE TrueNAS SCALE 21.06-BETA Now Available! and it wasn't clear on a solution. Here is the error log from the failed start after install.
remove_circle_outlineMore info...
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 175, 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 1275, in _call
return await methodobj(*prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1261, in nf
return await func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1129, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_lifecycle.py", line 39, in start
await self.middleware.run_in_thread(self._start, vm['name'])
File "/usr/lib/python3/dist-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py", line 62, in _start self.vms[vm_name].start(vm_data=self._vm_from_name(vm_name))
File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/supervisor/supervisor_base.py", line 138, in start
raise CallError(
middlewared.service_exception.CallError: [EFAULT] VM will not start as DISK Device: /dev/zvol/Pool 1/VM/CentOS-ysh3w device(s) are not available.
I upgraded from TrueNAS Core to Scale and I need some guidance. I've created VMs in core perfectly fine but Scale seems to be a different animal all together. As the subject of the thread insinuates I can't start my VM because it seems to not be able to locate or have permissions to access the location it created where the files are stored. I deleted and recreated the VM thinking maybe I missed a step but still running into this issue. Currently I'm trying to use a CentOS iso for the image. I read in another forum there may be a permission issue but this was during the beta Forums TrueNAS TrueNAS SCALE TrueNAS SCALE 21.06-BETA Now Available! and it wasn't clear on a solution. Here is the error log from the failed start after install.
report_problem CallError
[EFAULT] VM will not start as DISK Device: /dev/zvol/Pool 1/VM/CentOS-ysh3w device(s) are not available.remove_circle_outlineMore info...
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 175, 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 1275, in _call
return await methodobj(*prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1261, in nf
return await func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1129, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_lifecycle.py", line 39, in start
await self.middleware.run_in_thread(self._start, vm['name'])
File "/usr/lib/python3/dist-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py", line 62, in _start self.vms[vm_name].start(vm_data=self._vm_from_name(vm_name))
File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/supervisor/supervisor_base.py", line 138, in start
raise CallError(
middlewared.service_exception.CallError: [EFAULT] VM will not start as DISK Device: /dev/zvol/Pool 1/VM/CentOS-ysh3w device(s) are not available.