-
Notifications
You must be signed in to change notification settings - Fork 706
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
kubeadm join fails in slave node #217
Comments
+1 |
I got the same error in kubeadm |
Could you re-try with the latest 1.6.4 versions. It looks from you command line output that you had a mismatch on tool versions a mix of 1.5 and 1.6. |
Yes, the problem here was that you used v1.5 for Please use v1.6.x consistently |
error: failed to run Kubelet: cannot create certificate signing request: User "system:anonymous" cannot create certificatesigningrequests.certificates.k8s.io at the cluster scope. |
Is this a request for help?
Somehow selinux was enabled in my slave nodes (3 node cluster). I disabled and rebooted the slave nodes. After that when I did a kubectl get pods --all-namespaces, it didn't list anything instead mentioned unable to connect to 8080, perhaps using wrong port
SO, I did a kubeadm reset, restarted kubelet service and then ran kubeadm join --token=masternodetoken masterip, it fails as mentioned below:
So, it halts and says " failed to request signed certificate from the API server [cannot create certificate signing request: the server could not find the requested resource]"
What keywords did you search in kubeadm issues before filing this one?
I searched for this issue in kubeadm issues, but not available.
Versions
kubeadm version (use
kubeadm version
): ~]$ kubeadm versionkubeadm version: version.Info{Major:"1", Minor:"6+", GitVersion:"v1.6.0-alpha.0.2074+a092d8e0f95f52", GitCommit:"a092d8e0f95f5200f7ae2cba45c75ab42da36537", GitTreeState:"clean", BuildDate:"2016-12-13T17:03:18Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Environment:
Kubernetes version (use
kubectl version
):~]$ kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.4", GitCommit:"7243c69eb523aa4377bce883e7c0dd76b84709a1", GitTreeState:"clean", BuildDate:"2017-03-07T23:53:09Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Cloud provider or hardware configuration: AWS Cloud environment
OS (e.g. from /etc/os-release):
~]$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
uname -a
):~]$ uname -a
Linux ip-172-32-102-22.ec2.internal 3.10.0-327.10.1.el7.x86_64 kubeadm join on slave node fails preflight checks #1 SMP Tue Feb 16 17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: