Traefk Truecharts failed to install

gauthig

Cadet
Joined
Sep 10, 2022
Messages
5
Truechart apps are installing fine except for Traefk. Using defaults or charging the ports does not change the error I am getting about a missing template.

Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 426, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 461, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1318, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 486, in do_create await self.middleware.call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1346, 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 1249, in run_in_executor return await loop.run_in_executor(pool, 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/chart_releases_linux/helm.py", line 44, in helm_action raise CallError(f'Failed to {tn_action} chart release: {stderr.decode()}') middlewared.service_exception.CallError: [EFAULT] Failed to install chart release: Error: INSTALLATION FAILED: template: traefik/templates/common.yaml:13:4: executing "traefik/templates/common.yaml" at <include "traefik.ingressClass" .>: error calling include: template: traefik/templates/_ingressclass.tpl:19:8: executing "traefik.ingressClass" at <include "tc.common.labels" .>: error calling include: template: no template "tc.common.labels" associated with template "gotpl"
 

Ry-Guy

Cadet
Joined
Mar 6, 2023
Messages
7
I am having the exact same issue, So far my googling has turned up no results. Here is my stacktrace

Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 426, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 461, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1318, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 486, in do_create await self.middleware.call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1346, 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 1249, in run_in_executor return await loop.run_in_executor(pool, 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/chart_releases_linux/helm.py", line 44, in helm_action raise CallError(f'Failed to {tn_action} chart release: {stderr.decode()}') middlewared.service_exception.CallError: [EFAULT] Failed to install chart release: Error: INSTALLATION FAILED: template: traefik/templates/common.yaml:13:4: executing "traefik/templates/common.yaml" at <include "traefik.ingressClass" .>: error calling include: template: traefik/templates/_ingressclass.tpl:19:8: executing "traefik.ingressClass" at <include "tc.common.labels" .>: error calling include: template: no template "tc.common.labels" associated with template "gotpl"
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
While the bug is valid, and fixed by now, no one should be using ingressClass.

ingressClass is a feature for advanced kubernetes users that need to run multiple ingresses. Which is not the case of basically any user of TrueCharts at this time.

---
If you need any help with TrueCharts, please reach out to out support staff on discord directly be filing a support ticket there.
We, sadly enough, do not have the capacity to also provide support on this forum as well.
 
Top