The data service timed out because a back-end task took more than 120

The data service timed out because a back-end task took more than 120

Today I received error on my vm summary page in Vsphere web client: The data service timed out because a back-end task took more than 120 seconds. See the vsphere-client-virgo.log for more details.

Just before that I removed a test vcenter server, which was connected to my PSC  on production Vsphere instance.

You need to remove a stale vCenter Server from your SSO environment, use the cmsso-util. It may takes a long time but does the job.

To decommission a stale vCenter Server

 

Windows vCenter Server:

  1. On the Platform Service Controller, click Start > Run, type cmd, and click OK. The Command Prompt window opens.
  2. Navigate to C:\Program Files\VMware\vCenter Server\bin\
  3. Run the cmsso-util unregister command to unregister the powered off vCenter Server.

    cmsso-util unregister --node-pnid vCenter-Server-System-Name --username administrator@your_domain_name --passwd vCenter-Single-Sign-On-password

    Here, vCenter-Server-System-Name is the FQDN or IP address of the vCenter Server that you want to decommission. You must run this command only on the Platform Services Controller which your vCenter Server is registered.

decom vcenter

vCenter Server Appliance:

  1. Power off the vCenter Server Appliance that you no longer need.
  2. Log in as root to the appliance shell of the Platform Services Controller appliance with which the vCenter Server Appliance is registered.
  3. To enable the Bash shell, run the shell.set --enabled true command.
  4. Run the shell command to start the Bash shell and log in.
  5. Run the cmsso-util unregister command to unregister the powered off vCenter Server Appliance.

    cmsso-util unregister --node-pnid vCenter-Server-Appliance-System-Name --username administrator@your_domain_name --passwd vCenter-Single-Sign-On-password

    Here, vCenter-Server-Appliance-System-Name is the FQDN or IP address of the vCenter Server Appliance that you want to decommission. You must run this command only on the Platform Services Controller appliance with which your vCenter Server Appliance is registered.

  6. Delete the vCenter Server Appliance that you no longer need from the vSphere inventory.

More at VMware KB.

vovando Avatar

5 responses to “The data service timed out because a back-end task took more than 120”

  1. Darren Avatar
    Darren

    Thank you for this.

    Solved my LAB environment where had deployed an additional VCSA, and since shut it down, then started seeing the “data service timed out 120 seconds” error.

    I just had to restart the “VMware VirtualCenter Server” service and associated services on my primary Windows VC

    Thanks
    Darren

  2. Anestis Avatar
    Anestis

    Is there any way to get a listing of stale vcenter servers? I’m getting the same error message but since the vcenter existed before I came along I’m not sure if there is anything stale in the configuration

    1. Tim Dressel Avatar
      Tim Dressel

      Did you ever get an answer on this? I’ve got the same issue.

  3. Valery Tyurin Avatar
    Valery Tyurin

    Have the same issue on VCSA 6.0. But I haven’t any stale servers.

Leave a Reply

Your email address will not be published. Required fields are marked *