Bug 1956354 - CSV file name is has a typo leading to failures on ART builds
Summary: CSV file name is has a typo leading to failures on ART builds
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node Feature Discovery Operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.8.0
Assignee: Carlos Eduardo Arango Gutierrez
QA Contact: Walid A.
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-03 14:19 UTC by Carlos Eduardo Arango Gutierrez
Modified: 2021-07-27 22:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:19:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-nfd-operator pull 162 0 None open Bug 1956354: Fix CSV file name 2021-05-03 14:23:41 UTC
Red Hat Product Errata RHBA-2021:2435 0 None None None 2021-07-27 22:19:38 UTC

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


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