Bug 1918085

Summary: reversed name of job and namespace in cvo log
Product: OpenShift Container Platform Reporter: liujia <jiajliu>
Component: Cluster Version OperatorAssignee: Lalatendu Mohanty <lmohanty>
Status: CLOSED ERRATA QA Contact: liujia <jiajliu>
Severity: low Docs Contact:
Priority: low    
Version: 4.7CC: aos-bugs, jokerman, lmohanty
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:54:57 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 liujia 2021-01-20 01:57:34 UTC
Description of problem:
The name of job and namespace in cvo log is not correct,should change with each other.

I0120 01:41:02.885898       1 batch.go:21] Job openshift-cluster-version in namespace version--8k64q is not ready, continuing to wait.
I0120 01:41:05.890110       1 batch.go:21] Job openshift-cluster-version in namespace version--8k64q is not ready, continuing to wait.
I0120 01:41:06.356578       1 leaderelection.go:273] successfully renewed lease openshift-cluster-version/version

https://github.com/openshift/cluster-version-operator/blob/master/lib/resourcebuilder/batch.go#L21

klog.V(4).Infof("Job %s in namespace %s is not ready, continuing to wait.", job.ObjectMeta.Namespace, job.ObjectMeta.Name)


Version-Release number of the following components:
4.7.0-0.nightly-2021-01-14-211319

How reproducible:
always

Steps to Reproduce:
1. 
2.
3.

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results:

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 1 Lalatendu Mohanty 2021-01-20 11:03:32 UTC
If you have the CVO logs, please add it to the bug.

Comment 2 Lalatendu Mohanty 2021-01-20 12:13:08 UTC
Nevermind, we do not need the logs.

Comment 4 liujia 2021-01-22 03:16:04 UTC
Verified on 4.7.0-0.nightly-2021-01-21-172657

I0122 03:11:18.610526       1 batch.go:21] Job version--tg5bk in namespace openshift-cluster-version is not ready, continuing to wait.
I0122 03:11:21.611058       1 batch.go:21] Job version--tg5bk in namespace openshift-cluster-version is not ready, continuing to wait.
I0122 03:11:21.716121       1 leaderelection.go:273] successfully renewed lease openshift-cluster-version/version

Comment 7 errata-xmlrpc 2021-02-24 15:54:57 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 (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