openshift集群部署报错openshift_cluster_monitoring_operator: Wait for the ServiceMonitor CRD to be created

openshift集群部署在openshift_cluster_monitoring_operator: Wait for the ServiceMonitor CRD to be created 无法通过

报错信息:

openshift_cluster_monitoring_operator: Wait  for the ServiceMonitor CRD to be created
FALILED - RETRYING: Wait for the ServiceMonitor CRD to be created (30 retries left).
FALILED - RETRYING: Wait for the ServiceMonitor CRD to be created (29 retries left).
FALILED - RETRYING: Wait for the ServiceMonitor CRD to be created (28 retries left).
FALILED - RETRYING: Wait for the ServiceMonitor CRD to be created (27 retries left).
。。。

最终报错:

customresourcedefinitions.apiextensions.k8s.io \ "servicemonitors.monitoring.coreos.com\" not found "

具体信息如下图:
openshift集群部署报错openshift_cluster_monitoring_operator: Wait for the ServiceMonitor CRD to be created_第1张图片
openshift集群部署报错openshift_cluster_monitoring_operator: Wait for the ServiceMonitor CRD to be created_第2张图片
openshift集群部署报错openshift_cluster_monitoring_operator: Wait for the ServiceMonitor CRD to be created_第3张图片
排错过程就不多说了,最终通过修改网卡配置得以解决:

 vi /etc/sysconfig/network-scripts/ifcfg-eno4
 BOOTPROTO=static  #设置静态
DEVICE=eno4
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
NM_CONTROLLED=yes  #此处是成败的关键
IPADDR=192.168.23.142
NETMASK=255.255.255.0
GATEWAY=192.168.182.2
DNS1=192.168.182.2

你可能感兴趣的:(故障处理,Wait,for,the,ServerMonitor,CRD)