Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1975529

Summary: Production logs are spammed on "Validate Requirements status All host roles must be assigned to enable CNV."
Product: OpenShift Container Platform Reporter: liat gamliel <lgamliel>
Component: assisted-installerAssignee: Moti Asayag <masayag>
assisted-installer sub component: CNV Plugin QA Contact: Lital Alon <lalon>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: medium CC: aos-bugs, mfilanov, yobshans
Version: 4.7Keywords: Triaged
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Projects
Fixed In Version: OCP-Metal-v1.0.23.1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:36:28 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 liat gamliel 2021-06-23 20:46:22 UTC
Description of problem:
Production logs are spammed on "Validate Requirements status All host roles must be assigned to enable CNV." - there is no data about cluster id or host id

time="2021-06-23T20:34:05Z" level=info msg="Validate Requirements status All host roles must be assigned to enable CNV." func="github.com/openshift/assisted-service/internal/operators/cnv.(*operator).ValidateHost" file="/go/src/github.com/openshift/origin/internal/operators/cnv/cnv_operator.go:95"
time="2021-06-23T20:34:05Z" level=info msg="Validate Requirements status All host roles must be assigned to enable CNV." func="github.com/openshift/assisted-service/internal/operators/cnv.(*operator).ValidateHost" file="/go/src/github.com/openshift/origin/internal/operators/cnv/cnv_operator.go:95"
time="2021-06-23T20:34:05Z" level=info msg="Validate Requirements status All host roles must be assigned to enable CNV." func="github.com/openshift/assisted-service/internal/operators/cnv.(*operator).ValidateHost" file="/go/src/github.com/openshift/origin/internal/operators/cnv/cnv_operator.go:95"
time="2021-06-23T20:34:05Z" level=info msg="Validate Requirements status All host roles must be assigned to enable CNV." func="github.com/openshift/assisted-service/internal/operators/cnv.(*operator).ValidateHost" file="/go/src/github.com/openshift/origin/internal/operators/cnv/cnv_operator.go:95"


Version-Release number of selected component (if applicable):
v1.0.22.1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Need to add extra data, such as cluster_id / host_id, and check if this log is really needed - as you can see in the logs that I added - we have the same log line multiple of times.

Comment 2 Yuri Obshansky 2021-07-21 19:36:18 UTC
Verified on Staging 1.0.23.1

Comment 5 errata-xmlrpc 2021-10-18 17:36:28 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