VMware HCX - Migration failed with error "JSONObject["peerAppliances"] not found"
search cancel

VMware HCX - Migration failed with error "JSONObject["peerAppliances"] not found"

book

Article ID: 314197

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

Identify a known issue which may cause HCX migration to be stuck in configuration stage and how to recover that.


Symptoms:
HCX migration workflow does not proceed may be stuck in "Received lock request on IX appliance" state.



Below error/exceptions can be seen in HCX app.log on HCX Connector or Cloud system:

ReplicationTransferService_SvcThread-4656, Ent: HybridityAdmin, , TxId: 2586de28-####-####-####-########fb7] ERROR c.v.h.s.r.j.DualLockManagerForReplications- error while getting gateways
org.codehaus.jettison.json.JSONException: JSONObject["peerAppliances"] not found.
	at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:369)

 

Cause

The issue is caused by stale entry of an OLD IX appliance which could've been removed ungracefully by user in the past from either system.

Resolution


Workaround:

You can open a Service Request with VMware Global Support Services and include the required information to work on remediation.



Additional Information

Impact/Risks:

  • All migration workflows are affected.
  • The HCX DR workflow is affected.
  • There is NO impact to Network Extension services.