Error mounting pool in apps service

fudi87

Dabbler
Joined
Jul 4, 2022
Messages
11
Solved: Just deleted the dataset and let app service recreate it and now it works.



Hello there,
Have som issues mounting pool to apps service, did a fresh install to TrueNAS-SCALE-24.04-BETA.1 but still not possible to mount the pool.
for the record i had the same issue on truneas scale bluefin.

The error suggest set "mountpoint"=legacy, searched around and tried it out but only results in error, some here that can help?

1708370194088.png

Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 462, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 500, in __run_body rv = await self.method(*([self] + args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 47, in nf res = await f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 187, in nf return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/kubernetes_linux/update.py", line 497, in do_update await self.middleware.call('kubernetes.status_change') File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1566, in call return await self._call( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1430, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1324, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/kubernetes_linux/lifecycle.py", line 274, in status_change self.middleware.call_sync('kubernetes.status_change_internal') File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1588, in call_sync return self.run_coroutine(methodobj(*prepared_call.args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1628, in run_coroutine return fut.result() ^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/_base.py", line 449, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result raise self._exception File "/usr/lib/python3/dist-packages/middlewared/plugins/kubernetes_linux/lifecycle.py", line 291, in status_change_internal await self.middleware.call('service.start', 'kubernetes') File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1566, in call return await self._call( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1419, in _call return await methodobj(*prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 187, in nf return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 47, in nf res = await f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/service.py", line 186, in start await service_object.before_start() File "/usr/lib/python3/dist-packages/middlewared/plugins/service_/services/kubernetes.py", line 44, in before_start await self.mount_kubelet_dataset() File "/usr/lib/python3/dist-packages/middlewared/plugins/service_/services/kubernetes.py", line 34, in mount_kubelet_dataset await run( File "/usr/lib/python3/dist-packages/middlewared/utils/__init__.py", line 80, in run cp.check_returncode() File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode raise CalledProcessError(self.returncode, self.args, self.stdout, subprocess.CalledProcessError: Command '('mount', '-t', 'zfs', 'thegrid/ix-applications/k3s/kubelet', '/var/lib/kubelet')' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 466, in run raise handled middlewared.service_exception.CallError: [EFAULT] Command mount -t zfs thegrid/ix-applications/k3s/kubelet /var/lib/kubelet failed (code 1): filesystem 'thegrid/ix-applications/k3s/kubelet' cannot be mounted using 'mount'. Use 'zfs set mountpoint=legacy' or 'zfs mount thegrid/ix-applications/k3s/kubelet'. See zfs(8) for more information.
 
Last edited:
Top