Closed kqmaverick closed 1 year ago
Fixed, caused by traefik changing CRD api name
I have the same issue with the version 2.10.1_18.0.15. May I ask what I should do? Error messages are stated below.
Error [EFAULT] Failed to install chart release: Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "traefik" namespace: "" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first
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: unable to build kubernetes objects from release manifest: resource mapping not found for name: "traefik" namespace: "" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first
This is a completely different and unrelated error. Don't bump old closed issues unless you at least completely read them
App Name
Traefik
SCALE Version
22.12.2
App Version
2.10.1_18.0.11
Application Events
Application Logs
Application Configuration
All configurations default except changing ports to 80/443 for entry. I have tried with Prometheus Metrics both enabled and disabled. I have installed prometheus operator to confirm that is not cause of error.
Describe the bug
[EFAULT] Failed to install chart release: Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "traefik-dashboard" namespace: "" from "": no matches for kind "IngressRoute" in version "traefik.containo.us/v1alpha1" ensure CRDs are installed first
To Reproduce
Expected Behavior
Traefik installation completes without error.
Screenshots
Additional Context
I have completed other applications installs as suggested and they are fine but the CRDs error remains.
I've read and agree with the following