Bug 1924236 - NFD Operator is failing to update and remains in Replacing state
Summary: NFD Operator is failing to update and remains in Replacing state
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node Feature Discovery Operator
Version: 4.5
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 4.5.z
Assignee: Carlos Eduardo Arango Gutierrez
QA Contact: Walid A.
URL:
Whiteboard:
Depends On: 1924232
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-02 21:02 UTC by Carlos Eduardo Arango Gutierrez
Modified: 2024-06-14 00:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1924232
Environment:
Last Closed: 2021-03-03 04:32: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 130 0 None open [release-4.5] Bug 1924236: Remove readines probe from old operator sdk 2021-02-17 12:07:51 UTC
Red Hat Product Errata RHBA-2021:0430 0 None None None 2021-03-03 04:32:33 UTC

Comment 3 Walid A. 2021-02-23 20:19:10 UTC
Verified by installing an OCP 4.5.32 cluster in AWS.  Deployed NFD from Operator hub with CSV nfd.4.5.0-202102200202.p0.

Upgrade OCP to version 4.6.18.
After upgrading OCP, from OCP console, Operators -> Installed Operator ->  NFD operator, clicked on Subscription, clicked on channel, I could see the 4.6 CSV nfd.4.6.0-202102130032.p0.  (upgrade strategy Automatic).  Selected the 4.6 CSV.  This resulted in the 4.5 NFD operator terminating and new 4.6 NFD operator starting out, with nfd-master and nfd-worker pods terminating then being recreated from the newer 4.6 images.  NFD labels also got updated to refelct the new version 4.6.18.

Events from namespace where NFD operator was deployed showed:

45m         Normal    BeingReplaced         clusterserviceversion/nfd.4.5.0-202102200202.p0   being replaced by csv: nfd.4.6.0-202102130032.p0
45m         Normal    Replaced              clusterserviceversion/nfd.4.5.0-202102200202.p0   has been replaced by a newer ClusterServiceVersion that has successfully installed.
45m         Normal    RequirementsUnknown   clusterserviceversion/nfd.4.6.0-202102130032.p0   requirements not yet checked
45m         Normal    AllRequirementsMet    clusterserviceversion/nfd.4.6.0-202102130032.p0   all requirements found, attempting install
45m         Normal    InstallSucceeded      clusterserviceversion/nfd.4.6.0-202102130032.p0   waiting for install components to report healthy
45m         Normal    InstallWaiting        clusterserviceversion/nfd.4.6.0-202102130032.p0   installing: waiting for deployment nfd-operator to become ready: Waiting for deployment spec update to be observed...
45m         Normal    InstallWaiting        clusterserviceversion/nfd.4.6.0-202102130032.p0   installing: waiting for deployment nfd-operator to become ready: Waiting for rollout to finish: 1 old replicas are pending termination...
45m         Normal    InstallSucceeded      clusterserviceversion/nfd.4.6.0-202102130032.p0   install strategy completed with no errors


# oc get csv -n test-nfd
NAME                                           DISPLAY                  VERSION                 REPLACES                    PHASE
elasticsearch-operator.4.5.0-202102200202.p0   Elasticsearch Operator   4.5.0-202102200202.p0                               Succeeded
nfd.4.6.0-202102130032.p0                      Node Feature Discovery   4.6.0-202102130032.p0   nfd.4.5.0-202102200202.p0   Succeeded

# oc get pods -n test-nfd
NAME                            READY   STATUS    RESTARTS   AGE
nfd-master-6ksbb                1/1     Running   0          53m
nfd-master-b5w9n                1/1     Running   0          53m
nfd-master-x9z9j                1/1     Running   0          53m
nfd-operator-64c59fbdc9-c85sc   1/1     Running   0          54m
nfd-worker-7qcf4                1/1     Running   0          53m
nfd-worker-j2p4v                1/1     Running   0          54m
nfd-worker-zdd5w                1/1     Running   0          53m

Comment 5 errata-xmlrpc 2021-03-03 04:32: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.5.33 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:0430


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