HCX migration fails with "Failed to reconfigure source Mobility Agent" due to full / directory on IX appliance
search cancel

HCX migration fails with "Failed to reconfigure source Mobility Agent" due to full / directory on IX appliance

book

Article ID: 437508

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

Symptoms:

  • VM migrations via HCX fail at the "Reconfiguring Source Mobility Agent" stage.
  • Users see "Failed to reconfigure source Mobility Agent" in the HCX Manager UI.
  • HCX IX /var/log/vmware/mobilityagent.log has error below:

No space left : /etc/vmware/mobilityagent/mockup-host-config.xml.tmp

Environment

VMware HCX 4.x

Cause

The root (/) partition on the HCX Interconnect (IX) appliance is full. This is often caused by large logs or temporary files accumulating in /tmp, preventing the Mobility Agent service from writing necessary configuration files.

Resolution

 

Delete the unnecessary large files from HCX IX appliance /tmp directory and then retry VM migration:

  • SSH to the affected HCX-IX appliance.
  • Check disk usage: df -h.
  • If / is 100% full, check the /tmp directory: du -sh /tmp/* | sort -rh.
  • Remove large, unnecessary files: rm /tmp/[FILENAME].
  • Confirm space is cleared and retry migration.