MachineConfigPool master/worker are not degraded due to error in sync with machine-config-controller in RHOCP 4.x

Solution Verified - Updated -

Issue

  • ClusterOperator machine-config is degraded:
NAME            VERSION  AVAILABLE  PROGRESSING  DEGRADED  SINCE
machine-config  4.7.33   False      False        True      2h33m
  • Machine-config-controller is unable to reach Kubernetes service IP:
2022-04-14T18:22:52.392147909Z E0414 18:22:52.392034       1 leaderelection.go:325] error retrieving resource lock openshift-machine-config-operator/machine-config-controller: Get "https://172.30.0.1:443/api/v1/namespaces/openshift-machine-config-operator/configmaps/machine-config-controller": dial tcp 172.30.0.1:443: connect: no route to host
2022-04-14T18:23:36.682144465Z E0414 18:23:36.682056       1 leaderelection.go:325] error retrieving resource lock openshift-machine-config-operator/machine-config-controller: Get "https://172.30.0.1:443/api/v1/namespaces/openshift-machine-config-operator/configmaps/machine-config-controller": dial tcp 172.30.0.1:443: connect: no route to host
2022-04-14T18:24:25.896102968Z E0414 18:24:25.896020       1 leaderelection.go:325] error retrieving resource lock openshift-machine-config-operator/machine-config-controller: Get "https://172.30.0.1:443/api/v1/namespaces/openshift-machine-config-operator/configmaps/machine-config-controller": dial tcp 172.30.0.1:443: connect: no route to host
  • Kube-apiserver is streaming below logs:
2022-04-14T15:39:47.249887073Z E0414 15:39:47.249722      19 cacher.go:420] cacher (*unstructured.Unstructured): unexpected ListAndWatch error: failed to list maistra.io/v1, Kind=ServiceMeshControlPlane: conversion webhook for maistra.io/v2, Kind=ServiceMeshControlPlane failed: Post "https://maistra-admission-controller.openshift-operators.svc:443/convert-smcp?timeout=30s": service "maistra-admission-controller" not found; reinitializing...
2022-04-14T15:39:48.277442267Z E0414 15:39:48.277327      19 cacher.go:420] cacher (*unstructured.Unstructured): unexpected ListAndWatch error: failed to list maistra.io/v1, Kind=ServiceMeshControlPlane: conversion webhook for maistra.io/v2, Kind=ServiceMeshControlPlane failed: Post "https://maistra-admission-controller.openshift-operators.svc:443/convert-smcp?timeout=30s": service "maistra-admission-controller" not found; reinitializing...
2022-04-14T15:39:49.283428126Z E0414 15:39:49.283322      19 cacher.go:420] cacher (*unstructured.Unstructured): unexpected ListAndWatch error: failed to list maistra.io/v1, Kind=ServiceMeshControlPlane: conversion webhook for maistra.io/v2, Kind=ServiceMeshControlPlane failed: Post "https://maistra-admission-controller.openshift-operators.svc:443/convert-smcp?timeout=30s": service "maistra-admission-controller" not found; reinitializing..

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x
  • Red Hat OpenShift Service Mesh (RHOSSM)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content