{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/20909","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/20909/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/20909/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/20909/events","html_url":"https://github.com/openshift/origin/issues/20909","id":358187526,"node_id":"MDU6SXNzdWUzNTgxODc1MjY=","number":20909,"title":"oc 3.10 cluster up not working on gce ","user":{"login":"javilinux","id":2742106,"node_id":"MDQ6VXNlcjI3NDIxMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/2742106?v=4","gravatar_id":"","url":"https://api.github.com/users/javilinux","html_url":"https://github.com/javilinux","followers_url":"https://api.github.com/users/javilinux/followers","following_url":"https://api.github.com/users/javilinux/following{/other_user}","gists_url":"https://api.github.com/users/javilinux/gists{/gist_id}","starred_url":"https://api.github.com/users/javilinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javilinux/subscriptions","organizations_url":"https://api.github.com/users/javilinux/orgs","repos_url":"https://api.github.com/users/javilinux/repos","events_url":"https://api.github.com/users/javilinux/events{/privacy}","received_events_url":"https://api.github.com/users/javilinux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-07T19:37:23Z","updated_at":"2018-09-12T09:55:57Z","closed_at":null,"author_association":"NONE","body":"oc cluster up fail to start timing out waiting for the kube-apiserver to be ready\r\n\r\n##### Version\r\noc v3.10.0+dd10d17\r\nkubernetes v1.10.0+b81c8f8\r\nfeatures: Basic-Auth GSSAPI Kerberos SPNEGO\r\n\r\ndocker-1.13.1-74.git6e3bb8e.el7.centos.x86_6\r\n\r\n##### Steps To Reproduce\r\n1. create instance with gcloud compute instances create occlusterup --image-family centos-7 --image-project centos-cloud --machine-type n1-standard-1 --tags default-allow-http,default-allow-https,openshift-console --zone europe-west1-b\r\n2. Once the instance is ready, install the prerequisites:\r\nyum install docker wget git screen -y\r\ncat << EOF > /etc/docker/daemon.json\r\n{\r\n   \"insecure-registries\": [\r\n\t \"172.30.0.0/16\"\r\n   ]\r\n}\r\nEOF\r\nsystemctl enable docker\r\nsystemctl start docker\r\nsystemctl disable firewalld\r\nsystemctl stop firewalld\r\n3. Get the latest client:\r\ncurl -L --silent -o oc.tar.gz https://github.com/openshift/origin/releases/download/v3.10.0/openshift-origin-client-tools-v3.10.0-dd10d17-linux-64bit.tar.gz && mkdir /tmp/oc && tar -xvf oc.tar.gz -C /tmp/oc && find /tmp/oc -name \"oc\" -type f -exec mv {} /usr/bin \\; && rm -rf /tmp/oc oc.tar.gz\r\n\r\n4. Try oc cluster up:\r\noc cluster up --public-hostname=$(curl -H \"Metadata-Flavor: Google\" http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/access-configs/0/external-ip)\r\n\r\n##### Current Result\r\noc cluster up --public-hostname=$(curl -H \"Metadata-Flavor: Google\" http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/access-configs/0/external-ip)\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100    14  100    14    0     0   1845      0 --:--:-- --:--:-- --:--:--  2000\r\nGetting a Docker client ...\r\nChecking if image openshift/origin-control-plane:v3.10 is available ...\r\nPulling image openshift/origin-control-plane:v3.10\r\nPulled 2/5 layers, 42% complete\r\nPulled 3/5 layers, 60% complete\r\nPulled 4/5 layers, 86% complete\r\nPulled 5/5 layers, 100% complete\r\nExtracting\r\nImage pull complete\r\nPulling image openshift/origin-cli:v3.10\r\nPulled 1/4 layers, 42% complete\r\nPulled 2/4 layers, 59% complete\r\nPulled 3/4 layers, 75% complete\r\nPulled 4/4 layers, 100% complete\r\nExtracting\r\nImage pull complete\r\nPulling image openshift/origin-node:v3.10\r\nPulled 5/6 layers, 96% complete\r\nPulled 6/6 layers, 100% complete\r\nExtracting\r\nImage pull complete\r\nChecking type of volume mount ...\r\nDetermining server IP ...\r\nUsing public hostname IP 35.241.254.143 as the host IP\r\nChecking if OpenShift is already running ...\r\nChecking for supported Docker version (=>1.22) ...\r\nChecking if insecured registry is configured properly in Docker ...\r\nChecking if required ports are available ...\r\nChecking if OpenShift client is configured properly ...\r\nChecking if image openshift/origin-control-plane:v3.10 is available ...\r\nStarting OpenShift using openshift/origin-control-plane:v3.10 ...\r\nI0907 18:37:08.530966    2040 config.go:42] Running \"create-master-config\"\r\nI0907 18:37:12.651647    2040 config.go:46] Running \"create-node-config\"\r\nI0907 18:37:13.964306    2040 flags.go:30] Running \"create-kubelet-flags\"\r\nI0907 18:37:14.737140    2040 run_kubelet.go:48] Running \"start-kubelet\"\r\nI0907 18:37:14.912243    2040 run_self_hosted.go:172] Waiting for the kube-apiserver to be ready ...\r\nE0907 18:42:14.919288    2040 run_self_hosted.go:542] API server error: Get https://35.241.254.143:8443/healthz?timeout=32s: dial tcp 35.241.254.143:8443: getsockopt: connection refused ()\r\nError: timed out waiting for the condition\r\n\r\n##### Expected Result\r\ncluster to start\r\n\r\n##### Additional Information\r\nIf not using --public-hostname the installation goes a bit further but still fails:\r\n[...]\r\nI0907 18:56:52.026288    5329 run_self_hosted.go:172] Waiting for the kube-apiserver to be ready ...\r\nI0907 18:57:17.030821    5329 interface.go:26] Installing \"kube-proxy\" ...\r\nI0907 18:57:17.031321    5329 interface.go:26] Installing \"kube-dns\" ...\r\nI0907 18:57:17.031332    5329 interface.go:26] Installing \"openshift-apiserver\" ...\r\nI0907 18:57:17.031450    5329 apply_template.go:83] Installing \"openshift-apiserver\"\r\nI0907 18:57:17.033246    5329 apply_template.go:83] Installing \"kube-proxy\"\r\nI0907 18:57:17.034712    5329 apply_template.go:83] Installing \"kube-dns\"\r\nI0907 18:57:25.380181    5329 interface.go:41] Finished installing \"kube-proxy\" \"kube-dns\" \"openshift-apiserver\"\r\nError: timed out waiting for the condition\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/420586677","html_url":"https://github.com/openshift/origin/issues/20909#issuecomment-420586677","issue_url":"https://api.github.com/repos/openshift/origin/issues/20909","id":420586677,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDU4NjY3Nw==","user":{"login":"Jaraill","id":8476862,"node_id":"MDQ6VXNlcjg0NzY4NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/8476862?v=4","gravatar_id":"","url":"https://api.github.com/users/Jaraill","html_url":"https://github.com/Jaraill","followers_url":"https://api.github.com/users/Jaraill/followers","following_url":"https://api.github.com/users/Jaraill/following{/other_user}","gists_url":"https://api.github.com/users/Jaraill/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaraill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaraill/subscriptions","organizations_url":"https://api.github.com/users/Jaraill/orgs","repos_url":"https://api.github.com/users/Jaraill/repos","events_url":"https://api.github.com/users/Jaraill/events{/privacy}","received_events_url":"https://api.github.com/users/Jaraill/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T09:55:57Z","updated_at":"2018-09-12T09:55:57Z","author_association":"NONE","body":"Thanks to you, I've found a way how to run it ~ correctly, except web-console\r\nI've set NO_PROXY OS env variable (it was not obvious for me)  with my public ip, and it started up"}}
{"actor":{"display_login":"Jaraill"}}