Bug 2087993 - PreflightValidation many "msg":"TODO: preflight checks" in the operator log
Summary: PreflightValidation many "msg":"TODO: preflight checks" in the operator log
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Special Resource Operator
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 4.11.0
Assignee: yevgeny shnaidman
QA Contact: Constantin Vultur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-18 15:34 UTC by Constantin Vultur
Modified: 2022-08-10 11:13 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:12:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift special-resource-operator pull 210 0 None open Bug 2087993: removing unneeded log for preflight checks 2022-05-19 08:48:51 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:13:19 UTC

Description Constantin Vultur 2022-05-18 15:34:25 UTC
Description of problem:
operator logs is flooded with many lines of "msg":"TODO: preflight checks"

Version-Release number of selected component (if applicable):
bundle from release-4.11

How reproducible:


Steps to Reproduce:
1. Deploy SRO 
2. Deploy simple-kmod
3. Deploy preflightvalidation

Actual results:
Operator log is full of:
{"level":"info","ts":1652887981.7545161,"logger":"controller.specialresource","msg":"TODO: preflight checks","reconciler group":"sro.openshift.io","reconciler kind":"SpecialResource","name":"simple-kmod","namespace":""}
{"level":"info","ts":1652887985.0594642,"logger":"controller.specialresource","msg":"TODO: preflight checks","reconciler group":"sro.openshift.io","reconciler kind":"SpecialResource","name":"simple-kmod","namespace":""}
{"level":"info","ts":1652887988.4626079,"logger":"controller.specialresource","msg":"TODO: preflight checks","reconciler group":"sro.openshift.io","reconciler kind":"SpecialResource","name":"simple-kmod","namespace":""}


# oc logs pod/special-resource-controller-manager-846b8fb85f-6kqcn -c manager -n default | grep preflight | wc -l
652

# oc logs pod/special-resource-controller-manager-846b8fb85f-6kqcn -c manager -n default | grep preflight | grep TODO | wc -l
645



Expected results:


Additional info:
Validation worked fine:

Spec:
  Update Image:  quay.io/openshift-release-dev/ocp-release:4.10.15-x86_64
Status:
  Sr Statuses:
    Last Transition Time:  2022-05-18T15:16:06Z
    Name:                  simple-kmod
    Status Reason:         Verification successful, all driver-containers have paired BuildConfigs in the recipe
    Verification Status:   True
Events:                    <none>

Comment 3 errata-xmlrpc 2022-08-10 11:12:58 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 (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


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