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

camel-k-context-jvm, camel-k-context-kotlin, camel-k-context-groovy pods goes into error state when installing camel-k #194

Closed
shyabithd opened this issue Oct 29, 2018 · 4 comments

Comments

@shyabithd
Copy link

shyabithd commented Oct 29, 2018

Environment Detail:

Minikube version: v0.29.0
Host: MAC OSX
Camel-K: Camel K Client 0.0.4

Steps followed:
Started minikube with minikube start
Enabled registry addon minikube addons enable registry
kamel install

I found this error message in camel-k-context-jvm pod log:

INFO[0000] Downloading base image fabric8/java-alpine-openjdk8-jdk:1.5.1
2018/10/29 04:27:45 No matching credentials were found, falling back on anonymous
error building image: getting stage builder for stage 0: UNAUTHORIZED: "authentication required"

@dmvolod
Copy link
Member

dmvolod commented Oct 29, 2018

@shyabithd this is known issue, please use solution from it GoogleContainerTools/kaniko#372

@nicolaferraro
Copy link
Member

This should happen when the connection is slow. It looks that that should be fixed now: GoogleContainerTools/kaniko#245 (comment).

I'm going to change the kaniko image used under the hood.

@nicolaferraro
Copy link
Member

@shyabithd there's a new version of kaniko released yesterday. I've fixed the issue for 0.0.5 onwards, but you should be able to have it working on 0.0.4 by doing:

# update the Kaniko image
eval $(minikube docker-env)
docker pull gcr.io/kaniko-project/executor:latest
# reinstall camel k
kubectl delete integrationplatform camel-k
kubectl delete delete ictx jvm groovy kotlin
kamel install

@shyabithd
Copy link
Author

Thanks @nicolaferraro for the help. I will try this.

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

No branches or pull requests

3 participants