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

Cold migration from vCenter 8.x is failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • Critical

      Customer is attempting to Cold migrate VM's from vCenter 8.x to OpenShift CNV using MTV and its failing.

      Cluster version: v4.13.14
      CNV operator: v4.13.7
      MTV Operator: v2.5.6

      The importer log errors (obfuscated) show the following:
      I0404 16:26:18.424642 1 nbdkit.go:302] Waiting for nbdkit PID.
      I0404 16:26:18.852671 1 vddk-datasource_amd64.go:169] VDDK version in-use: 8.0.2
      I0404 16:26:18.924749 1 nbdkit.go:323] nbdkit ready.
      E0404 16:26:19.746174 1 vddk-datasource_amd64.go:117] Unable to connect to socket nbd:///tmp/nbd.sock: connect_uri: nbd_connect_uri: handshake: server has no export named '': No such file or directory
      I0404 16:26:19.746218 1 vddk-datasource_amd64.go:147] Waiting for VDDK nbdkit log watcher to stop.
      I0404 16:26:20.753297 1 vddk-datasource_amd64.go:187] Stopped watching nbdkit log. Last lines follow:
      I0404 16:26:20.753316 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_ConnectEx: Establish connection using (null).
      I0404 16:26:20.753320 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLibConnectInt: Establish connection.
      I0404 16:26:20.753323 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: Resolve host.
      I0404 16:26:20.753326 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: 2024-04-04T16:26:19.697Z warning -[00041] [Originator@6876 sub=transport] SAN transport mode requires a snapshot.
      I0404 16:26:20.753328 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_Open (connection, [example] example-test/example-test_1-000004.vmdk, 4, &handle)
      I0404 16:26:20.753331 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_OpenEx: Open a disk.
      I0404 16:26:20.753334 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: 2024-04-04T16:26:19.697Z error -[00041] [Originator@6876 sub=transport] The disk '[example] example-test/example-test_1-000004.vmdk' is not found for VM vm-45641.
      I0404 16:26:20.753342 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: 2024-04-04T16:26:19.697Z error -[00041] [Originator@6876 sub=transport] GetDiskToken: cannot create disk spec for disk [example] example-test/example-test_1-000004.vmdk.
      I0404 16:26:20.753347 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: There is no avaiable transport mode when attempting to open disk. Cannot create disk spec for disk [example] example-test/example-test_1-000004.vmdk at 6502.
      I0404 16:26:20.753350 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_OpenEx: Cannot open disk [example] example-test/example-test_1-000004.vmdk. Error 13 (You do not have access rights to this file) (Cannot create disk spec for disk [example] example-test/example-test_1-000004.vmdk) at 7072.
      I0404 16:26:20.753353 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_Open: Cannot open disk [example] example-test/example-test_1-000004.vmdk. Error 13 (You do not have access rights to this file) at 7146.
      I0404 16:26:20.753355 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_GetErrorText (13)
      I0404 16:26:20.753360 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: error: VixDiskLib_Open: [example] example-test/example-test_1-000004.vmdk: You do not have access rights to this file
      I0404 16:26:20.753363 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_FreeErrorText ()
      I0404 16:26:20.753365 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_Disconnect (connection)
      I0404 16:26:20.753369 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_Disconnect: Disconnect.
      I0404 16:26:20.753371 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: Backup Failure Function: VixDiskLib_Open
      I0404 16:26:20.753374 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: Backup Failure Error: 13
      I0404 16:26:20.753376 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters.
      I0404 16:26:20.753379 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_FreeConnectParams (params)
      I0404 16:26:20.753381 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters.
      I0404 16:26:20.753383 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: replying to NBD_OPT_GO with NBD_REP_ERR_UNKNOWN
      I0404 16:26:20.753385 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: replying to NBD_OPT_ABORT with NBD_REP_ACK
      I0404 16:26:20.753388 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: vddk[1]: debug: write: NBD_OPT_ABORT: Broken pipe
      I0404 16:26:20.753390 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: debug: retry: cleanup
      I0404 16:26:20.753392 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: debug: cacheextents: cleanup
      I0404 16:26:20.753394 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: debug: vddk: cleanup
      I0404 16:26:20.753396 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: debug: VDDK call: VixDiskLib_Exit ()
      I0404 16:26:20.753398 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: debug: VixDiskLib: VixDiskLib_Exit: Unmatched Init calls so far: 1.
      I0404 16:26:20.753401 1 vddk-datasource_amd64.go:216] Log line from nbdkit: nbdkit: debug: OBJLIB-LIB: ObjLib cleanup done.
      I0404 16:26:20.753405 1 vddk-datasource_amd64.go:189] End of nbdkit log.
      I0404 16:26:20.753414 1 vddk-datasource_amd64.go:149] Stopped VDDK nbdkit log watcher.
      E0404 16:26:20.753423 1 vddk-datasource_amd64.go:875] Unable to start nbdkit: connect_uri: nbd_connect_uri: handshake: server has no export named '': No such file or directory
      I0404 16:26:20.753627 1 vddk-datasource_amd64.go:305] Logged out of VMware.
      E0404 16:26:20.753633 1 importer.go:321] connect_uri: nbd_connect_uri: handshake: server has no export named '': No such file or directory

      Customer is using the administrator account for vmware and have confirmed Warm Migrations work from the same environment.

      -Cold Migrations are failing from a vCenter which is 8.x version. Warm migrations are good.

      • Cold migrations from different vCenter which 7.x version is working fine.

            ahadas@redhat.com Arik Hadas
            shaselde@redhat.com Sean Haselden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: