<p dir="auto">The cutoff is 5m for the normal gce suite, which times out in 30m inclusive of cluster up and down. So we should factor out the part of <a href="https://github.com/kubernetes/kubernetes/blob/master/test/e2e/service.go#L490">https://github.com/kubernetes/kubernetes/blob/master/test/e2e/service.go#L490</a> that sets up and waits on external loadbalancers into gce-slow.</p>
<p dir="auto">@kubernetes/goog-testing <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fejta/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fejta">@fejta</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/spiffxp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/spiffxp">@spiffxp</a></p>
<p dir="auto">#</p>
<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>.):</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.):</p>
<h2 dir="auto"><strong>Related to or a similar discussion happened</strong> @ <a href="https://github.com/kubernetes/kubernetes/issues/33544" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33544/hovercard">#33544</a>, <a href="https://github.com/kubernetes/kubernetes/issues/33729" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33729/hovercard">#33729</a><br>
, <a href="https://github.com/kubernetes/kubernetes/issues/35684" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35684/hovercard">#35684</a></h2>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br>
This is a 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="root@kubeMaster:~# kubectl version
Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.4&quot;, GitCommit:&quot;3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-10-21T02:48:38Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.4&quot;, GitCommit:&quot;3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-10-21T02:42:39Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}"><pre class="notranslate"><code class="notranslate">root@kubeMaster:~# kubectl version
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"}
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"}
</code></pre></div>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:<br>
No cloud provider; 2 GB Memory.100G disk.</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): <code class="notranslate">VERSION="16.04 LTS (Xenial Xerus)"</code></li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):<code class="notranslate">Linux kubeMaster 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</code></li>
<li><strong>Install tools</strong>: kubeadm</li>
<li><strong>Others</strong>:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root@kubeMaster:~# kubeadm version
kubeadm version: version.Info{Major:&quot;1&quot;, Minor:&quot;5+&quot;, GitVersion:&quot;v1.5.0-alpha.2.421+a6bea3d79b8bba&quot;, GitCommit:&quot;a6bea3d79b8bbaa5e8b57482c9fff9265d402708&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-11-03T06:54:50Z&quot;, GoVersion:&quot;go1.7.1&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}"><pre class="notranslate"><code class="notranslate">root@kubeMaster:~# kubeadm version
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"}
</code></pre></div>
<p dir="auto"><strong>What happened</strong>:<br>
<code class="notranslate">kubeadm init</code> on mater  blocks at <code class="notranslate">&lt;master/apiclient&gt; created API client, waiting for the control plane to become ready</code>.</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
<code class="notranslate">kubeadm init</code> should finish in several minutes at most, usually less than one minute.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br>
Follow along side the <a href="http://kubernetes.io/docs/getting-started-guides/kubeadm/" rel="nofollow">Installing Kubernetes on Linux with kubeadm</a>:</p>
<ol dir="auto">
<li>install docker: <code class="notranslate">curl -sSL https://get.docker.com | sh</code></li>
<li>Installing kubelet and kubeadm:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
# cat &lt;&lt;EOF &gt; /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
# apt-get update
# # Install docker if you don't have it already.
# apt-get install -y docker.io
# apt-get install -y kubelet kubeadm kubectl kubernetes-cni"><pre class="notranslate"><code class="notranslate"># curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
# cat &lt;&lt;EOF &gt; /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
# apt-get update
# # Install docker if you don't have it already.
# apt-get install -y docker.io
# apt-get install -y kubelet kubeadm kubectl kubernetes-cni
</code></pre></div>
<ol start="3" dir="auto">
<li>Due to GFW, I can not pull images from gcr.io. so I pull images from docker hub and tag them by myself.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="images=(kube-proxy-amd64:v1.4.4 kube-discovery-amd64:1.0 kubedns-amd64:1.7 kube-scheduler-amd64:v1.4.4 kube-controller-manager-amd64:v1.4.4 kube-apiserver-amd64:v1.4.4 etcd-amd64:2.2.5 kube-dnsmasq-amd64:1.3 exechealthz-amd64:1.1 pause-amd64:3.0 kubernetes-dashboard-amd64:v1.4.1)
for imageName in ${images[@]} ; do
  docker pull mritd/$imageName
  docker tag mritd/$imageName gcr.io/google_containers/$imageName
  docker rmi mritd/$imageName
done"><pre class="notranslate"><code class="notranslate">images=(kube-proxy-amd64:v1.4.4 kube-discovery-amd64:1.0 kubedns-amd64:1.7 kube-scheduler-amd64:v1.4.4 kube-controller-manager-amd64:v1.4.4 kube-apiserver-amd64:v1.4.4 etcd-amd64:2.2.5 kube-dnsmasq-amd64:1.3 exechealthz-amd64:1.1 pause-amd64:3.0 kubernetes-dashboard-amd64:v1.4.1)
for imageName in ${images[@]} ; do
  docker pull mritd/$imageName
  docker tag mritd/$imageName gcr.io/google_containers/$imageName
  docker rmi mritd/$imageName
done
</code></pre></div>
<ol start="4" dir="auto">
<li>kubeadm init: <code class="notranslate">kubeadm init --use-kubernetes-version v1.4.4</code></li>
</ol>
<p dir="auto"><strong>Anything else do we need to know</strong>:<br>
While the <code class="notranslate">kubeadm init --use-kubernetes-version v1.4.4</code> hangs on,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root@kubeMaster:~# kubectl get pods --all-namespaces
NAMESPACE     NAME                                 READY     STATUS    RESTARTS   AGE
kube-system   etcd-kubemaster                      1/1       Running   0          21m
kube-system   kube-apiserver-kubemaster            1/1       Running   0          21m
kube-system   kube-controller-manager-kubemaster   1/1       Running   0          21m
kube-system   kube-scheduler-kubemaster            1/1       Running   0          21m"><pre class="notranslate"><code class="notranslate">root@kubeMaster:~# kubectl get pods --all-namespaces
NAMESPACE     NAME                                 READY     STATUS    RESTARTS   AGE
kube-system   etcd-kubemaster                      1/1       Running   0          21m
kube-system   kube-apiserver-kubemaster            1/1       Running   0          21m
kube-system   kube-controller-manager-kubemaster   1/1       Running   0          21m
kube-system   kube-scheduler-kubemaster            1/1       Running   0          21m
</code></pre></div>
<p dir="auto">the components in <code class="notranslate">control plane</code> seems to started already.<br>
Plus:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root@kubeMaster:~# kubectl get cs
NAME                 STATUS    MESSAGE              ERROR
scheduler            Healthy   ok                   
controller-manager   Healthy   ok                   
etcd-0               Healthy   {&quot;health&quot;: &quot;true&quot;} "><pre class="notranslate"><code class="notranslate">root@kubeMaster:~# kubectl get cs
NAME                 STATUS    MESSAGE              ERROR
scheduler            Healthy   ok                   
controller-manager   Healthy   ok                   
etcd-0               Healthy   {"health": "true"} 
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root@kubeMaster:~# docker images | grep gcr.io
gcr.io/google_containers/pause-amd64                     3.0                 39a06579e733        3 weeks ago         746.9 kB
gcr.io/google_containers/kubedns-amd64                   1.7                 96fdd723a50d        3 weeks ago         55.06 MB
gcr.io/google_containers/kube-dnsmasq-amd64              1.3                 2a7c0456186f        3 weeks ago         5.13 MB
gcr.io/google_containers/kube-discovery-amd64            1.0                 b873a3c6d819        3 weeks ago         134.2 MB
gcr.io/google_containers/exechealthz-amd64               1.1                 0e2effc928a5        3 weeks ago         8.332 MB
gcr.io/google_containers/etcd-amd64                      2.2.5               fbabfa0f7ac7        3 weeks ago         30.45 MB
gcr.io/google_containers/kube-scheduler-amd64            v1.4.4              ebdf41825f08        5 weeks ago         81.67 MB
gcr.io/google_containers/kube-proxy-amd64                v1.4.4              c0fcee70820a        5 weeks ago         202.7 MB
gcr.io/google_containers/kube-controller-manager-amd64   v1.4.4              bbb0118acb7c        5 weeks ago         142 MB
gcr.io/google_containers/kube-apiserver-amd64            v1.4.4              84998e7ce18f        5 weeks ago         152.1 MB"><pre class="notranslate"><code class="notranslate">root@kubeMaster:~# docker images | grep gcr.io
gcr.io/google_containers/pause-amd64                     3.0                 39a06579e733        3 weeks ago         746.9 kB
gcr.io/google_containers/kubedns-amd64                   1.7                 96fdd723a50d        3 weeks ago         55.06 MB
gcr.io/google_containers/kube-dnsmasq-amd64              1.3                 2a7c0456186f        3 weeks ago         5.13 MB
gcr.io/google_containers/kube-discovery-amd64            1.0                 b873a3c6d819        3 weeks ago         134.2 MB
gcr.io/google_containers/exechealthz-amd64               1.1                 0e2effc928a5        3 weeks ago         8.332 MB
gcr.io/google_containers/etcd-amd64                      2.2.5               fbabfa0f7ac7        3 weeks ago         30.45 MB
gcr.io/google_containers/kube-scheduler-amd64            v1.4.4              ebdf41825f08        5 weeks ago         81.67 MB
gcr.io/google_containers/kube-proxy-amd64                v1.4.4              c0fcee70820a        5 weeks ago         202.7 MB
gcr.io/google_containers/kube-controller-manager-amd64   v1.4.4              bbb0118acb7c        5 weeks ago         142 MB
gcr.io/google_containers/kube-apiserver-amd64            v1.4.4              84998e7ce18f        5 weeks ago         152.1 MB
</code></pre></div>
<p dir="auto">Docker version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root@kubeMaster:~# docker version
Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 22:01:48 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 22:01:48 2016
 OS/Arch:      linux/amd64"><pre class="notranslate"><code class="notranslate">root@kubeMaster:~# docker version
Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 22:01:48 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 22:01:48 2016
 OS/Arch:      linux/amd64
</code></pre></div>
<p dir="auto">#####Firstly, the <code class="notranslate">kubeadm init </code>blocks due to <code class="notranslate">failed to pull images from gcr.io</code>, so I pull and tag the required images before run <code class="notranslate">kubeadm init</code>. I had successfully setup a cluster in this way several weeks ago. But after some time, I reinstall(on a fresh OS) in the same way but encounter the hangs on problem again. I have tried several times. ##### Any one could help me?</p>
<h1 dir="auto"></h1>