Unable to add a disk to a machine containing a snapshot in Aria Automation
search cancel

Unable to add a disk to a machine containing a snapshot in Aria Automation

book

Article ID: 336682

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • In Aria Automation, attempt to add a disk to a VM that has a snapshot fails with an error similar to:

com.vmware.vim25.FileAlreadyExistsFaultMsg: Error from vCenter: Cannot complete the operation because the file or folder [vsanDatastore] <id>/vm-name-01-000003_1.vmdk already exists

  • You have enabled the vSphere default disk file naming feature in Aria Automation using API toggle:

https://<host>/provisioning/config/toggles

{
   "key": "enable.vsphere.default.disk.file.naming",
   "value": "true"
}


Environment

VMware Aria Automation 8.14.x

Cause

The task fails due to the name of the disk already existing. The disk name generation does not take into account the snapshots present and attempts to duplicate the source disk name.

Resolution

A permanent fix will be introduced in version 8.14.1 of Aria Automation.


Additional Information

For more related information, see What can I do with standard disk storage in VMware Aria Automation documentation.