Bug 2081081
| Summary: | PreflightValidation "odd number of arguments passed as key-value pairs for logging" error | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Constantin Vultur <cvultur> |
| Component: | Special Resource Operator | Assignee: | yevgeny shnaidman <yshnaidm> |
| Status: | CLOSED ERRATA | QA Contact: | Constantin Vultur <cvultur> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.11 | CC: | aos-bugs |
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-10 11:09:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 |
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: