Bug 1809806

Summary: Unable to deploy NFD from operatorhub on OCP 4.2
Product: OpenShift Container Platform Reporter: Eric Matysek <ematysek>
Component: Node Feature Discovery OperatorAssignee: Carlos Eduardo Arango Gutierrez <carangog>
Status: CLOSED WONTFIX QA Contact: Eric Matysek <ematysek>
Severity: low Docs Contact:
Priority: low    
Version: 4.2.zCC: carangog, sdodson, sejug, vlaad, zkosic
Target Milestone: ---   
Target Release: 4.2.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-27 14:04:35 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:
Bug Depends On: 1789560    
Bug Blocks:    

Description Eric Matysek 2020-03-03 22:08:20 UTC
Description of problem:
NFD operator goes into error state on OCP 4.2.x

Version-Release number of selected component (if applicable):
4.2.21

How reproducible:
100%

Steps to Reproduce:
1. Deploy NFD from operatofhub on 4.2.x cluster
2.
3.

Actual results:
[ematysek@jump ~]$ oc get pods -n anfd
NAME                           READY   STATUS             RESTARTS   AGE
nfd-operator-8b77489bb-jb4x8   0/1     CrashLoopBackOff   5          4m22s


Expected results:
nfd-operator running successfully

Additional info:
[ematysek@jump ~]$ oc logs pod/nfd-operator-8b77489bb-jb4x8
{"level":"info","ts":1583272960.9110167,"logger":"cmd","msg":"Go Version: go1.11.13"}
{"level":"info","ts":1583272960.9110374,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1583272960.9110413,"logger":"cmd","msg":"Version of operator-sdk: v0.4.0+git"}
{"level":"info","ts":1583272960.911689,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1583272961.076592,"logger":"leader","msg":"Found existing lock with my name. I was likely restarted."}
{"level":"info","ts":1583272961.0766234,"logger":"leader","msg":"Continuing as the leader."}
{"level":"info","ts":1583272961.209619,"logger":"cmd","msg":"Registering Components."}
{"level":"info","ts":1583272961.209784,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1583272961.2098906,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1583272961.209957,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1583272961.210014,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1583272961.2100642,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"error","ts":1583272961.2100747,"logger":"cmd","msg":"","error":"no kind is registered for the type v1.SecurityContextConstraints in scheme \"k8s.io/client-go/kubernetes/scheme/register.go:60\"","stacktrace":"github.com/openshift/cluster-nfd-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/openshift/cluster-nfd-operator/vendor/github.com/go-logr/zapr/zapr.go:128\nmain.main\n\t/go/src/github.com/openshift/cluster-nfd-operator/cmd/manager/main.go:92\nruntime.main\n\t/opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/proc.go:201"}