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 run fails on Google Cloud Infrastructure (GKE) #915

Closed
vinayakadkoli opened this issue Aug 22, 2019 · 4 comments · Fixed by #979
Closed

Kamel run fails on Google Cloud Infrastructure (GKE) #915

vinayakadkoli opened this issue Aug 22, 2019 · 4 comments · Fixed by #979
Assignees
Milestone

Comments

@vinayakadkoli
Copy link

Simple execution fails with the following logs :
{"level":"info","ts":1566482937.2303507,"logger":"camel-k.builder","msg":"Go Version: go1.12.2"}
{"level":"info","ts":1566482937.2305124,"logger":"camel-k.builder","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1566482937.2305505,"logger":"camel-k.builder","msg":"Camel K Version: 1.0.0-M1"}
{"level":"error","ts":1566482937.39219,"logger":"camel-k","msg":"Unexpected error while creating a temporary dir","error":"mkdir /workspace/builder-157011428: permission denied","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/nferraro/gopaths/camel-k/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngit.luolix.top/apache/camel-k/pkg/util/log.Logger.Error\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/util/log/log.go:75\ngit.luolix.top/apache/camel-k/pkg/util/log.Error\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/util/log/log.go:196\ngit.luolix.top/apache/camel-k/pkg/builder.(*defaultBuilder).Build\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/pkg/builder/builder.go:66\nmain.main\n\t/home/nferraro/gopaths/camel-k/src/github.com/apache/camel-k/cmd/builder/main.go:80\nruntime.main\n\t/opt/go-1.12.2/src/runtime/proc.go:200"}

@nicolaferraro
Copy link
Member

Thanks @vinayakadkoli, can you provide more information on the environment where you're running camel k and which settings you're using (e.g. target docker repo, build strategy)?

@vinayakadkoli
Copy link
Author

Hi @nicolaferraro , i'm trying this in GKE and this is how the command looks like :
kamel install --registry gcr.io --organization vinayak-sap --registry-secret kaniko-secret --build-strategy routine

Will routine work ?

@nicolaferraro
Copy link
Member

No, routine is not expected to work on vanilla kube. Can you try the default?

@vinayakadkoli
Copy link
Author

I run into exactly the same problem with the default as well.

@vinayakadkoli vinayakadkoli changed the title Kamel run fails on Google Cloud Infrastructure on Knative .8 Kamel run fails on Google Cloud Infrastructure (GKE) Aug 26, 2019
@nicolaferraro nicolaferraro added this to the 1.0.0-M2 milestone Sep 22, 2019
@nicolaferraro nicolaferraro self-assigned this Oct 1, 2019
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Oct 3, 2019
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.

2 participants