oc cluster up timeout waiting for condition












0















I am trying to setup openshift origin on my local Virtualbox centos 7.4. This is a all-in-one environment for study purpose only. I followed the exact document:



https://docs.okd.io/latest/getting_started/administrators.html



Method 1: Running in a container



I installed docker and when I am running the command it failed due to timeout:



[root@master openshift]# oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Checking type of volume mount ...
Determining server IP ...
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.11 ...
I1125 22:16:31.799473 10736 flags.go:30] Running "create-kubelet-flags"
I1125 22:16:32.867498 10736 run_kubelet.go:49] Running "start-kubelet"
I1125 22:16:33.568909 10736 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
I1125 22:17:02.633369 10736 interface.go:26] Installing "kube-proxy" ...
I1125 22:17:02.633386 10736 interface.go:26] Installing "kube-dns" ...
I1125 22:17:02.633392 10736 interface.go:26] Installing "openshift-service-cert-signer-operator" ...
I1125 22:17:02.633397 10736 interface.go:26] Installing "openshift-apiserver" ...
I1125 22:17:02.633420 10736 apply_template.go:81] Installing "openshift-apiserver"
I1125 22:17:02.634511 10736 apply_template.go:81] Installing "kube-proxy"
I1125 22:17:02.635754 10736 apply_template.go:81] Installing "kube-dns"
I1125 22:17:02.635924 10736 apply_template.go:81] Installing "openshift-service-cert-signer-operator"
I1125 22:17:12.316042 10736 interface.go:41] Finished installing "kube-proxy" "kube-dns" "openshift-service-cert-signer-operator" "openshift-apiserver"
Error: timed out waiting for the condition


[root@master openshift]# oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO









share|improve this question























  • I download openshift-origin-server-v3.11.0-0cbc58b-linux-64bit.tar.gz, untar, installed the docker, configured --insecure-registry=172.30.0.0/16 in /etc/sysconfig/docker in OPTIONS args where can I check the log for further diagnose?

    – Terry Hu
    Nov 25 '18 at 14:43








  • 1





    Have you done network setup as explained in github.com/openshift/origin/blob/release-3.11/docs/…

    – Graham Dumpleton
    Nov 25 '18 at 19:29











  • Thanks a lot Graham. I followed the guide and successful finished the setup. Now oc cluster up can complete. I was not aware that the github docs is more appropriate than okd doc. Please official answer this question and I will close

    – Terry Hu
    Nov 27 '18 at 0:57
















0















I am trying to setup openshift origin on my local Virtualbox centos 7.4. This is a all-in-one environment for study purpose only. I followed the exact document:



https://docs.okd.io/latest/getting_started/administrators.html



Method 1: Running in a container



I installed docker and when I am running the command it failed due to timeout:



[root@master openshift]# oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Checking type of volume mount ...
Determining server IP ...
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.11 ...
I1125 22:16:31.799473 10736 flags.go:30] Running "create-kubelet-flags"
I1125 22:16:32.867498 10736 run_kubelet.go:49] Running "start-kubelet"
I1125 22:16:33.568909 10736 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
I1125 22:17:02.633369 10736 interface.go:26] Installing "kube-proxy" ...
I1125 22:17:02.633386 10736 interface.go:26] Installing "kube-dns" ...
I1125 22:17:02.633392 10736 interface.go:26] Installing "openshift-service-cert-signer-operator" ...
I1125 22:17:02.633397 10736 interface.go:26] Installing "openshift-apiserver" ...
I1125 22:17:02.633420 10736 apply_template.go:81] Installing "openshift-apiserver"
I1125 22:17:02.634511 10736 apply_template.go:81] Installing "kube-proxy"
I1125 22:17:02.635754 10736 apply_template.go:81] Installing "kube-dns"
I1125 22:17:02.635924 10736 apply_template.go:81] Installing "openshift-service-cert-signer-operator"
I1125 22:17:12.316042 10736 interface.go:41] Finished installing "kube-proxy" "kube-dns" "openshift-service-cert-signer-operator" "openshift-apiserver"
Error: timed out waiting for the condition


[root@master openshift]# oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO









share|improve this question























  • I download openshift-origin-server-v3.11.0-0cbc58b-linux-64bit.tar.gz, untar, installed the docker, configured --insecure-registry=172.30.0.0/16 in /etc/sysconfig/docker in OPTIONS args where can I check the log for further diagnose?

    – Terry Hu
    Nov 25 '18 at 14:43








  • 1





    Have you done network setup as explained in github.com/openshift/origin/blob/release-3.11/docs/…

    – Graham Dumpleton
    Nov 25 '18 at 19:29











  • Thanks a lot Graham. I followed the guide and successful finished the setup. Now oc cluster up can complete. I was not aware that the github docs is more appropriate than okd doc. Please official answer this question and I will close

    – Terry Hu
    Nov 27 '18 at 0:57














0












0








0








I am trying to setup openshift origin on my local Virtualbox centos 7.4. This is a all-in-one environment for study purpose only. I followed the exact document:



https://docs.okd.io/latest/getting_started/administrators.html



Method 1: Running in a container



I installed docker and when I am running the command it failed due to timeout:



[root@master openshift]# oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Checking type of volume mount ...
Determining server IP ...
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.11 ...
I1125 22:16:31.799473 10736 flags.go:30] Running "create-kubelet-flags"
I1125 22:16:32.867498 10736 run_kubelet.go:49] Running "start-kubelet"
I1125 22:16:33.568909 10736 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
I1125 22:17:02.633369 10736 interface.go:26] Installing "kube-proxy" ...
I1125 22:17:02.633386 10736 interface.go:26] Installing "kube-dns" ...
I1125 22:17:02.633392 10736 interface.go:26] Installing "openshift-service-cert-signer-operator" ...
I1125 22:17:02.633397 10736 interface.go:26] Installing "openshift-apiserver" ...
I1125 22:17:02.633420 10736 apply_template.go:81] Installing "openshift-apiserver"
I1125 22:17:02.634511 10736 apply_template.go:81] Installing "kube-proxy"
I1125 22:17:02.635754 10736 apply_template.go:81] Installing "kube-dns"
I1125 22:17:02.635924 10736 apply_template.go:81] Installing "openshift-service-cert-signer-operator"
I1125 22:17:12.316042 10736 interface.go:41] Finished installing "kube-proxy" "kube-dns" "openshift-service-cert-signer-operator" "openshift-apiserver"
Error: timed out waiting for the condition


[root@master openshift]# oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO









share|improve this question














I am trying to setup openshift origin on my local Virtualbox centos 7.4. This is a all-in-one environment for study purpose only. I followed the exact document:



https://docs.okd.io/latest/getting_started/administrators.html



Method 1: Running in a container



I installed docker and when I am running the command it failed due to timeout:



[root@master openshift]# oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Checking type of volume mount ...
Determining server IP ...
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.11 ...
I1125 22:16:31.799473 10736 flags.go:30] Running "create-kubelet-flags"
I1125 22:16:32.867498 10736 run_kubelet.go:49] Running "start-kubelet"
I1125 22:16:33.568909 10736 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
I1125 22:17:02.633369 10736 interface.go:26] Installing "kube-proxy" ...
I1125 22:17:02.633386 10736 interface.go:26] Installing "kube-dns" ...
I1125 22:17:02.633392 10736 interface.go:26] Installing "openshift-service-cert-signer-operator" ...
I1125 22:17:02.633397 10736 interface.go:26] Installing "openshift-apiserver" ...
I1125 22:17:02.633420 10736 apply_template.go:81] Installing "openshift-apiserver"
I1125 22:17:02.634511 10736 apply_template.go:81] Installing "kube-proxy"
I1125 22:17:02.635754 10736 apply_template.go:81] Installing "kube-dns"
I1125 22:17:02.635924 10736 apply_template.go:81] Installing "openshift-service-cert-signer-operator"
I1125 22:17:12.316042 10736 interface.go:41] Finished installing "kube-proxy" "kube-dns" "openshift-service-cert-signer-operator" "openshift-apiserver"
Error: timed out waiting for the condition


[root@master openshift]# oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO






kubernetes openshift openshift-origin






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 25 '18 at 14:41









Terry HuTerry Hu

11318




11318













  • I download openshift-origin-server-v3.11.0-0cbc58b-linux-64bit.tar.gz, untar, installed the docker, configured --insecure-registry=172.30.0.0/16 in /etc/sysconfig/docker in OPTIONS args where can I check the log for further diagnose?

    – Terry Hu
    Nov 25 '18 at 14:43








  • 1





    Have you done network setup as explained in github.com/openshift/origin/blob/release-3.11/docs/…

    – Graham Dumpleton
    Nov 25 '18 at 19:29











  • Thanks a lot Graham. I followed the guide and successful finished the setup. Now oc cluster up can complete. I was not aware that the github docs is more appropriate than okd doc. Please official answer this question and I will close

    – Terry Hu
    Nov 27 '18 at 0:57



















  • I download openshift-origin-server-v3.11.0-0cbc58b-linux-64bit.tar.gz, untar, installed the docker, configured --insecure-registry=172.30.0.0/16 in /etc/sysconfig/docker in OPTIONS args where can I check the log for further diagnose?

    – Terry Hu
    Nov 25 '18 at 14:43








  • 1





    Have you done network setup as explained in github.com/openshift/origin/blob/release-3.11/docs/…

    – Graham Dumpleton
    Nov 25 '18 at 19:29











  • Thanks a lot Graham. I followed the guide and successful finished the setup. Now oc cluster up can complete. I was not aware that the github docs is more appropriate than okd doc. Please official answer this question and I will close

    – Terry Hu
    Nov 27 '18 at 0:57

















I download openshift-origin-server-v3.11.0-0cbc58b-linux-64bit.tar.gz, untar, installed the docker, configured --insecure-registry=172.30.0.0/16 in /etc/sysconfig/docker in OPTIONS args where can I check the log for further diagnose?

– Terry Hu
Nov 25 '18 at 14:43







I download openshift-origin-server-v3.11.0-0cbc58b-linux-64bit.tar.gz, untar, installed the docker, configured --insecure-registry=172.30.0.0/16 in /etc/sysconfig/docker in OPTIONS args where can I check the log for further diagnose?

– Terry Hu
Nov 25 '18 at 14:43






1




1





Have you done network setup as explained in github.com/openshift/origin/blob/release-3.11/docs/…

– Graham Dumpleton
Nov 25 '18 at 19:29





Have you done network setup as explained in github.com/openshift/origin/blob/release-3.11/docs/…

– Graham Dumpleton
Nov 25 '18 at 19:29













Thanks a lot Graham. I followed the guide and successful finished the setup. Now oc cluster up can complete. I was not aware that the github docs is more appropriate than okd doc. Please official answer this question and I will close

– Terry Hu
Nov 27 '18 at 0:57





Thanks a lot Graham. I followed the guide and successful finished the setup. Now oc cluster up can complete. I was not aware that the github docs is more appropriate than okd doc. Please official answer this question and I will close

– Terry Hu
Nov 27 '18 at 0:57












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53468622%2foc-cluster-up-timeout-waiting-for-condition%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53468622%2foc-cluster-up-timeout-waiting-for-condition%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Futebolista

Feedback on college project

Albești (Vaslui)