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

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 stuck in configuration stage and how to recover that.


Symptoms:
HCX migration workflow will not proceed may got stuck in "Received lock request on IX appliance" state as shown below:

Screenshot 2023-04-10 at 11.27.55 AM.png

Below error/exceptions can be seen in HCX app.log on HCX Connector or Cloud system:
ReplicationTransferService_SvcThread-4656, Ent: HybridityAdmin, , TxId: 2586de28-fa72-4e9a-ae76-ac7769fe8fb7] 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 systems.

Resolution

None at the moment.

Workaround:
User 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 will be affected.
  • The HCX DR workflow wil be affected.
  • There will be NO impact to Network Extension services.