Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-1353

runtime error: invalid memory address or nil pointer dereference

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 2.6.6
    • None
    • None
    • None
    • False
    • None
    • False

      ClusterID: c023b746-d227-4e27-b4c6-9ddc630028cd
      ClientVersion: 4.16.0
      ClusterVersion: Stable at "4.16.7"
      ClusterOperators:
              All healthy and stable

       

       

      on my cluster on Google Cloud - pulling VMs across the Internet from our VMware on IBM cloud:
       

      {"level":"error","ts":"2024-08-22 18:40:30.535","logger":"storageMap|w89ft","msg":"Reconcile failed.","map":

      {"name":"storagemap-user7","namespace":"mtv-user7"}

      ,"error":"GET failed. caused by: 'Get \"https://forklift-inventory.openshift-mtv.svc.cluster.local:8443/providers/vsphere/919c378d-9a0a-43fc-8c56-d24e56116346/datastores/datastore-1032\": dial tcp 172.30.149.38:8443: connect: connection refused'","stacktrace":"github.com/konveyor/forklift-controller/pkg/controller/base.(*Reconciler).Ended\n\t/remote-source/app/pkg/controller/base/controller.go:57\ngithub.com/konveyor/forklift-controller/pkg/controller/map/storage.Reconciler.Reconcile.func1\n\t/remote-source/app/pkg/controller/map/storage/controller.go:123\ngithub.com/konveyor/forklift-controller/pkg/controller/map/storage.Reconciler.Reconcile\n\t/remote-source/app/pkg/controller/map/storage/controller.go:152\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/...
       

      Lots of these.  We used to see them even when we deployed OCP-Virt + MTV in IBM Cloud.  But we're not really seeing them much anymore on IBM cloud since we made the VM names unique across folders.
       
       

      {"level":"info","ts":"2024-08-22 18:46:26.493","msg":"Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference","controller":"plan","object":

      {"name":"plan-user1","namespace":"mtv-user1"}

      ,"namespace":"mtv-user1","name":"plan-user1","reconcileID":"356d3a18-9bf5-4beb-98e0-c24bb918d44c"} panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x330 pc=0x26b33d2] goroutine 346 [running]:
       
       
      Inventory container shows no errors.
       
      only main dies.

              mnecas@redhat.com Martin Necas
              jmaltin Judd Maltin
              Amos Mastbaum Amos Mastbaum
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: