Hi Team
I'm trying to install openshift origin 3.11 in Centos 7.6 and i got the
"Pods didn't came up error" Can you guys please help me the fix the below
error .
Error
=====
failed: [master.example.com] (item=controllers) => {"attempts": 60,
"changed": false, "item": "controllers", "msg": {"cmd": "/usr/bin/oc get
pod master-controllers-master.example.com -o json -n kube-system",
"results": [{}], "returncode": 1, "stderr": "The connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?\n", "stdout": ""}}
...ignoring
TASK [openshift_control_plane : Check status in the kube-system namespace]
************************************************************************************************************************************************************
fatal: [master.example.com]: FAILED! => {"changed": true, "cmd": ["oc",
"status", "--config=/etc/origin/master/admin.kubeconfig", "-n",
"kube-system"], "delta": "0:00:00.199493", "end": "2019-02-11
08:52:36.021191", "msg": "non-zero return code", "rc": 1, "start":
"2019-02-11 08:52:35.821698", "stderr": "The connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?\nThe connection to the server master.example.com:8443 was refused -
did you specify the right host or port?\nThe connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?\nThe connection to the server master.example.com:8443 was refused -
did you specify the right host or port?\nThe connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?\nThe connection to the server master.example.com:8443 was refused -
did you specify the right host or port?\nThe connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?\nThe connection to the server master.example.com:8443 was refused -
did you specify the right host or port?\nThe connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?\nThe connection to the server master.example.com:8443 was refused -
did you specify the right host or port?\nThe connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?\nThe connection to the server master.example.com:8443 was refused -
did you specify the right host or port?\nThe connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?\nThe connection to the server master.example.com:8443 was refused -
did you specify the right host or port?\nThe connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?\nThe connection to the server master.example.com:8443 was refused -
did you specify the right host or port?", "stderr_lines": ["The connection
to the server master.example.com:8443 was refused - did you specify the
right host or port?", "The connection to the server master.example.com:8443
was refused - did you specify the right host or port?", "The connection to
the server master.example.com:8443 was refused - did you specify the right
host or port?", "The connection to the server master.example.com:8443 was
refused - did you specify the right host or port?", "The connection to the
server master.example.com:8443 was refused - did you specify the right host
or port?", "The connection to the server master.example.com:8443 was
refused - did you specify the right host or port?", "The connection to the
server master.example.com:8443 was refused - did you specify the right host
or port?", "The connection to the server master.example.com:8443 was
refused - did you specify the right host or port?", "The connection to the
server master.example.com:8443 was refused - did you specify the right host
or port?", "The connection to the server master.example.com:8443 was
refused - did you specify the right host or port?", "The connection to the
server master.example.com:8443 was refused - did you specify the right host
or port?", "The connection to the server master.example.com:8443 was
refused - did you specify the right host or port?", "The connection to the
server master.example.com:8443 was refused - did you specify the right host
or port?", "The connection to the server master.example.com:8443 was
refused - did you specify the right host or port?", "The connection to the
server master.example.com:8443 was refused - did you specify the right host
or port?", "The connection to the server master.example.com:8443 was
refused - did you specify the right host or port?"], "stdout": "",
"stdout_lines": []}
...ignoring
TASK [openshift_control_plane : debug]
************************************************************************************************************************************************************************************************
ok: [master.example.com] => {
"msg": []
}
TASK [openshift_control_plane : Get pods in the kube-system namespace]
****************************************************************************************************************************************************************
fatal: [master.example.com]: FAILED! => {"changed": true, "cmd": ["oc",
"get", "pods", "--config=/etc/origin/master/admin.kubeconfig", "-n",
"kube-system", "-o", "wide"], "delta": "0:00:00.157770", "end": "2019-02-11
08:52:36.683636", "msg": "non-zero return code", "rc": 1, "start":
"2019-02-11 08:52:36.525866", "stderr": "The connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?", "stderr_lines": ["The connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [openshift_control_plane : debug]
************************************************************************************************************************************************************************************************
ok: [master.example.com] => {
"msg": []
}
TASK [openshift_control_plane : Get events in the kube-system namespace]
**************************************************************************************************************************************************************
fatal: [master.example.com]: FAILED! => {"changed": true, "cmd": ["oc",
"get", "events", "--config=/etc/origin/master/admin.kubeconfig", "-n",
"kube-system"], "delta": "0:00:00.168947", "end": "2019-02-11
08:52:37.285554", "msg": "non-zero return code", "rc": 1, "start":
"2019-02-11 08:52:37.116607", "stderr": "The connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?", "stderr_lines": ["The connection to the server
master.example.com:8443 was refused - did you specify the right host or
port?"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [openshift_control_plane : debug]
************************************************************************************************************************************************************************************************
ok: [master.example.com] => {
"msg": []
}
TASK [openshift_control_plane : Report control plane errors]
**************************************************************************************************************************************************************************
fatal: [master.example.com]: FAILED! => {"changed": false, "msg": "Control
plane pods didn't come up"}
NO MORE HOSTS LEFT
********************************************************************************************************************************************************************************************************************
to retry, use: --limit
@/root/openshift-ansible/playbooks/deploy_cluster.retry
PLAY RECAP
****************************************************************************************************************************************************************************************************************************
infra-node1.example.com : ok=98 changed=15 unreachable=0
failed=0
localhost : ok=11 changed=0 unreachable=0
failed=0
master.example.com : ok=290 changed=46 unreachable=0
failed=1
node1.example.com : ok=98 changed=15 unreachable=0
failed=0
INSTALLER STATUS
**********************************************************************************************************************************************************************************************************************
Initialization : Complete (0:00:29)
Health Check : Complete (0:00:39)
Node Bootstrap Preparation : Complete (0:01:13)
etcd Install : Complete (0:00:29)
Master Install : In Progress (0:17:27)
This phase can be restarted by running:
playbooks/openshift-master/config.yml
Failure summary:
1. Hosts: master.example.com
Play: Configure masters
Task: Report control plane errors
Message: Control plane pods didn't come up
Thank You
Dhanushka
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users