Bug 1918085 - reversed name of job and namespace in cvo log
Summary: reversed name of job and namespace in cvo log
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 4.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.7.0
Assignee: Lalatendu Mohanty
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-20 01:57 UTC by liujia
Modified: 2021-02-24 15:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:54:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-version-operator pull 503 0 None open Bug 1918085: Fixing the log message in WaitForJobCompletion() 2021-01-20 12:25:21 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:55:13 UTC

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


Note You need to log in before you can comment on or make changes to this bug.