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

Segfault from TALM after CGU timeout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • None
    • 4.12.0
    • TALM Operator
    • None
    • CNF RAN Sprint 228, CNF RAN Sprint 229
    • 2
    • False
    • Hide

      None

      Show
      None

    Description

      This is a clone of issue OCPBUGS-4200. The following is the description of the original issue:

      Description of problem:

      A segfault occured after my CGU timed out

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

      4.12

      How reproducible:

      tbd

      Steps to Reproduce:

      1.tbd
      2.
      3.
      

      Actual results:

      TALM throws a segfault and stops running

      Expected results:

      TALM finalizes the timed out CGU and continues running

      Additional info:

      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1330498]goroutine 487 [running]:
      github.com/openshift-kni/cluster-group-upgrades-operator/controllers.(*ClusterGroupUpgradeReconciler).addClustersStatusOnTimeout(0xc000202da0?, 0xc00063a380)
          /home/sskeard/git/github/cluster-group-upgrades-operator/controllers/clustergroupupgrade_controller.go:657 +0x1b8
      github.com/openshift-kni/cluster-group-upgrades-operator/controllers.(*ClusterGroupUpgradeReconciler).Reconcile(0xc0006af880, {0x1884978, 0xc000a954a0}, {{{0xc000b5e310, 0xe}, {0xc000b5e2f8, 0x8}}})
          /home/sskeard/git/github/cluster-group-upgrades-operator/controllers/clustergroupupgrade_controller.go:174 +0x93f
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc0003b5720, {0x18848d0, 0xc0002e4600}, {0x14e0660?, 0xc0006f43e0?})
          /home/sskeard/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.3-0.20210709165254-650ea59f19cc/pkg/internal/controller/controller.go:298 +0x303
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc0003b5720, {0x18848d0, 0xc0002e4600})
          /home/sskeard/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.3-0.20210709165254-650ea59f19cc/pkg/internal/controller/controller.go:253 +0x1d9
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2()
          /home/sskeard/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.3-0.20210709165254-650ea59f19cc/pkg/internal/controller/controller.go:214 +0x85
      created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2
          /home/sskeard/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.3-0.20210709165254-650ea59f19cc/pkg/internal/controller/controller.go:210 +0x307
      exit status 2
      make: *** [Makefile:223: run] Error 1
      

      Attachments

        Issue Links

          Activity

            People

              sskeard@redhat.com Steven Skeard
              openshift-crt-jira-prow OpenShift Prow Bot
              Yang Liu Yang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: