VMware Cloud Community
SamWolf
Enthusiast
Enthusiast

Mount datastores to all hosts - 5.5

Good morning,

After the creation of a NFS datastore I am attempting to mount said datastore to all hosts with a call to

host.configManager.datastoreSystem.createNasDatastore(spec)

This call works roughly 60% of the time and my overarching workflow chugs along.

The other 40% of the time the workflow successfully reaches out to vCenter only to fail when attempting to mount the individual servers. The failure cascades through all hosts in the cluster throwing a unknown error in the vCenter console interface.

I am at a loss in regards to why this is happening being that it both inconsistent and provides no explanation from the error.

Has anyone run into this issue or have a recommendation for a fix.

Thanks,

0 Kudos
0 Replies