Solving the com.vmware.sps.fault.QsConnectionException error

After en APD (All Path Down) in our hosting environment I had the following error when I tried to do something with the ESXi datastores.


The VMware environment was working correctly.
I started searching the VMware Knowledge base and found KB2064174. This KB describes exactly my problem.

Symptoms 

  • Selecting/browsing a datastore, the VMware vCenter Server 5.1.x displays the error message:

com.vmware.sps.fault.qsconnectionException

  • Selecting the Storage Views of any datastore displays the error message:

cannot initiate storage service

  • vMotion or an offline migration of a virtual machines fails with the below error message:

pbm.fault.PBMFault.summary

Resolution

To resolve this issue, ensure the VMware inventory service and the VMware profile Driven Storage Service are running.

  1. Log in as an administrator to the server that is running the vCenter Server.
  2. Click Start > Run.
  3. Type services.msc
  4. From the list of services, check the status of the VMware inventory service and the VMware profile Driven Storage Service.
  5. If any of these services are not running, right-click on the service and select Start. (A restart of the services may be applicable as well).

Note: If both of the services are not running, start the Inventory service first and the Profile Driven storage service second.

For VMware vCenter Appliance 5.x

Restart virtual center server through the web interface.

  1. Log in to the vCenter Server Appliance’s VAMI (Virtual Appliance Management Interface) at http://<IP/hostname of VC>:5480
  2. Select the Summary tab under vCenter Server.
  3. Click Stop beside vCenter Server to stop the process.
  4. Click Start beside vCenter Server to start the process

In my case all the services where running, so I restarted the VMware vCenter Inventory services. After this restart the error message disappeared when browsing the datastores.

Related articles:

Disclaimer.
The information in this article is provided “AS IS” with no warranties, and confers no rights. This article does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.

Marco

Marco works for ViaData as a Senior Technical Consultant. He has over 15 years experience as a system engineer and consultant, specialized in virtualization. VMware VCP4, VCP5-DC & VCP5-DT. VMware vExpert 2013, 2014,2015 & 2016. Microsoft MCSE & MCITP Enterprise Administrator. Veeam VMSP, VMTSP & VMCE.