Skip to content
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

Kamel install error on Minikube #3348

Closed
chorton-coastal opened this issue Jun 10, 2022 · 5 comments · Fixed by #3711
Closed

Kamel install error on Minikube #3348

chorton-coastal opened this issue Jun 10, 2022 · 5 comments · Fixed by #3711
Labels
area/installation Installation and Topology kind/bug Something isn't working

Comments

@chorton-coastal
Copy link

After running kamel install I'm getting an error on the operator.
I'm using kamel 1.9.2 and minikube v1.25.2.

> kubectl get pods
NAME                                READY   STATUS             RESTARTS        AGE        
camel-k-operator-56f584bf94-82gff   0/1     CrashLoopBackOff   9 (3m21s ago)   24m        

> kubectl logs -p camel-k-operator-56f584bf94-82gff
{"level":"error","ts":1654870876.582687,"logger":"cmd","msg":"failed to set GOMAXPROCS from cgroups","error":"path \"/docker/8ce2a9598fa8ae5ed2c911c7b2b9022aa7a934a9170b1c8936ac9ba56dd86d71\" is not a descendant of mount point root \"/docker/8ce2a9598fa8ae5ed2c911c7b2b9022aa7a934a9170b1c8936ac9ba56dd86d71/kubelet\" and cannot be exposed from \"/sys/fs/cgroup/rdma/kubelet\"","stacktrace":"github.com/apache/camel-k/pkg/cmd.(*operatorCmdOptions).run\n\tgithub.com/apache/camel-k/pkg/cmd/operator.go:54\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.2.1/command.go:860\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.2.1/command.go:974\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.2.1/command.go:902\nmain.main\n\tcommand-line-arguments/main.go:47\nruntime.main\n\truntime/proc.go:225"}
@squakez
Copy link
Contributor

squakez commented Jun 13, 2022

It seems some error while getting information from your operating system. Are you using any virtual environment by any chance? You may try to force a GOMAXPROCS environment variable and setting 1 or 2 as a value.

@squakez squakez added area/installation Installation and Topology kind/question Further information is requested labels Jun 13, 2022
@chorton-coastal
Copy link
Author

Adding the environment variable didn't help. I was able to get it working using the hyperv driver instead of docker.

minikube start --driver hyperv

@squakez squakez added kind/bug Something isn't working and removed kind/question Further information is requested labels Jun 17, 2022
@squakez squakez reopened this Jun 17, 2022
@squakez
Copy link
Contributor

squakez commented Jun 17, 2022

Yes, I've just hit the same problem. It seems a problem with the docker driver indeed. It is giving this error once I've run an update. Reopening in order to figure it out how to fix. Thanks for the workaround!

@squakez
Copy link
Contributor

squakez commented Jun 17, 2022

We're probably hitting uber-go/automaxprocs#49

@squakez
Copy link
Contributor

squakez commented Jun 17, 2022

Some further workaround in elastic/cloud-on-k8s#5325 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/installation Installation and Topology kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants