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

openshift-gitops not upgrading even new version is available in OperatorHub

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • 4.12
    • OLM / Registry
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • No
    • None
    • None
    • Rejected
    • OPECO 240
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      OCP 4.12 disconnected. 
      Issue:
      ~~~
      the v1.7.4 of openshift-gitops installed and where v1.8.3 is able to be installed yet it doesn't appear in the operator hub as "Update Available".
      ~~~
      
       Note: entire system configuration is config-as-code and controlled by argocd,
      
      1. subscription is correct and pointing to correct catsrc and channel. Still no Install Plan is getting created.  No error on catalog pod 
      
      2. but error can be seen in 
      
      OLM logs:
      
      ~~~
      2023-07-21T15:06:10.748262621Z E0721 15:06:10.747856       1 queueinformer_operator.go:298] sync {"update" "openshift-operators/openshift-pipelines-operator-rh.v1.8.2"} failed: could not update operatorgroups olm.providedAPIs annotation: Operation cannot be fulfilled on operatorgroups.operators.coreos.com "global-operators": the object has been modified; please apply your changes to the latest version and try again
      2023-07-21T15:10:57.187524660Z E0721 15:10:57.187461       1 queueinformer_operator.go:298] sync {"update" "openshift-operators/openshift-gitops-operator.v1.7.4"} failed: could not update operatorgroups olm.providedAPIs annotation: Operation cannot be fulfilled on operatorgroups.operators.coreos.com "global-operators": the object has been modified; please apply your changes to the latest version and try again
      
      ~~~
      
      
      3. I installed v1.7.4  and after that as soon as i edit subscription with channel gitops-1.8  an new InstallPlan creates with v1.8.3 .  But in Cu's case new new installPlan is getting created
      
      must-gather link - https://drive.google.com/file/d/1sjWhrATGgPvY3_IVgjrlQH8Vx7tV5o1s/view?usp=sharing
      
      slack discussion - https://redhat-internal.slack.com/archives/C3VS0LV41/p1690233309527849?thread_ts=1689278811.951149&cid=C3VS0LV41

       

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

       

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              rh-ee-jkeister Jordan Keister
              rhn-support-bshaw Bikash Shaw
              None
              None
              Jian Zhang Jian Zhang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: