HCX - Bulk migration failure due to "InstantiateVmjob" error
search cancel

HCX - Bulk migration failure due to "InstantiateVmjob" error

book

Article ID: 321592

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

This resource is to inform about HCX vSR Bulk migration failure and how to recover that.



HCX vSR Bulk migration may fail during switchover stage with error "InstantiateVmjob failed".


Below Logs can be seen in HCX Cloud Manager logs:

2022-11-15 17:46:38.730 UTC [ReplicationTransferService_SvcThread-53213, Ent: HybridityAdmin, , TxId: TxId: 057eea1b-####-####-####-########b6c] ERROR c.v.h.s.r.jobs.InstantiateVmJob- Error Executing Job (ac0e2ae9-2d1e-4fcd-8953-ed16026123a3)
java.lang.NullPointerException: null
2022-11-15 17:46:38.741 UTC [FailureDetectionService_EventListener, , , TxId: ] INFO  c.v.v.h.f.FailedJobEventsListener- Received a Failed Job, jobType: ReplicationTransferJob workflow type: InstantiateVmJob


Location of App Engine log:

  • HCX Manager: /common/log/admin/app.log

Resolution

This issue is fixed in HCX 4.6.0 release.

Workaround:
As a potential workaround, below steps can be followed to unblock VM instantiation workflow during migration switchover stage.

  • The extended options "Upgrade VMware Tools" must be unchecked (DO NOT tick Apply Option) from migration wizard while configuring BULK migration.

  • Upgrade "VMware tool" can be performed manually post completion of the migration at target side.

Additional Information

Impact/Risks:

  • This only impacts HCX vSR Bulk Migration.
  • There is no impact to RAV, vMotion and COLD migration.
  • Network Extension services remain operational.