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

Kaniko step fails on Minikube with IncrementalPackager #960

Closed
nicolaferraro opened this issue Sep 26, 2019 · 1 comment · Fixed by #970
Closed

Kaniko step fails on Minikube with IncrementalPackager #960

nicolaferraro opened this issue Sep 26, 2019 · 1 comment · Fixed by #970
Assignees
Milestone

Comments

@nicolaferraro
Copy link
Member

nicolaferraro commented Sep 26, 2019

Context:

  • Minikube v1.4.0
  • Kubernetes v1.16.0
  • Knative Serving + Eventing 0.9
  • Knative demo
  • Deployng feed.groovy works
  • Deploying splitter.groovy fails using IncrementalPackager
camel-k-kit-bm681ss85ojj9bdddrf0-builder builder {"level":"info","ts":1569489172.0693874,"logger":"camel-k.builder","msg":"step done in 0.004488 seconds","step":"github.com/apache/camel-k/pkg/builder/IncrementalPackager","phase":30,"kit":"kit-bm681ss85ojj9bdddrf0"}
camel-k-kit-bm681ss85ojj9bdddrf0-builder builder {"level":"info","ts":1569489172.069422,"logger":"camel-k.builder","msg":"executing step","step":"github.com/apache/camel-k/pkg/builder/kaniko/Publisher","phase":40,"kit":"kit-bm681ss85ojj9bdddrf0"}
camel-k-kit-bm681ss85ojj9bdddrf0-builder builder {"level":"info","ts":1569489172.0694778,"logger":"camel-k.builder","msg":"step failed with error: open /workspace/builder-713355563/package/context/Dockerfile: no such file or directory","step":"github.com/apache/camel-k/pkg/builder/kaniko/Publisher","phase":40,"kit":"kit-bm681ss85ojj9bdddrf0"}

I've tried switching to StandardPackager instead of IncrementalPackager and it seems to work. Any hint @astefanutti ?

@nicolaferraro nicolaferraro added this to the 1.0.0-M2 milestone Sep 26, 2019
@nicolaferraro nicolaferraro changed the title Kaniko step fails on Minikube Kaniko step fails on Minikube with IncrementalPackager Sep 26, 2019
@nicolaferraro
Copy link
Member Author

I've seen some "Invalid manifest" errors that I cannot replicate. Can be that, perhaps, the new minikube/kube version ships an improved docker registry with some metadata that is not interpreted by kaniko 0.9 and we have to upgrade it?

But I can't explain why the error is in the -builder pod and not in the Kaniko one (today...).

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