The creation of a VI workload domain will fail at the ConfigureNfsDatastoreAction task if an NFS datastore has already been manually mounted.
search cancel

The creation of a VI workload domain will fail at the ConfigureNfsDatastoreAction task if an NFS datastore has already been manually mounted.

book

Article ID: 331418

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

  • In VMware Cloud Foundation (VCF), creating a VI workload domain or adding a cluster with an NFS datastore fails during the ConfigureNfsDatastoreAction task if the datastore was already manually mounted.

  • The following errors are generated on the SDDC Manager in /var/log/vmware/vcf/domainmanager/domainmanager.log:

    ERROR [c.v.v.c.f.p.a.impl.ConfigureNfsDatastoreAction] Execute ConfigureNfsDatastoreAction failed during creation of datastore nfs-datastore with the exception of {}com.vmware.vim.binding.vim.fault.AlreadyExists: The specified key, name, or identifier '/vmfs/volumes/<Datastore-Name>' already exists

Environment

VMware Cloud Foundation 4.x

Cause

The deployment task fails because the specified NFS datastore name or mount path already exists on the ESXi Host.

VMware Cloud Foundation (VCF) requires these parameters to be completely unconfigured on the ESXi Host. Detecting this pre-existing manual setup causes the system to halt the task to prevent conflicts.

Resolution

1. Log directly into the specific ESXi host where the task failed.

2. Navigate to Storage in the left-hand navigation pane.

    • Select the Datastores tab.

    • Right-click the problematic datastore and select Unmount.

3. Return to the SDDC Manager, find the Create VI Workload Domain or Add Cluster task, and click Retry.

Note: The process will resume from the last failed ESXi host. If the task fails again on a subsequent host, simply repeat these steps for each one until the workflow completes.

Additional Information

PR: 2434088