MTV forklift-controller pod crashes in a loop after configuring vSphere provider

Solution Verified - Updated -

Issue

  • After adding a vmware provider the controller keeps crashing when trying to build the inventory
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x193da35]

goroutine 725 [running]:
github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*VmAdapter).updateDisks(0xc00227a200, 0xc0006b5360?)
    /remote-source/app/pkg/controller/provider/container/vsphere/model.go:705 +0x355
github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*VmAdapter).Apply(0xc00227a200, {{}, {0xc002aefae0, 0x5}, {{0xc002aefb10, 0xe}, {0xc002aefb30, 0x7}}, {0xc002afc600, 0x1b, ...}, ...})
    /remote-source/app/pkg/controller/provider/container/vsphere/model.go:669 +0x20b5
github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.Collector.applyEnter({{0xc00086cac8, 0x16}, 0xc0005fe400, 0xc00217c140, {0x312a368, 0xc0021469a0}, {0x3120fb8, 0xc00283a120}, 0xc0002448e0, 0xc0028367f0, ...}, ...)
    /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:851 +0x9e
github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*Collector).apply(0xc0028295c0, {0x0?, 0x0?}, 0x0?, {0xc002eae000?, 0x64, 0xa?})
    /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:734 +0x15b
github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*Collector).getUpdates(0xc0028295c0, {0x311de68, 0xc00280fe50})
    /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:396 +0xab4
github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*Collector).Start.func1()
    /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:301 +0xfd
created by github.com/konveyor/forklift-controller/pkg/controller/provider/container/vsphere.(*Collector).Start
    /remote-source/app/pkg/controller/provider/container/vsphere/collector.go:316 +0xb9

Environment

  • Red Hat OpenShift Container Platform 4.x
  • Migration Toolkit for Virtualization 2.5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content