<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):<br>
No</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):<br>
duplicate node name + "kubectl get nodes"</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br>
BUG REPORT</p>

<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>)<br>
kubectl version<br>
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}<br>
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:42:39Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}<br>
kubeadm version<br>
kubeadm version: version.Info{Major:"1", Minor:"5+", GitVersion:"v1.5.0-alpha.2.421+a6bea3d79b8bba", GitCommit:"a6bea3d79b8bbaa5e8b57482c9fff9265d402708", GitTreeState:"clean", BuildDate:"2016-11-03T06:54:50Z", GoVersion:"go1.7.1", Compiler:"gc", Platform:"linux/amd64"}</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:x86_64 desktop</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):ubuntu 16.04 LTS</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):Linux ubuntu-2 4.4.0-31-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35429713" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/50" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/50/hovercard" href="https://github.com/kubernetes/kubernetes/issues/50">#50</a>-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</li>
<li><strong>Install tools</strong>:kubeadm</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
We have two nodes, the master name was ubuntu-2 while the minion node was ubuntu-3.<br>
kubectl get nodes<br>
NAME       STATUS    AGE<br>
ubunbu-3   Ready     10h<br>
ubuntu-2   Ready     1d<br>
If we add another node with same node name ubuntu-3, it just added without checking whether the node name had existed or not:<br>
kubectl get nodes<br>
NAME       STATUS    AGE<br>
ubunbu-3   Ready     10h<br>
ubuntu-2   Ready     1d<br>
ubuntu-3   Ready     26m</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
If we add node using 'kubeadm join' with node name already exists, we should return failed  with error messages: "duplicate node name"</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<ol dir="auto">
<li>kubeadm join (node with name ubuntu-3, for example)</li>
<li>In master node 'kubectl get nodes'<br>
NAME       STATUS    AGE<br>
ubunbu-3   Ready     10h<br>
ubuntu-2   Ready     1d</li>
<li>Add another node with name ubuntu-3<br>
NAME       STATUS    AGE<br>
ubunbu-3   Ready     10h    &lt;-----duplicate node name ubuntu-3<br>
ubuntu-2   Ready     1d<br>
ubuntu-3   Ready     26m   &lt;------duplicate node name ubuntu-3<br>
<strong>Anything else do we need to know</strong>:</li>
</ol>
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.): no</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):<br>
KubeletNotReady container runtime is down</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br>
bug report</p>

<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;3&quot;, GitVersion:&quot;v1.3.4&quot;, GitCommit:&quot;dd6b458ef8dbf24aff55795baa68f83383c9b3a9&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-08-01T16:45:16Z&quot;, GoVersion:&quot;go1.6.2&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;3&quot;, GitVersion:&quot;v1.3.4&quot;, GitCommit:&quot;dd6b458ef8dbf24aff55795baa68f83383c9b3a9&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-08-01T16:38:31Z&quot;, GoVersion:&quot;go1.6.2&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:45:16Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:38:31Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}
</code></pre></div>
<p dir="auto"><strong>Environment</strong>: What does that mean?</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: AWS</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PRETTY_NAME=&quot;Debian GNU/Linux 8 (jessie)&quot;
NAME=&quot;Debian GNU/Linux&quot;
VERSION_ID=&quot;8&quot;
VERSION=&quot;8 (jessie)&quot;
ID=debian
HOME_URL=&quot;http://www.debian.org/&quot;
SUPPORT_URL=&quot;http://www.debian.org/support&quot;
BUG_REPORT_URL=&quot;https://bugs.debian.org/&quot;"><pre class="notranslate"><code class="notranslate">PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
</code></pre></div>
<ul dir="auto">
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Linux ip-172-20-1-41 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux"><pre class="notranslate"><code class="notranslate">Linux ip-172-20-1-41 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux
</code></pre></div>
<ul dir="auto">
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>: Nodes turn to NotReady with the following message on the describe output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="KubeletNotReady         container runtime is down. WARNING: CPU hardcapping unsupported"><pre class="notranslate"><code class="notranslate">KubeletNotReady         container runtime is down. WARNING: CPU hardcapping unsupported
</code></pre></div>
<p dir="auto">This is the output of the sudo docker version command on the node:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   b9f10c9
 Built:        Wed Jun  1 21:23:39 2016
 OS/Arch:      linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?"><pre class="notranslate"><code class="notranslate">Client:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   b9f10c9
 Built:        Wed Jun  1 21:23:39 2016
 OS/Arch:      linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
</code></pre></div>
<p dir="auto">The node does not seem to recover from this failure so I have to kill it and the auto scaling group brings up another one instead.</p>
<p dir="auto"><strong>What you expected to happen</strong>: Nodes should remain in a Ready state or at least recover from such failures.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):  It just happens once in two days approximately.</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p>
<p dir="auto">This is the <a href="https://github.com/kubernetes/kubernetes/files/436373/daemon.log.txt">daemon.log.txt</a> from the time the node went down</p>