Unknown field logs in Machine Config Operator Pod in RHOCP 4

Solution Verified - Updated -

Issue

  • The logs in the Machine-Config-Operator pod flooded with unknown field warnings after upgrading the cluster to version 4.12.

    $  oc logs machine-config-controller-xxxxxxxxxx-xxxxx   -c machine-config-controller -n openshift-machine-config-operator
    
    W0807 13:15:52.597359 1 warnings.go:70] unknown field "spec.dns.metadata.creationTimestamp"
    W0807 13:15:52.597379 1 warnings.go:70] unknown field "spec.dns.metadata.generation"
    W0807 13:15:52.597385 1 warnings.go:70] unknown field "spec.dns.metadata.managedFields"
    W0807 13:15:52.597391 1 warnings.go:70] unknown field "spec.dns.metadata.name"
    W0807 13:15:52.597398 1 warnings.go:70] unknown field "spec.dns.metadata.resourceVersion"
    W0807 13:15:52.597478 1 warnings.go:70] unknown field "spec.dns.metadata.uid"
    W0807 13:15:52.597487 1 warnings.go:70] unknown field "spec.infra.metadata.creationTimestamp"
    W0807 13:15:52.597494 1 warnings.go:70] unknown field "spec.infra.metadata.generation"
    W0807 13:15:52.597501 1 warnings.go:70] unknown field "spec.infra.metadata.managedFields"
    W0807 13:15:52.597508 1 warnings.go:70] unknown field "spec.infra.metadata.name"
    W0807 13:15:52.597516 1 warnings.go:70] unknown field "spec.infra.metadata.resourceVersion"
    W0807 13:15:52.597524 1 warnings.go:70] unknown field "spec.infra.metadata.uid"
    W0807 13:20:27.386747 1 warnings.go:70] unknown field "spec.dns.metadata.creationTimestamp"
    W0807 13:20:27.386771 1 warnings.go:70] unknown field "spec.dns.metadata.generation"
    W0807 13:20:27.386776 1 warnings.go:70] unknown field "spec.dns.metadata.managedFields"
    W0807 13:20:27.386782 1 warnings.go:70] unknown field "spec.dns.metadata.name"
    W0807 13:20:27.386787 1 warnings.go:70] unknown field "spec.dns.metadata.resourceVersion"
    W0807 13:20:27.386791 1 warnings.go:70] unknown field "spec.dns.metadata.uid"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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