Replication with VMware agent fails with the message: Backup creation failed with code 500

Replication with VMware agent fails with the message: Backup creation failed with code 500

Challenge 

Replication with VMware agent fails with the following error message:
"Backup creation failed with code 500, reason: Command '['umount', '/tmp/e9dc80e9-0a54-4991-9003-edeffd7e4920']' returned non-zero exit status 32"

Cause

In case of using vCenter with VMware as the target cloud, Acura and its agents require access to all given ESXi hosts.

Solution

There are two ways to resolve this. You can either:
  1. configure DNS for the Replication agent's instance through /var/run/network/interfaces
  2. or add host entries for all present VMware hosts into Replication Agent's /var/run/hosts file.