-
Notifications
You must be signed in to change notification settings - Fork 344
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
" the server has asked for the client to provide credentials " #109
Comments
kubectl --version |
Maybe this is a different bug, or maybe it isn't. But when sonobuoy appears to start ok, it still has problems:
A look at one of the logs yields the following:
|
@gamename thx for reporting! I'll dig more in the a.m. I was out today |
This is a different issue, and I've never seen it before. The top level panic is a failure to list namespaces...
The RBAC rules for sonobuoy are wide open. @gamename you just ran /cc @mattmoyer In case you're aware of anything related to this error |
@gamename How do you have auth jigg'd in your environment ? It looks like a configuration issue on 1.7. IIRC you were originally running 1.6 clusters. xref: kubernetes/kubernetes#50449 kubernetes/dashboard#374 (comment) |
@timothysc Yes, I originally had a 1.6 environment. I ran into this error when upgrading it to 1.7.7 in a development environment. |
@gamename from all my google searching the signs point to api-server auth config, but I'll leave this open until we find the root cause. |
@timothysc No worries. Just wanted to make sure I documented it in case it was something really catastrophic. Thanks for the help. |
I'll de-scope from 0.9.0 but leave open in case someone stumbles upon from a google search. |
I'm going to close out this issue, b/c we have not seen it or have a repro for 1.8+ |
kubectl apply -f aws-auth-cm.yaml |
The issue still remains in minikube |
@kuchaguangjie Can you provide the sonobuoy version and k8s version as well so that I can try and repro? |
@johnSchnake I am using Anyway following are the issue I succeed to start a replicaset, but failed to start the service. svc.yml:
Here is the command:
And, here is the out:
Please ignore it if you think this is not relevant to this post. |
Thanks @kuchaguangjie for the extra info. That looks like something that is just minikube specific since you aren't even using Sonobuoy at all. You should be able to find a solution by doing a bit more googling; it seems to be a common thing for some folks depending on how they set up their cluster. Someone created a k8s ticket as well which was closed since it seemed to be a configuration problem about the certs used: kubernetes/kubernetes#63128 Here is a minikube issue (also closed) that lists 2 different fixes that worked in different situations: kubernetes/minikube#319 |
Hi,
I'm getting this error about every other time I start:
If I immediately stop sonobuoy and then restart it, everything starts fine.
The text was updated successfully, but these errors were encountered: