Skip to content

cso tries to helm template the root of the container if the computed chart name does not match the charts name #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jklippel opened this issue Apr 14, 2025 · 1 comment · Fixed by #289
Assignees

Comments

@jklippel
Copy link
Contributor

/kind bug

What steps did you take and what happened:
Created a new cluster-stack from scratch, but added a wrong chart name to the Chart.yaml file in the cluster-class directory.

This lead to the following error message in the cso-logs:

walk.go:74: found symbolic link in path: /bin/arch resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/ash resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/base64 resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/bbconfig resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/cat resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/chattr resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/chgrp resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/chmod resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/chown resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/cp resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/date resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/dd resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/df resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/dmesg resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/dnsdomainname resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/dumpkmap resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/echo resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/ed resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/egrep resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/false resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/fatattr resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/fdflush resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/fgrep resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/fsync resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/getopt resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/grep resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/gunzip resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/gzip resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/hostname resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/ionice resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/iostat resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/ipcalc resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/kbd_mode resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/kill resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/link resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/linux32 resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/linux64 resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/ln resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/login resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/ls resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/lsattr resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/lzop resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/makemime resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/mkdir resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/mknod resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/mktemp resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/more resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/mount resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/mountpoint resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/mpstat resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/mv resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/netstat resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/nice resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/pidof resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/ping resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/ping6 resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/pipe_progress resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/printenv resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/ps resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/pwd resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/reformime resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/rev resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/rm resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/rmdir resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/run-parts resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/sed resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/setpriv resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/setserial resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/sh resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/sleep resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/stat resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/stty resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/su resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/sync resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/tar resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/touch resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/true resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/umount resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/uname resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/usleep resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/watch resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /bin/zcat resolves to /bin/busybox. Contents of linked file included and used
walk.go:74: found symbolic link in path: /dev/core resolves to /proc/kcore. Contents of linked file included and used
Error: cannot load irregular file /dev/core as it has file mode type bits set
{"level":"ERROR","time":"2025-04-14T15:10:03.096Z","file":"controller/controller.go:324","message":"Reconciler error","controller":"clusterstackrelease","controllerGroup":"clusterstack.x-k8s.io","controllerKind":"ClusterStackRelease","ClusterStackRelease":{"name":"docker-example-1-32-v0-sha-uxh53fj","namespace":"default"},"namespace":"default","name":"docker-example-1-32-v0-sha-uxh53fj","reconcileID":"36117fc7-467e-4cde-9829-f1a6317784dc","error":"failed to template and apply: failed to template clusterClass helm chart: failed to template clusterClass helm chart: failed to run helm template for \"\": exit status 1","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/jakl/GolandProjects/cluster-stack-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/jakl/GolandProjects/cluster-stack-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:261\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/jakl/GolandProjects/cluster-stack-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:222"}

What did you expect to happen:
An error message is given that the cluster stack cannot be used.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • cluster-stack-operator version: v0.1.0-alpha.9
  • Kubernetes version: 1.32.2
  • OS (e.g. from /etc/os-release): n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant