Bug 1975529 - Production logs are spammed on "Validate Requirements status All host roles must be assigned to enable CNV."
Summary: Production logs are spammed on "Validate Requirements status All host roles m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
urgent
Target Milestone: ---
: 4.9.0
Assignee: Moti Asayag
QA Contact: Lital Alon
URL:
Whiteboard: AI-Team-Projects
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-23 20:46 UTC by liat gamliel
Modified: 2021-10-18 17:36 UTC (History)
3 users (show)

Fixed In Version: OCP-Metal-v1.0.23.1
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:36:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift assisted-service pull 2157 0 None open Bug 1975529: Remove unmet requirement message from log 2021-07-05 08:11:25 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:36:42 UTC

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


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