Hi Daniel
Please find the below outputs , Seems like docker containers are running .
So is their any reason why i'm getting this error?
[root@master ~]# ping master.example.com
PING master.example.com (192.168.8.90) 56(84) bytes of data.
64 bytes from master.example.com (192.168.8.90): icmp_seq=1 ttl=64
time=0.026 ms
64 bytes from master.example.com (192.168.8.90): icmp_seq=2 ttl=64
time=0.027 ms
64 bytes from master.example.com (192.168.8.90): icmp_seq=3 ttl=64
time=0.025 ms
^C
--- master.example.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.025/0.026/0.027/0.000 ms
[root@master ~]# host master.example.com
master.example.com has address 192.168.8.90
[root@master ~]# docker ps -a
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS
NAMES
2e3388e943b0 86d1731999db "/bin/bash -c
'#!/..." 2 minutes ago Exited (1) 2 minutes ago
k8s_api_master-api-master.example.com_kube-system_4f2be631c4c438f1a1cbb365abe8008d_572
5922f5b0e62d 86d1731999db "/bin/bash -c
'#!/..." 2 minutes ago Exited (1) 2 minutes ago
k8s_controllers_master-controllers-master.example.com_kube-system_17dd294c94f3b66b916fb5744aa45704_573
cb23b7948526 docker.io/openshift/origin-pod:v4.0.0 "/usr/bin/pod"
2 days ago Up 2 days
k8s_POD_master-controllers-master.example.com_kube-system_17dd294c94f3b66b916fb5744aa45704_0
db06dd94d55b docker.io/openshift/origin-pod:v4.0.0 "/usr/bin/pod"
2 days ago Up 2 days
k8s_POD_master-api-master.example.com_kube-system_4f2be631c4c438f1a1cbb365abe8008d_0
96fa1bf8ac61 86d1731999db "/bin/bash -c
'#!/..." 2 days ago Exited (1) 2 days ago
k8s_controllers_master-controllers-master.example.com_kube-system_369e6fc74dadab198ffb8a2d58b411b2_30
c5b7363ddb79 86d1731999db "/bin/bash -c
'#!/..." 2 days ago Exited (1) 2 days ago
k8s_api_master-api-master.example.com_kube-system_79d9dfdfe61e5047d4c37a55e60d4cbd_30
f1d336ff1701 ff5dd2137a4f "/bin/sh -c
'#!/bi..." 2 days ago Up 2 days
k8s_etcd_master-etcd-master.example.com_kube-system_3f15983188280070dc68ad06ce271a4d_0
6ca7b19a1c1e docker.io/openshift/origin-pod:v4.0.0 "/usr/bin/pod"
2 days ago Up 2 days
k8s_POD_master-controllers-master.example.com_kube-system_369e6fc74dadab198ffb8a2d58b411b2_0
9cc3b1fdf8e5 docker.io/openshift/origin-pod:v4.0.0 "/usr/bin/pod"
2 days ago Up 2 days
k8s_POD_master-etcd-master.example.com_kube-system_3f15983188280070dc68ad06ce271a4d_0
0a99f6529885 docker.io/openshift/origin-pod:v4.0.0 "/usr/bin/pod"
2 days ago Up 2 days
k8s_POD_master-api-master.example.com_kube-system_79d9dfdfe61e5047d4c37a55e60d4cbd_0
On Mon, 11 Feb 2019 at 15:59, Daniel Comnea <[email protected]> wrote:
> is master.example.com resolvable ? you could also try to jump on the
> master node and see if the pod is up and if so start from that end.
>
> On Mon, Feb 11, 2019 at 4:28 AM Dhanushka Parakrama <
> [email protected]> wrote:
>
>> 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
>>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users