Migration fails when copying ISO to ESX datastore with special characters in datastore name

  • 7009373
  • 16-Sep-2011
  • 27-Apr-2012

Environment

PlateSpin Protect/Migrate
PlateSpin Forge

Situation

Migration to target ESX host with special symbols ('+', '&', '#', '%') in datastore name will  go to recoverable error at step 'Preparing Files' while taking control of target VM.
 
The error thrown when the job fails is:

Failed to put file from C:\Program Files\PlateSpin Portability Suite Server\Controller\Packages\0\c5506436-36fd-44df-860c-156284138bd5\1\winpe.iso to https://10.99.104.111/folder/platespin/portabilitysuite/administrator/QA-DORISI/9f9073c4-059f-45dd-b9a8-d414919610c3/packages/c5506436-36fd-44df-860c-156284138bd5/1/winpe.iso?dcPath=SingleHost&dsName=storage1%20###3 Unable to write data to the transport connection: An established connection was aborted by the software in your host machine

This issue is caused due to special characters in the name of ESX datastore. The special symbols ('+', '&', '#', '%') are supported by VMware for naming the datastore attached to an ESX server but the problem occurs when we create the URL for ISO images on the datastore. The special symbols are allowed as a valid XML character but not as a URL character.

Resolution

Do not use any special character for datastore name and path. For existing datastores named with special characters, the name needs to be changed to eliminate the special characters.