{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubeadm/issues/747","repository_url":"https://api.github.com/repos/kubernetes/kubeadm","labels_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/747/comments","events_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/747/events","html_url":"https://github.com/kubernetes/kubeadm/issues/747","id":312374923,"number":747,"title":"Use kubeadm join a worker,  received a success response, but cant see the worker","user":{"login":"VincentFF","id":15335554,"avatar_url":"https://avatars3.githubusercontent.com/u/15335554?v=4","gravatar_id":"","url":"https://api.github.com/users/VincentFF","html_url":"https://github.com/VincentFF","followers_url":"https://api.github.com/users/VincentFF/followers","following_url":"https://api.github.com/users/VincentFF/following{/other_user}","gists_url":"https://api.github.com/users/VincentFF/gists{/gist_id}","starred_url":"https://api.github.com/users/VincentFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VincentFF/subscriptions","organizations_url":"https://api.github.com/users/VincentFF/orgs","repos_url":"https://api.github.com/users/VincentFF/repos","events_url":"https://api.github.com/users/VincentFF/events{/privacy}","received_events_url":"https://api.github.com/users/VincentFF/received_events","type":"User","site_admin":false},"labels":[{"id":486837088,"url":"https://api.github.com/repos/kubernetes/kubeadm/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":487605960,"url":"https://api.github.com/repos/kubernetes/kubeadm/labels/priority/needs-more-evidence","name":"priority/needs-more-evidence","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"detiber","id":915544,"avatar_url":"https://avatars3.githubusercontent.com/u/915544?v=4","gravatar_id":"","url":"https://api.github.com/users/detiber","html_url":"https://github.com/detiber","followers_url":"https://api.github.com/users/detiber/followers","following_url":"https://api.github.com/users/detiber/following{/other_user}","gists_url":"https://api.github.com/users/detiber/gists{/gist_id}","starred_url":"https://api.github.com/users/detiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detiber/subscriptions","organizations_url":"https://api.github.com/users/detiber/orgs","repos_url":"https://api.github.com/users/detiber/repos","events_url":"https://api.github.com/users/detiber/events{/privacy}","received_events_url":"https://api.github.com/users/detiber/received_events","type":"User","site_admin":false},"assignees":[{"login":"detiber","id":915544,"avatar_url":"https://avatars3.githubusercontent.com/u/915544?v=4","gravatar_id":"","url":"https://api.github.com/users/detiber","html_url":"https://github.com/detiber","followers_url":"https://api.github.com/users/detiber/followers","following_url":"https://api.github.com/users/detiber/following{/other_user}","gists_url":"https://api.github.com/users/detiber/gists{/gist_id}","starred_url":"https://api.github.com/users/detiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detiber/subscriptions","organizations_url":"https://api.github.com/users/detiber/orgs","repos_url":"https://api.github.com/users/detiber/repos","events_url":"https://api.github.com/users/detiber/events{/privacy}","received_events_url":"https://api.github.com/users/detiber/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-04-09T02:52:12Z","updated_at":"2018-05-16T09:42:46Z","closed_at":null,"author_association":"NONE","body":"** version : 1.9.5 **\r\n\r\n## joined a node, but cant see it when use `kubectl get nodes`\r\nHello.  \r\nI execute `kubeadm join ` in a node named `dockerhub `, received a suceess response.   \r\nBut when I execute `kubectl get nodes`, I cant see the node. I have waited a long time.   \r\n\r\nThe `kubeadm join` and it's print.\r\n```\r\n[root@dockerhub ~]#   kubeadm join --token 461807.bf9150692d02c731 10.6.30.5:6443 --discovery-token-\r\nca-cert-hash sha256:548b307aafd3ca95df5caa54b61678e49827f19078d1007df706f69d5828bb57              \r\n[preflight] Running pre-flight checks.\r\n        [WARNING FileExisting-crictl]: crictl not found in system path\r\n[preflight] Starting the kubelet service\r\n[discovery] Trying to connect to API Server \"10.6.30.5:6443\"\r\n[discovery] Created cluster-info discovery client, requesting info from \"https://10.6.30.5:6443\"\r\n[discovery] Requesting info from \"https://10.6.30.5:6443\" again to validate TLS against the pinned\r\n public key\r\n[discovery] Cluster info signature and contents are valid and TLS certificate validates against pi\r\nnned roots, will use API Server \"10.6.30.5:6443\"\r\n[discovery] Successfully established connection with API Server \"10.6.30.5:6443\"\r\n\r\nThis node has joined the cluster:\r\n* Certificate signing request was sent to master and a response\r\n  was received.\r\n* The Kubelet was informed of the new secure connection details.\r\n\r\nRun 'kubectl get nodes' on the master to see this node join the cluster.\r\n```\r\n\r\nThe `kubectl get nodes` and it's print.  \r\n```\r\n[root@dockerhub ~]# kubectl get nodes\r\nNAME        STATUS    ROLES     AGE       VERSION\r\nmaster001   Ready     master    17d       v1.9.5\r\nmaster002   Ready     master    17d       v1.9.5\r\nmaster003   Ready     master    17d       v1.9.5\r\nnode001     Ready     <none>    17d       v1.9.5\r\nnode002     Ready     <none>    17d       v1.9.5\r\nnode003     Ready     <none>    17d       v1.9.5\r\nnode004     Ready     <none>    17d       v1.9.5\r\nnode005     Ready     <none>    17d       v1.9.5\r\nnode006     Ready     <none>    17d       v1.9.5\r\nnode007     Ready     <none>    17d       v1.9.5\r\nnode008     Ready     <none>    17d       v1.9.5\r\nnode009     Ready     <none>    17d       v1.9.5\r\nnode010     Ready     <none>    15d       v1.9.5\r\n```\r\n\r\nkubelet status.\r\n```\r\n[root@dockerhub ~]# systemctl status kubelet -l\r\n● kubelet.service - kubelet: The Kubernetes Node Agent\r\n   Loaded: loaded (/etc/systemd/system/kubelet.service; enabled; vendor preset: disabled)\r\n  Drop-In: /etc/systemd/system/kubelet.service.d\r\n           └─10-kubeadm.conf\r\n   Active: active (running) since 一 2018-04-09 02:50:58 UTC; 22s ago\r\n     Docs: http://kubernetes.io/docs/\r\n Main PID: 6120 (kubelet)\r\n   CGroup: /system.slice/kubelet.service\r\n           └─6120 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --pod-manifest-path=/etc/kubernetes/manifests --allow-privileged=true --network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin --cluster-dns=10.96.0.10 --cluster-domain=cluster.local --authorization-mode=Webhook --client-ca-file=/etc/kubernetes/pki/ca.crt --cadvisor-port=0 --cgroup-driver=systemd --rotate-certificates=true --cert-dir=/var/lib/kubelet/pki\r\n\r\n4月 09 02:50:58 dockerhub systemd[1]: Started kubelet: The Kubernetes Node Agent.\r\n4月 09 02:50:58 dockerhub systemd[1]: Starting kubelet: The Kubernetes Node Agent...\r\n4月 09 02:50:58 dockerhub kubelet[6120]: I0409 02:50:58.907416    6120 feature_gate.go:226] feature gates: &{{} map[]}\r\n4月 09 02:50:58 dockerhub kubelet[6120]: I0409 02:50:58.907516    6120 controller.go:114] kubelet config controller: starting controller\r\n4月 09 02:50:58 dockerhub kubelet[6120]: I0409 02:50:58.907523    6120 controller.go:118] kubelet config controller: validating combination of defaults and flags\r\n4月 09 02:50:59 dockerhub kubelet[6120]: W0409 02:50:59.268089    6120 cni.go:171] Unable to update cni config: No networks found in /etc/cni/net.d\r\n4月 09 02:50:59 dockerhub kubelet[6120]: I0409 02:50:59.270669    6120 server.go:182] Version: v1.9.5\r\n4月 09 02:50:59 dockerhub kubelet[6120]: I0409 02:50:59.270730    6120 feature_gate.go:226] feature gates: &{{} map[]}\r\n4月 09 02:50:59 dockerhub kubelet[6120]: I0409 02:50:59.270832    6120 plugins.go:101] No cloud provider specified.\r\n```\r\n\r\n\r\n\r\nsome log in `/var/log/messages`  \r\n```\r\nApr  9 02:37:22 dockerhub systemd: Started kubelet: The Kubernetes Node Agent.\r\nApr  9 02:37:22 dockerhub systemd: Starting kubelet: The Kubernetes Node Agent...\r\nApr  9 02:37:22 dockerhub kubelet: I0409 02:37:22.475578    5734 feature_gate.go:226] feature gates: &{{} map[]}\r\nApr  9 02:37:22 dockerhub kubelet: I0409 02:37:22.475665    5734 controller.go:114] kubelet config controller: starting controller\r\nApr  9 02:37:22 dockerhub kubelet: I0409 02:37:22.475670    5734 controller.go:118] kubelet config controller: validating combination of defaults and flags\r\nApr  9 02:37:22 dockerhub systemd: Started Kubernetes systemd probe.\r\nApr  9 02:37:22 dockerhub systemd: Starting Kubernetes systemd probe.\r\nApr  9 02:37:22 dockerhub kubelet: W0409 02:37:22.847339    5734 cni.go:171] Unable to update cni config: No networks found in /etc/cni/net.d\r\nApr  9 02:37:22 dockerhub kubelet: I0409 02:37:22.850022    5734 server.go:182] Version: v1.9.5\r\nApr  9 02:37:22 dockerhub kubelet: I0409 02:37:22.850092    5734 feature_gate.go:226] feature gates: &{{} map[]}\r\nApr  9 02:37:22 dockerhub kubelet: I0409 02:37:22.850218    5734 plugins.go:101] No cloud provider specified.\r\nApr  9 02:45:30 dockerhub dhclient[756]: DHCPREQUEST on eth0 to 10.6.0.1 port 67 (xid=0x204b4cb1)\r\nApr  9 02:45:30 dockerhub dhclient[756]: DHCPACK from 10.6.0.1 (xid=0x204b4cb1)\r\nApr  9 02:45:32 dockerhub dhclient[756]: bound to 10.6.30.38 -- renewal in 1434 seconds.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubeadm/issues/comments/389459895","html_url":"https://github.com/kubernetes/kubeadm/issues/747#issuecomment-389459895","issue_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/747","id":389459895,"user":{"login":"VincentFF","id":15335554,"avatar_url":"https://avatars3.githubusercontent.com/u/15335554?v=4","gravatar_id":"","url":"https://api.github.com/users/VincentFF","html_url":"https://github.com/VincentFF","followers_url":"https://api.github.com/users/VincentFF/followers","following_url":"https://api.github.com/users/VincentFF/following{/other_user}","gists_url":"https://api.github.com/users/VincentFF/gists{/gist_id}","starred_url":"https://api.github.com/users/VincentFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VincentFF/subscriptions","organizations_url":"https://api.github.com/users/VincentFF/orgs","repos_url":"https://api.github.com/users/VincentFF/repos","events_url":"https://api.github.com/users/VincentFF/events{/privacy}","received_events_url":"https://api.github.com/users/VincentFF/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T09:42:46Z","updated_at":"2018-05-16T09:42:46Z","author_association":"NONE","body":"@detiber Then I check the `/registry/minions/` in etcd, I can't find the new node `nodepreview01`. If there some problems when write data to etcd. But my etcd worked well.\r\n\r\n```\r\n[root@k8s-etcd001 ~]# etcdctl --cacert=/etc/kubernetes/pki/etcd/ca.pem --cert=/etc/kubernetes/pki/etcd/client.pem --key=/etc/kubernetes/pki/etcd/client-key.pem --endpoints=[10.6.30.9:2379,10.6.30.10:2379]  get /registry/minions/  --prefix --keys-only\r\n2018-05-16 09:29:59.436454 I | warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated\r\n/registry/minions/dockerhub\r\n\r\n/registry/minions/master001\r\n\r\n/registry/minions/master002\r\n\r\n/registry/minions/master003\r\n\r\n/registry/minions/node001\r\n\r\n/registry/minions/node002\r\n\r\n/registry/minions/node003\r\n\r\n/registry/minions/node004\r\n\r\n/registry/minions/node005\r\n\r\n/registry/minions/node006\r\n\r\n/registry/minions/node007\r\n\r\n/registry/minions/node008\r\n\r\n/registry/minions/node009\r\n\r\n/registry/minions/node010\r\n\r\n```"}}
{"actor":{"display_login":"VincentFF"}}