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

OSUS operator is not installing because version file is missing

XMLWordPrintable

    • None
    • CLID Sprint 263
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

       While installing OSUS operator, pods are going into CLBO because policy-engine is failing to fetch a graph from the graph-builder, but graph builder is struggling,

       

      2024-10-04T08:37:14.604999490Z [2024-10-04T08:37:14Z ERROR cincinnati::plugins::internal::cincinnati_graph_fetch] error fetching graph: failed to fetch upstream graph: error sending request for url (http://localhost:8080/v1/graph): connection closed before message completed
      2024-10-04T08:37:24.606245301Z [2024-10-04T08:37:24Z ERROR cincinnati::plugins::internal::cincinnati_graph_fetch] error fetching graph: failed to deserialize JSON: error decoding response body: EOF while parsing a value at line 1 column 0 

      Graph builder is struggling because it is looking for version file in initContainer which is not present,

       

      2024-10-04T08:32:56.909678390Z [2024-10-04T08:32:56Z TRACE cincinnati::plugins] Running next plugin 'openshift-secondary-metadata-parse' 2024-10-04T08:32:56.909932960Z [2024-10-04T08:32:56Z ERROR graph_builder::graph] Reading "/var/lib/cincinnati/graph-data/version" 2024-10-04T08:32:56.909932960Z [2024-10-04T08:32:56Z ERROR graph_builder::graph] No such file or directory (os error 2)
      

       

      Actual results:

      Openshift version is not getting updated

      Expected results:

      OSUS operator should be available to upgrade the operators

      Additional info:

      We have checked the /var/lib/cincinnati/graph-data directory but the file is not present. We also checked the file in /var/lib/cincinnati-graph-data directory but it was missing in that directory as well.
      
      ImageSetConfiguration yaml,
      
      ~~~
      apiVersion: mirror.openshift.io/v1alpha2
      kind: ImageSetConfiguration
      archiveSize: 4
      mirror:
        platform:
          architectures:
            - amd64
          channels:
            - name: stable-4.12
              minVersion: "4.12.16"
              shortestPath: true
            - name: stable-4.13
              shortestPath: true
          graph: true
        operators:
          - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.12
            packages:
              ## cincinnati-operator                           OpenShift Update Service
              - name: cincinnati-operator
        additionalImages:
          - name: registry.redhat.io/ubi8/ubi:latest
      storageConfig:
        local:
          path: ./mirror-operator
      ~~~

       

              luzuccar@redhat.com Luigi Mario Zuccarelli
              rhn-support-shrsharm Shreya Sharma
              Jia Liu Jia Liu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: