You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/09/20 09:32:56 UTC

[GitHub] [camel-k] mayurbm commented on issue #736: camel-k-cache crashes on minikube

mayurbm commented on issue #736: camel-k-cache crashes on minikube
URL: https://github.com/apache/camel-k/issues/736#issuecomment-533482575
 
 
   fix: Use restart policy OnFailure for Kaniko cache warmer doesn't solve the problem in minikube.
   I still get CrashLoopBackOff   
   camel-k-cache                       0/1     CrashLoopBackOff   8          20m
   
   in pod log I can see:
   
   vagrant@ubukube:~/camel/camel-k/build/maven$ kubectl logs camel-k-cache
   panic: runtime error: invalid memory address or nil pointer dereference
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0xf13712]
   
   goroutine 1 [running]:
   github.com/GoogleContainerTools/kaniko/pkg/cache.WarmCache(0x1977fe0, 0xf25480, 0xc420331cd8)
           /go/src/github.com/GoogleContainerTools/kaniko/pkg/cache/warm.go:47 +0x372
   github.com/GoogleContainerTools/kaniko/cmd/warmer/cmd.glob..func2(0x196f140, 0xc4203ca240, 0x0, 0x2)
           /go/src/github.com/GoogleContainerTools/kaniko/cmd/warmer/cmd/root.go:54 +0x2d
   github.com/GoogleContainerTools/kaniko/vendor/github.com/spf13/cobra.(*Command).execute(0x196f140, 0xc4200380a0, 0x2, 0x2, 0x196f140, 0xc4200380a0)
           /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/spf13/cobra/command.go:766 +0x2c1
   github.com/GoogleContainerTools/kaniko/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x196f140, 0x0, 0x4, 0x116cca9)
           /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/spf13/cobra/command.go:852 +0x30a
   github.com/GoogleContainerTools/kaniko/vendor/github.com/spf13/cobra.(*Command).Execute(0x196f140, 0xc420331f78, 0xc42008a058)
           /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/spf13/cobra/command.go:800 +0x2b
   main.main()
           /go/src/github.com/GoogleContainerTools/kaniko/cmd/warmer/main.go:26 +0x2d
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services