Bug 2088413

Summary: Logging: odd number of arguments passed as key-value pairs for logging
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Vineet <vbadrina>
Component: odf-drAssignee: Vineet <vbadrina>
odf-dr sub component: multicluster-orchestrator QA Contact: kmanohar
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: kramdoss, madam, muagarwa, ocs-bugs, odf-bz-bot
Version: 4.11   
Target Milestone: ---   
Target Release: ODF 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.11.0-89 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-31 00:19:21 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:

Description Vineet 2022-05-19 12:19:53 UTC
Description of problem (please be detailed as possible and provide log
snippets):

Fix a small logging issue where an odd number of arguments is passed to the logger.

It is sometimes causing a flake in our CI tests.


Version of all relevant components (if applicable):
4.11


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
0


Steps to Reproduce:
1. Logging issue in the code 
2. https://github.com/red-hat-storage/odf-multicluster-orchestrator/blob/main/controllers/mirrorpeer_controller.go#L330


Actual results:
Passed odd number of args

Expected results:
Pass even number of args with key and values

Additional info:

Comment 20 errata-xmlrpc 2023-01-31 00:19:21 UTC
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 (Red Hat OpenShift Data Foundation 4.12.0 enhancement and bug fix 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/RHBA-2023:0551