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
Error 'the server has asked for the client to provide credentials' #677
Comments
@ShengjieLuo what version of kubernetes are you using. I just had some issues getting pachyderm to work on 1.3 and had to downgrade to 1.2. Also could you grab logs from the server? |
@jdoliner I use the latest kubernetes stable version 1.3.2 and cause this problem. I haven't tried to use kubernetes 1.2.2 before. Since the official guide of kubernetes has all upgraded to 1.3 version, therefore I can't find the method to deploy 1.2.2. However, I use two method to deploy it, but they all failed. |
Method 1 I use docker to deploy kubernetes.
When I finish the deploying, the kubectl doesn't work. See here
I think that the 8080 of api-server is blocked. But I am not sure. |
Method2 I use
See the script here
Unfortunately, the same problem occur
|
When I use kubernetes 1.3.0, no such problems. I can use kubernetes successfully. |
I think right now it's got to be 1.2 due to the pending bugs. Are you proxying port 8080? What does |
See
|
Is the port proxied or Docker running on localhost? |
It's my network situation here.
8080 is not bind.
8080 and 30650 is bind. Need I disconnect the proxy server when deploying kubernetes? |
Also see docker list here,
|
I have worked on deploying Kubernetes v1.2.2 for a whole day, but do not solve this problem. The docker hyperkube cannot dial to 127.0.0.1:8080. Both of methods doesn't work for this task. I use
In a successfully deployed kubernetes 1.3.0 it is
See that 8080 is bind, and http-proxy use this port. I search for the solution,
However, I insert the proxy in the |
Mentioned in trouble shooting of pachyderm,
But I deploy the kubernetes on local server instead a docker machine. If I use |
Note:
See the apiserver is exited each minute. |
That seems like a likely cause of the problem. What do logs from the apiserver say? |
Hi @jdoliner The api-server is down in the deployment.
I haven't get the solution for this problem. BTW, what do you mean by 'proxying port 8080', sorry I didn't catch it. |
Proxying the port is something you have to do if you're using docker-machine but you're not so that shouldn't be an issue. I'm not familiar with the kubernetes issue unfortunately. I'd try the k8s slack channel they're normally quite helpful. |
@jdoliner I have tested the deployment of Kubernetes and Pachyderm on four servers with different versions. 2 for kubenetes < v1.3.0 (including v1.2.0 v.1.2.2), the official guide http://kubernetes.io/docs/getting-started-guides/docker/ cannot be followed to deploy kubernetes, since the apiserver does not start. The information in the apiserver docker log can be seen here. I have join the kubernetes team in Slack to ask for help.
I attempt each version for several times on my servers to avoid the operation error. And I regard it as a common phenomenon instead of an accidental error. If pachyderm team has time to work on it, please re-verify the deployment process from the beginning and make sure it can work with a suitable version. Thanks a lot if you can do it, I so appreciate your help in this topic. |
@jdoliner I have contacted the Kubernetes team on Slack. They help me to check the logs. The reason for the 1.2.2 failure is the Setup Pod is not triggered. However, the remote check hasn't found the boot reason of the phenomenon. Also, they give a suggestion to change the OS system from ubuntu14.04 to other os. Would you mind verify the deployment process on the local machine ubuntu 14.04 behind the proxy server with Kubernetes 1.2.2? Thanks a lot if you can do this verification. |
@ShengjieLuo I can confirm that I'm currently running Kubernetes 1.2.2 on Ubuntu 14.04 without any issues. I'm using a GCE VM via docker-machine and deploying kubernetes using docker. I haven't encountered any issues with it. |
@jdoliner Thank you for your patience. Since my local servers cannot be used in deployment. I try to use AWS EC2 instead of the local server. The ubuntu14.04+kubernetes 1.2.2+Pachyderm1.1.0 works on AWS servers, and examples can run. For the solution to this problem, I think the proxy port is not open for some application, since the only different difference between the EC2 and local server is the network configuration. However, it is just a speculation ,I am not sure about it. I would still work on Pachyderm. The idea of Pachyderm to use the docker as a job is really an exciting idea different from hadoop or spark. If anyone meet similar problems in the future, this issue can be referenced. And you can close it now. Thanks for your help. |
Glad that worked. |
Hi. I deploy pachyderm on another server. The installation is successful with:
However, when I begin the pipeline
fruit stand
I tried it several times, but all failure.
See pipeline information here
I check the log for the problem
I can delete the repo in this pipeline, but I can't delete this pipeline
See here,
I searched the information in source code
See here
Unfortunately, I have hit so many problems these days... I have to ask for problems everyday...
The text was updated successfully, but these errors were encountered: