Bug 1993444 - NFD - cstate detection enabled on s390x
Summary: NFD - cstate detection enabled on s390x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Multi-Arch
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.9.0
Assignee: jschinta
QA Contact: Douglas Slavens
URL:
Whiteboard:
Depends On:
Blocks: ocp-49-z-tracker
TreeView+ depends on / blocked
 
Reported: 2021-08-13 06:59 UTC by jschinta
Modified: 2021-10-18 17:46 UTC (History)
1 user (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker MULTIARCH-1588 0 None None None 2021-08-13 07:00:59 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:46:34 UTC

Description jschinta 2021-08-13 06:59:00 UTC
Description of problem:
When running NFD on OCP 4.9 you can see in the logs that it is trying and failling to detect cstate on s390x.

I0812 09:08:40.750590       1 nfd-worker.go:422] configuration file "/etc/kubernetes/node-feature-discovery/nfd-worker.conf" parsed
I0812 09:08:40.750646       1 nfd-worker.go:457] worker (re-)configuration successfully completed
I0812 09:08:40.750690       1 nfd-worker.go:468] starting feature discovery...
E0812 09:08:40.750897       1 cpu.go:150] failed to detect cstate: cannot get driver for cpuidle: open /host-sys/devices/system/cpu/cpuidle/current_driver: no such file or directory
I0812 09:08:40.756227       1 nfd-worker.go:480] feature discovery completed
I0812 09:08:40.756258       1 nfd-worker.go:550] sending labeling request to nfd-master

Version-Release number of selected component (if applicable):
OCP 4.9.0-0.nightly-s390x-2021-08-04-204925
NFD 4.9.0-202107210242

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Trying and failing to detect cstate

Expected results:
Not trying to detect cstate on s390x.

Additional info:

Comment 1 jschinta 2021-08-13 07:43:31 UTC
I created an upstream PR for this one https://github.com/kubernetes-sigs/node-feature-discovery/pull/571

You can assign the bug to me.

Comment 2 Dan Li 2021-08-13 14:55:00 UTC
Setting reviewed-in-sprint flag as the PR is ongoing. Assigning to Jan

Comment 4 Dan Li 2021-08-23 13:44:36 UTC
Hi Jan, could you provide a severity for this bug?

Comment 5 jschinta 2021-08-23 13:55:29 UTC
Downstream PR https://github.com/openshift/node-feature-discovery/pull/51

Comment 6 Dan Li 2021-08-30 16:43:25 UTC
Hi Jan, do you think this bug will be resolved before the end of this sprint (September 4th)? If not, I'd like to set the "reviewed-in-sprint" flag.

Comment 7 jschinta 2021-08-31 12:12:38 UTC
Hi Dan,

Eduardo created the Version bump including the fix for this BZ, so the new PR is https://github.com/openshift/node-feature-discovery/pull/52

I do not know if it will be merged this week or not. I would say set the flag to be safe.

Comment 9 jschinta 2021-09-01 08:17:15 UTC
The PR https://github.com/openshift/node-feature-discovery/pull/52 has been merged.

Comment 11 jschinta 2021-09-09 07:15:24 UTC
Verified with NFD Operator 4.9.0-202109071344

Comment 13 errata-xmlrpc 2021-10-18 17:46:20 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.