Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-11417

Clustercurator cluster upgrade failure due to stale clusterversion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • ACM 2.8.7
    • ACM 2.8.0
    • Cluster Lifecycle
    • None
    • False
    • None
    • False
    • Important
    • ?
    • No

      Description of problem:

      https://access.redhat.com/support/cases/#/case/03801133

      Something keeps changing the clusterversion at Amadeus so when upgrading clusters it fails because the ClusterCurator tried to update a stale version of clusterversion.

      When creating the ClusterCurator to trigger an upgrade, the curator-job pod fails at the upgrade-cluster container with the following error:

      0424 11:35:53.419472 1 hive.go:411] ManagedClusterAction failed to update remote clusterversion[\{Completed False 0 2024-04-24 11:35:47 +0000 UTC UpdateResourceFailed failed to handle Update action with err: Operation cannot be fulfilled on clusterversions.config.openshift.io "version": the object has been modified; please apply your changes to the latest version and try again}] E0424 11:35:53.518114 1 curator.go:277] Remote clusterversion update failed panic: Remote clusterversion update failed [recovered] panic: Remote clusterversion update failed goroutine 1 [running]: main.curatorRun.func1() /remote-source/app/cmd/curator/curator.go:139 +0x1fc panic({0x1694380?, 0xc00004c100?}) /usr/lib/golang/src/runtime/panic.go:914 +0x21f main.curatorRun(0x0?, {0x1b42978?, 0xc000642b60}, {0xc000014060, 0xd}) /remote-source/app/cmd/curator/curator.go:278 +0x1d56 main.main() /remote-source/app/cmd/curator/curator.go:58 +0x170 Define the value or impact to you or the business dev and prod

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

      How reproducible:

      Steps to Reproduce:

      1.  
      2.  
      3. ...

      Actual results:

      Expected results:

      Additional info:

              fxiang@redhat.com Feng Xiang
              fxiang@redhat.com Feng Xiang
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: