Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32047

NFD Operator in 4.12 is not able to upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.12.z
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Fix the absence of status from NFD CR
    • Bug Fix
    • In Progress

      Description of problem:

      The operator shows two CSVs, one being on Replacing status and the later one in Pending.
      
      oc get csv
      NAME                            DISPLAY                            VERSION               REPLACES                        PHASE
      nfd.4.12.0-202402081808         Node Feature Discovery Operator    4.12.0-202402081808   nfd.4.11.0-202401291254         Replacing
      nfd.4.12.0-202403241038         Node Feature Discovery Operator    4.12.0-202403241038   nfd.4.12.0-202402081808         Pending
      
      
      For CSV nfd.4.12.0-202403241038 it shows:
      
      error validating existing CRs against new CRD's schema for "nodefeaturediscoveries.nfd.openshift.io": error validating custom resource against new schema for NodeFeatureDiscovery openshift-nfd/nfd-instance: [[].status.conditions[0].reason: Invalid value: "": status.conditions[0].reason in body should be at least 1 chars long, [].status.conditions[1].reason: Invalid value: "": status.conditions[1].reason in body should be at least 1 chars long, [].status.conditions[2].reason: Invalid value: "": status.conditions[2].reason in body should be at least 1 chars long, [].status.conditions[3].reason: Invalid value: "": status.conditions[3].reason in body should be at least 1 chars long]
      
      
      

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

      OCP 4.12.49
      

      How reproducible:

      Not possible, because I couldnt get a specific old version of NDF to be able to run and have upgrade path.  

      Expected results:

      To have the automated upgrade to finish successfully    

      Additional info:

      Discussed here:
      https://redhat-internal.slack.com/archives/C041X004KGB/p1712753506668379
      • Uploaded fileĀ nfdlogs.zip in Gdrive, contains:
        • Inspect of the openshift-nfd namespace
        • Cluster must-gather
        • output from oc get csv -n openshift-nfd -o yaml and oc get installplan -n openshift-nfd -o yaml

      https://drive.google.com/file/d/1nFgop-is2NL1DYBiIEmHqYqStQMu0XOf/view?usp=drive_link

            rhn-gps-cprocter Chris Procter
            rhn-support-hgomes Hevellyn Gomes
            Guy Gordani Guy Gordani
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: