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

Forklift contoller panic in the inventory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 2.7.9
    • 2.7.2
    • Controller
    • None
    • Important

      The forklift-contoller panic in the inventory after starting the migration plan
      ~~~
      2024-10-17T19:23:25.322256278Z {"level":"info","ts":"2024-10-17 19:23:25.322","logger":"provider","msg":"Connection test succeeded."}
      2024-10-17T19:23:28.299807040Z panic: runtime error: invalid memory address or nil pointer dereference
      2024-10-17T19:23:28.299807040Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1ca1d26]
      2024-10-17T19:23:28.299807040Z
      2024-10-17T19:23:28.299807040Z goroutine 313 [running]:
      2024-10-17T19:23:28.299845422Z github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*VmAdapter).Apply(0xc001392240, {{}, {0xc0020152e0, 0x5}, {

      {0xc002015320, 0xe}

      , {0xc002015340, 0x9}, {0x0, 0x0}}, ...})
      2024-10-17T19:23:28.299845422Z /remote-source/app/pkg/controller/provider/container/vsphere/model.go:660 +0x28c6
      2024-10-17T19:23:28.299854666Z github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.Collector.applyEnter({

      {0xc00014af30, 0x29}

      , 0xc000264200, 0xc000e28500, {0x36c30f0, 0xc001030630}, {0x36b8bd8, 0xc000c85940}, 0xc0011b4400, 0xc0008d4be0, ...}, ...)
      2024-10-17T19:23:28.299877673Z /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:881 +0xa2
      2024-10-17T19:23:28.299885180Z github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*Collector).apply(0xc000cb1a40, {0x0?, 0x0?}, 0x0?, {0xc001426000?, 0x64, 0xc001e8c1e0?})
      2024-10-17T19:23:28.299907022Z /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:757 +0x15b
      2024-10-17T19:23:28.299914272Z github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*Collector).getUpdates(0xc000cb1a40, {0x36b37d0, 0xc0006c2af0})
      2024-10-17T19:23:28.299921785Z /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:409 +0xb10
      2024-10-17T19:23:28.299929012Z github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*Collector).Start.func1()
      2024-10-17T19:23:28.299929012Z /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:308 +0xf8
      2024-10-17T19:23:28.299936898Z created by github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*Collector).Start in goroutine 228
      2024-10-17T19:23:28.299944046Z /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:323 +0xb1
      ~~~
      Steps to Reproduce:
      1. Provider VMWare
      2. Create plan to migratge 1 VM
      3. Start migration
       

      Actual results:
      The forklift-contoller invnetory container panics and the VM will not migate

              marnold@redhat.com Matthew Arnold
              rhn-support-schandle Samuel Chandler
              Chenli Hu Chenli Hu
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: