OCP 3.11 install error : oc get /apis/servicecatalog.k8s.io/v1beta1 non-zero return code

Latest response

I am trying to install OCP 3.11 in my machine ( x86-64),when I run the playbooks/prerequisites.yml , it's successful , but when I run playbooks/deploy_cluster.yml , it's pending at Wait for /apis/servicecatalog.k8s.io/v1beta1 , the system error is :

TASK [openshift_control_plane : debug] *************************************************************************************************************************************************
Thursday 28 May 2020 03:14:00 +0800 (0:00:00.116) 0:05:38.312 **********
skipping: [master.test.com]

TASK [openshift_control_plane : fail] **************************************************************************************************************************************************
Thursday 28 May 2020 03:14:00 +0800 (0:00:00.080) 0:05:38.392 **********
skipping: [master.test.com]

TASK [openshift_control_plane : Check for apiservices/v1beta1.metrics.k8s.io registration] *********************************************************************************************
Thursday 28 May 2020 03:14:00 +0800 (0:00:00.147) 0:05:38.540 **********
changed: [master.test.com]

TASK [openshift_control_plane : Wait for /apis/metrics.k8s.io/v1beta1 when registered] *************************************************************************************************
Thursday 28 May 2020 03:14:01 +0800 (0:00:00.510) 0:05:39.050 **********
skipping: [master.test.com]

TASK [openshift_control_plane : Check for apiservices/v1beta1.servicecatalog.k8s.io registration] **************************************************************************************
Thursday 28 May 2020 03:14:01 +0800 (0:00:00.082) 0:05:39.133 **********
changed: [master.test.com]

TASK [openshift_control_plane : Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered] ******************************************************************************************
Thursday 28 May 2020 03:14:02 +0800 (0:00:00.501) 0:05:39.634 **********
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (60 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (59 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (58 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (57 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (56 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (55 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (54 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (53 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (52 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (51 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (50 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (49 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (48 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (47 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (46 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (45 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (44 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (43 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (42 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (41 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (40 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (39 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (38 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (37 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (36 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (35 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (34 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (33 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (32 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (31 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (30 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (29 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (28 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (27 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (26 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (25 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (24 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (23 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (22 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (21 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (20 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (19 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (18 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (17 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (16 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (15 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (14 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (13 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (12 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (11 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (10 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (9 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (8 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (7 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (6 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (5 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (4 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (3 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (2 retries left).
FAILED - RETRYING: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered (1 retries left).
fatal: [master.test.com]: FAILED! => {"attempts": 60, "changed": true, "cmd": ["oc", "--config=/etc/origin/master/admin.kubeconfig", "get", "--raw", "/apis/servicecatalog.k8s.io/v1beta1"], "delta": "0:00:00.162965", "end": "2020-05-28 03:19:26.060681", "msg": "non-zero return code", "rc": 1, "start": "2020-05-28 03:19:25.897716", "stderr": "Error from server (ServiceUnavailable): the server is currently unable to handle the request", "stderr_lines": ["Error from server (ServiceUnavailable): the server is currently unable to handle the request"], "stdout": "", "stdout_lines": []}

NO MORE HOSTS LEFT *********************************************************************************************************************************************************************

PLAY RECAP *****************************************************************************************************************************************************************************
localhost : ok=11 changed=0 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0
master : ok=9 changed=0 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0
master.test.com : ok=270 changed=47 unreachable=0 failed=1 skipped=258 rescued=0 ignored=0
node1.test.com : ok=101 changed=16 unreachable=0 failed=0 skipped=95 rescued=0 ignored=0
node2.test.com : ok=101 changed=16 unreachable=0 failed=0 skipped=95 rescued=0 ignored=0

INSTALLER STATUS ***********************************************************************************************************************************************************************
Initialization : Complete (0:00:20)
Health Check : Complete (0:00:15)
Node Bootstrap Preparation : Complete (0:03:06)
etcd Install : Complete (0:00:29)
Master Install : In Progress (0:06:54)
This phase can be restarted by running: playbooks/openshift-master/config.yml

Thursday 28 May 2020 03:19:26 +0800 (0:05:24.066) 0:11:03.701 **********

openshift_control_plane : Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered ---------------------------------------------------------------------------------------- 324.07s
openshift_node : Create credentials for registry auth -------------------------------------------------------------------------------------------------------------------------- 17.35s
openshift_node : Install node, clients, and conntrack packages ----------------------------------------------------------------------------------------------------------------- 15.72s
openshift_control_plane : Create credentials for oreg_url ---------------------------------------------------------------------------------------------------------------------- 15.51s
Run health checks (install) - EL ----------------------------------------------------------------------------------------------------------------------------------------------- 14.29s
openshift_excluder : Install docker excluder - yum ----------------------------------------------------------------------------------------------------------------------------- 13.55s
openshift_ca : Install the base package for admin tooling ---------------------------------------------------------------------------------------------------------------------- 11.54s
openshift_excluder : Install openshift excluder - yum --------------------------------------------------------------------------------------------------------------------------- 7.70s
openshift_control_plane : Wait for APIs to become available --------------------------------------------------------------------------------------------------------------------- 6.41s
openshift_node : Install iSCSI storage plugin dependencies ---------------------------------------------------------------------------------------------------------------------- 5.98s
openshift_node : Install NFS storage plugin dependencies ------------------------------------------------------------------------------------------------------------------------ 5.87s
openshift_node : install needed rpm(s) ------------------------------------------------------------------------------------------------------------------------------------------ 5.81s
openshift_node : Enable and start multipath ------------------------------------------------------------------------------------------------------------------------------------- 5.65s
nickhammond.logrotate : nickhammond.logrotate | Install logrotate --------------------------------------------------------------------------------------------------------------- 5.48s
openshift_node : Install dnsmasq ------------------------------------------------------------------------------------------------------------------------------------------------ 5.31s
openshift_node : Install Ceph storage plugin dependencies ----------------------------------------------------------------------------------------------------------------------- 4.98s
openshift_node : Install GlusterFS storage plugin dependencies ------------------------------------------------------------------------------------------------------------------ 4.96s
tuned : Restart tuned service --------------------------------------------------------------------------------------------------------------------------------------------------- 4.61s
etcd : Install openssl ---------------------------------------------------------------------------------------------------------------------------------------------------------- 4.47s
etcd : Install openssl ---------------------------------------------------------------------------------------------------------------------------------------------------------- 4.10s

Failure summary:

  1. Hosts: master.test.com
    Play: Configure masters
    Task: Wait for /apis/servicecatalog.k8s.io/v1beta1 when registered
    Message: non-zero return code
    [root@master openshift-ansible]#

fatal: [master.test.com]: FAILED! => {"attempts": 60, "changed": true, "cmd": ["oc", "--config=/etc/origin/master/admin.kubeconfig", "get", "--raw", "/apis/servicecatalog.k8s.io/v1beta1"], "delta": "0:00:00.162965", "end": "2020-05-28 03:19:26.060681", "msg": "non-zero return code", "rc": 1, "start": "2020-05-28 03:19:25.897716", "stderr": "Error from server (ServiceUnavailable): the server is currently unable to handle the request", "stderr_lines": ["Error from server (ServiceUnavailable): the server is currently unable to handle the request"], "stdout": "", "stdout_lines": []}

Responses

when I run the cmd in system directly : oc --config=/etc/origin/master/admin.kubeconfig get --raw /apis/servicecatalog.k8s.io/v1beta1 The response is Error from server (ServiceUnavailable): the server is currently unable to handle the request