Description of problem: The 'odd number of arguments passed as key-value pairs for logging' can be seen in operator logs after applying a PreflightValidation CR Version-Release number of selected component (if applicable): master/release-4.11 How reproducible: Steps to Reproduce: 1. deploy SRO from bundle using release-4.11 branch 2. deploy sample specialresource for testing 3. deploy preflightvalidation CR Actual results: Operator logs displays a dpanic level entry: {"level":"dpanic","ts":1651511976.9947278,"logger":"controller.preflightvalidation","msg":"odd number of arguments passed as key-value pairs for logging","reconciler group":"sro.openshift.io","reconciler kind":"PreflightValidation","name":"preflight","namespace":"","ignored key":true,"stacktrace":"github.com/openshift/special-resource-operator/controllers.(*PreflightValidationReconciler).Reconcile\n\t/workspace/controllers/preflightvalidation_controller.go:86\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227"} Expected results: Additional info:
Verified with a new bundle build from release-4.11 branch and error is not seen anymore Marking as Verified
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069