While attempting to install NSX onto an ESXi host, the installation fails with the following error message:
Failed to install software on host. Failed to install software on host. ######### : java.rmi.RemoteException: [InstallationError] Failed to query file system stats: Errors: Cannot open volume: cause = Errors: Cannot open volume: Please refer to the log file for more details.
VMware NSX 3.2.3
There may be an issue with the datastore presentation on the ESXi host which is preventing the VIB installation for NSX.
In some instances there may be some stale data preventing the installation from occurring and to provide the most up to date information for the ESXi hosts storage perform the process below:
esxcli storage filesystem list and ensure the datastores are listed as mounted (under the Mounted column it will be listed as True, if the datastore is not showing as mounted, please open a ticket with VMware by Broadcom's storage team)Marking the error as "Resolved" to begin the installation again:
If the above does not resolve the issue, please refer to ESXi host upgrade / Vib upgrade via CLI fails with the error message "Failed to query file system stats: Errors:"