Add a datastore from vCenter fails with "query execution timed out
Add datastore from vCenter fails with "query execution timed out because of a back-end property-provider" (57633)
- When adding a new datastore from Web Client, the following error occurs and Web Client fails to show available LUNs:
The query execution timed out because of a back-end property-provider 'com.vmware.vsphere.client.storage.impl.DatastorePropertyProvider' which took more than 120 seconds
- There are a large amount of unresolved unmounted datastores or snapshot LUNs.
Cause
This is a known issue. When querying list of unresolved VMFS volumes and snapshot LUNs from vCenter, ESXi host performs additional filesystem liveness check for all unresolved volumes. This liveness check takes at least 16 seconds per volume. So there are a large number of unresolved volumes, the query does not complete within the timeout of dataservice at Web Client side and fails to show the volumes.
Resolution
Option 1: Disabling the filesystem liveness check at ESXi host side:
- Log in to VCenter where you can manage the target ESXi host.
- Go to advance settings
- Change VMFS.UnresolvedVolumeLiveCheck to FALSE in the ESXi host's
- Log in to ESXi host as root via console or SSH.
- Edit /etc/vmware/hostd/config.xml and add the following parameter under plugins/hostsvc/storage node.
<checkLiveFSUnresolvedVolume>FALSE</checkLiveFSUnresolvedVolume> - Save changes.
- Restart hostd.
# /etc/init.d/hostd restart
Option 2: Increase the timeout value of dataservice in Web Client:
- Log in to vCenter Server.
- Edit webclient.properties. This file is found in the following location:
- /etc/vmware/vsphere-client/webclient.properties in vCSA
- %ALLUSERSPROFILE%\VMware\vCenterServer\cfg\vsphere-client in Windows vCenter Server - Change the timeout value of dataservice.timeoutSeconds.
dataservice.timeoutSeconds = [TIMEOUT VALUE IN SECONDS] - Save changes.
- Restart Web Client service
service-control --stop vsphere-client
service-control --start vsphere-client
Comments
Post a Comment