Description of problem: Current statements do not expect arguments although they contain directives, e.g.: log.Warning("Ignoring detected %s during payload initialization", detected)
This will be back ported to 4.6.z as part of https://bugzilla.redhat.com/show_bug.cgi?id=1921180 back port.
Reproduced it with 4.7.0-0.nightly-2021-01-26-225405. Install an IPI cluster, after bootstrap is up and running, run the below commands in bootstrap instance: [root@yangyang0128-2-7f77k-bootstrap kubernetes]# crictl ps -a |grep version be66c1ae78f7d registry.ci.openshift.org/ocp/release@sha256:5e7ae993784910e70eef0e42dac50814376cd44c1607a5aa3f884b993c1932c8 4 minutes ago Running cluster-version-operator 0 dfdc01a0a1189 [root@yangyang0128-2-7f77k-bootstrap kubernetes]# crictl logs be66c1ae78f7d 2>&1 |grep -i "detected" W0128 08:15:13.432176 1 sync_worker.go:497] Ignoring detected %s during payload initializationversion change W0128 08:17:47.923781 1 sync_worker.go:497] Ignoring detected %s during payload initializationoverrides change W0128 08:17:48.129138 1 sync_worker.go:497] Ignoring detected %s during payload initializationoverrides change W0128 08:18:00.064014 1 sync_worker.go:497] Ignoring detected %s during payload initializationoverrides change W0128 08:18:13.283482 1 sync_worker.go:497] Ignoring detected %s during payload initializationoverrides change W0128 08:18:13.291081 1 sync_worker.go:497] Ignoring detected %s during payload initializationoverrides change
Verified with 4.7.0-0.nightly-2021-01-28-023823. Install an IPI cluster, after bootstrap is up and running, run the below commands in bootstrap instance: # cat /tmp/version-patch-first-override.yaml - op: add path: /spec/overrides value: - kind: DaemonSet group: apps/v1 name: cluster-network-operator namespace: openshift-cluster-network-operator unmanaged: true # oc patch clusterversion version --type json -p "$(cat /tmp/version-patch-first-override.yaml)" # crictl ps -a |grep version 5e592dafb5781 registry.ci.openshift.org/ocp/release@sha256:f78c158a4d9a987063079ecceadce0f399dc4e2ab00ef4a5de29ca5b75649384 6 seconds ago Running cluster-version-operator 0 414bc9c9f9eab # crictl logs 5e592dafb5781 2>&1 | grep -i "detected" W0128 08:54:44.748522 1 sync_worker.go:497] Ignoring detected version change during payload initialization W0128 08:55:45.200167 1 sync_worker.go:497] Ignoring detected overrides change during payload initialization W0128 08:55:45.386886 1 sync_worker.go:497] Ignoring detected overrides change during payload initialization W0128 08:55:46.404027 1 sync_worker.go:497] Ignoring detected overrides change during payload initialization
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633