Bug 1956354

Summary: CSV file name is has a typo leading to failures on ART builds
Product: OpenShift Container Platform Reporter: Carlos Eduardo Arango Gutierrez <carangog>
Component: Node Feature Discovery OperatorAssignee: Carlos Eduardo Arango Gutierrez <carangog>
Status: CLOSED ERRATA QA Contact: Walid A. <wabouham>
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: lhorsley, sejug
Target Milestone: ---   
Target Release: 4.8.0   
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: 2021-07-27 22:19: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 Carlos Eduardo Arango Gutierrez 2021-05-03 14:19:10 UTC
Error Reported
--------------
cluster-nfd-operator: did not find a *.clusterserviceversion.yaml file @ /mnt/workspace/jenkins/working/aos-cd-builds/build%2Focp4/doozer_working/distgits/containers/cluster-nfd-operator/manifests/4.8/manifests

Comment 2 Walid A. 2021-05-05 20:25:50 UTC
Verified on OCP version 4.8.0-fc.2, deployed nfd operator image just built from a cloned master repo and after we applied the nodefeaturesicoveries crd:

# make deploy ORG=wabouham PULLPOLICY=Always IMAGE_REGISTRY=quay.io/wabouham
go: creating new go.mod: module tmp
Downloading sigs.k8s.io/kustomize/kustomize/v3.7
cd config/manager && /root/go/src/github.com/openshift/cluster-nfd-operator/bin/kustomize edit set image controller=quay.io/wabouham/cluster-nfd-operator:8cbfd77a
/root/go/src/github.com/openshift/cluster-nfd-operator/bin/kustomize build config/default | kubectl apply -f -
namespace/openshift-nfd created
Warning: resource customresourcedefinitions/nodefeaturediscoveries.nfd.openshift.io is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
customresourcedefinition.apiextensions.k8s.io/nodefeaturediscoveries.nfd.openshift.io configured
serviceaccount/nfd-operator created
role.rbac.authorization.k8s.io/nfd-leader-election-role created
Warning: resource clusterroles/nfd-metrics-reader is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
clusterrole.rbac.authorization.k8s.io/nfd-metrics-reader configured
clusterrole.rbac.authorization.k8s.io/nfd-operator created
Warning: resource clusterroles/nfd-proxy-role is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
clusterrole.rbac.authorization.k8s.io/nfd-proxy-role configured
rolebinding.rbac.authorization.k8s.io/nfd-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/nfd-operator created
Warning: resource clusterrolebindings/nfd-proxy-rolebinding is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
clusterrolebinding.rbac.authorization.k8s.io/nfd-proxy-rolebinding configured
configmap/nfd-manager-config created
service/nfd-controller-manager-metrics-service created
deployment.apps/nfd-controller-manager created


# oc apply -f /root/go/src/github.com/openshift/cluster-nfd-operator/config/samples/nfd.openshift.io_v1_nodefeaturediscovery.yaml
nodefeaturediscovery.nfd.openshift.io/nfd-instance created

# oc get pods -n  default
NAME                                                              READY   STATUS      RESTARTS   AGE
ff0c8a9d7f0601070764733f0bae54bb0110a7e8d656898cd9afd0c7d8mv4v2   0/1     Completed   0          27h
quay-io-wabouham-nfd-operator-bundle-0-0-1                        1/1     Running     0          27h


# oc get pods -n openshift-nfd
NAME                                      READY   STATUS    RESTARTS   AGE
nfd-controller-manager-78cb596c66-x8mz7   2/2     Running   0          66m
nfd-master-4987p                          1/1     Running   0          16s
nfd-master-vdwns                          1/1     Running   0          16s
nfd-master-zdg58                          1/1     Running   0          16s
nfd-worker-jj27b                          1/1     Running   0          16s
nfd-worker-jn9xp                          1/1     Running   0          16s
nfd-worker-pk8fd                          1/1     Running   0          16s

Comment 5 errata-xmlrpc 2021-07-27 22:19: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 (OpenShift Container Platform 4.8.2 extras 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/RHBA-2021:2435