Bug 1986707 - CVO log "resource has already been removed" is confusing in a fresh install
Summary: CVO log "resource has already been removed" is confusing in a fresh install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.9.0
Assignee: Jack Ottofaro
QA Contact: Yang Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-28 07:27 UTC by Yang Yang
Modified: 2021-10-18 17:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:42:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-version-operator pull 642 0 None None None 2021-08-25 14:19:18 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:43:06 UTC

Description Yang Yang 2021-07-28 07:27:35 UTC
Description of problem:

As PR[1] is introduced, CVO logs "helper.go:97] imagestream "openshift/hello-openshift" has already been removed" in a fresh installed cluster. It sounds like the resource was created previously and then removed. But actually it's not created at all. It doesn't bother installation process, so set it to low severity.

[1] https://github.com/openshift/cluster-version-operator/pull/629/files

Version-Release number of the following components:

4.9.0-0.nightly-2021-07-26-220837

How reproducible:
1/1

Steps to Reproduce:
1. Install a cluster
2.
3.

Actual results:
Installation is successful and imagestream hello-openshift is not created as expected. But the CVO log shows:

W0723 07:08:11.051012       1 helper.go:97] imagestream "openshift/hello-openshift" has already been removed.

Expected results:

Do not log this message during a fresh install or update the log message.

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

Comment 1 Jack Ottofaro 2021-07-28 16:27:00 UTC
Either suggested change is straightforward however we have a full plate so not likely to be addressed this sprint.

Comment 4 Yang Yang 2021-08-27 03:30:09 UTC
Verified with 4.9.0-0.nightly-2021-08-26-164418 and passed

2832 W0827 03:12:22.674430       1 helper.go:97] imagestream "openshift/hello-openshift" not found. It either has already been removed or it has never been installed on this cluster.

Comment 7 errata-xmlrpc 2021-10-18 17:42:49 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.9.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-2021:3759


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