Bug 1908492 - OCP 4.7: Node Feature Discovery (NFD) Operator Custom Resource Definition file in olm-catalog is not in sync with the one in manifests dir leading to failed deployment from OperatorHub
Summary: OCP 4.7: Node Feature Discovery (NFD) Operator Custom Resource Definition fi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node Feature Discovery Operator
Version: 4.7
Hardware: x86_64
OS: Unspecified
medium
high
Target Milestone: ---
: 4.7.0
Assignee: Carlos Eduardo Arango Gutierrez
QA Contact: Walid A.
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-16 20:52 UTC by Walid A.
Modified: 2021-02-24 15:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:01:39 UTC
Target Upstream Version:
Embargoed:
carangog: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-nfd-operator pull 118 0 None closed Bug 1908492: Update OLM catalog to new CRD and CSV 2021-01-25 21:45:02 UTC
Red Hat Product Errata RHSA-2020:5635 0 None None None 2021-02-24 15:02:57 UTC

Description Walid A. 2020-12-16 20:52:05 UTC
Description of problem:
NFD Operator CustomResourceDefinition under OLM catalog is out of sync  with CRD in the  manifests dir leading to operator deployment failure when installing via OperatorHub.  

Files that are not in sync:

OLM catalog:
 https://github.com/openshift/cluster-nfd-operator/blob/master/manifests/olm-catalog/4.7/nfd.crd.yaml


Manifests dir: https://github.com/openshift/cluster-nfd-operator/blob/master/manifests/0500_crd.yaml

Version-Release number of selected component (if applicable):
Client Version: 4.7.0-0.nightly-2020-12-14-165231
Server Version: 4.7.0-0.nightly-2020-12-14-165231
Kubernetes Version: v1.19.2+e386040


How reproducible:
Always

Steps to Reproduce:
1. Create an IPI OCP 4.7 cluster on AWS, 3 master and 3 worker nodes.  Use our Flexy automation which creates a catalogesource for qe-app-registry to pull latest NFD images.
2. From Console create a new project called "test-nfd"
3. From Console, Operator -> OperatorHub, search for NFD operator and install it in test-nfd namespace just created
  - Update Channel:  4.7, Approval Strategy Automatic
4.  Wait for operator status to show Succeeded


Actual results:
NFD operator staus stuck in Pending state

Expected results:
nfd operator running, and Status on console should show Succeeded


Additional info:

Comment 3 Walid A. 2020-12-18 21:26:02 UTC
Failed verification on OCP 4.7.0-0.nightly-2020-12-18-031435.

NFD Operator is stuck in "Upgrade Pending" state when deployed from OperatorHub of the OpenShift console.

OCP version:  4.7.0-0.nightly-2020-12-18-031435 

NFD Operator version:  4.7.0-202012171720.p0

# oc get catalogsource -n openshift-marketplace
NAME                  DISPLAY                TYPE   PUBLISHER      AGE
certified-operators   Certified Operators    grpc   Red Hat        6h49m
community-operators   Community Operators    grpc   Red Hat        6h49m
qe-app-registry       Production Operators   grpc   OpenShift QE   6h26m
redhat-marketplace    Red Hat Marketplace    grpc   Red Hat        6h49m
redhat-operators      Red Hat Operators      grpc   Red Hat        6h49m

# oc get packagemanifest -l catalog=qe-app-registry
NAME                                CATALOG                AGE
cluster-logging                     Production Operators   6h28m
compliance-operator                 Production Operators   6h28m
elasticsearch-operator              Production Operators   6h28m
ptp-operator                        Production Operators   6h28m
metering-ocp                        Production Operators   6h28m
cluster-kube-descheduler-operator   Production Operators   6h28m
local-storage-operator              Production Operators   6h28m
nfd                                 Production Operators   6h28m
sriov-network-operator              Production Operators   6h28m
amq-streams                         Production Operators   6h28m

Comment 5 Walid A. 2021-01-26 14:49:57 UTC
Verified on OCP 4.7.0-0.nightly-2021-01-22-134922.

Comment 7 errata-xmlrpc 2021-02-24 15:01:39 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.7.0 extras 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-2020:5635


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