Pivotal Knowledge Base


Bosh Deployment Fails with "Unresponsive Agent" Error due to Unresponsive VMs


  • Pivotal Cloud Foundry® (PCF) Ops Manager versions 1.12 and 2.0
  • vSphere Version 6.0


Bosh deployment fails and throws an error which mentions "unresponsive agent". VM does not respond to "ping" test. The error is seen in the output of the bosh command. 

Error Message:

diego_cell/947e9dcc-e309-4e2a-b575-e39f427e0225unresponsive agentPCF-PEZ-Heritage-RP03   vm-28d4740e-7f5a-4c2e-b009-1445a56351ee  xlarge.disk

Ping test

PING ( 56(84) bytes of data.

--- ping statistics ---

6 packets transmitted, 0 received, 100% packet loss, time 5040ms


VM becomes unresponsive, leading to Bosh deployment failure. There are many possible causes: the Diego subsystem could be hung, the Windows bosh services may have been turned off or never started, or the VM itself may have been terminated, halted or deleted.


  1. Linux: vMotion the unresponsive VM to a new ESXi host
  2. Windows: see procedure below
  3. General: The VM may have been halted, terminated, or deleted. In such case, it should be recreated or resurrected by Bosh or PCF automatically, or it can be created by "bosh cck" (cloud check).

Windows Workaround

Step 1. Get VM ID’s from Bosh

ubuntu@heritage-ops-manager:~$ bosh2 vms -d p-windows-runtime-e5218d09b3122b1e2dae

Using environment '' as user 'director' (bosh.*.read, openid, bosh.*.admin, bosh.read, bosh.admin)

Task 178070. Done

Deployment 'p-windows-runtime-e5218d09b3122b1e2dae'

Instance                                                 Process State       AZ        IPs            VM CID                                   VM Type

windows_diego_cell/2d5e80ea-803f-488a-8efd-3405ee739a9a  failing             PCF-RP04  vm-0f66960b-0173-4d90-99c7-1c1a2ba1b3bb  xlarge.disk

windows_diego_cell/33c31d65-1456-452d-8423-fd38051a0651  failing             PCF-RP02   vm-9ce6c222-82d6-4bfc-9b0c-a9e016182ee6  xlarge.disk

windows_diego_cell/607eb823-52f5-412b-8e10-d0f99753ea51  running             PCF-RP04  vm-ef60d65b-0f87-4d75-aa84-eea613759a5c  xlarge.disk

windows_diego_cell/7b083c21-5c70-43a1-aaa5-f51b0aee1728  failing             PCF-RP04  vm-50adbef9-ea1c-477d-a934-5537b8a68793  xlarge.disk

windows_diego_cell/d4c8eaf7-a0a0-4c58-9b0d-a7f98bb2e2f9  unresponsive agent  PCF-RP01   vm-f99d0193-9adb-4706-a9f9-3388b7e611e4  xlarge.disk

windows_diego_cell/ecbf57fc-1eef-4e98-876c-bbe2d8fd19ad  unresponsive agent  PCF-RP03  vm-8df9bc88-d2e1-4ecc-82f3-269c4f01c359  xlarge.disk

windows_diego_cell/f8b4cc6a-00a1-4072-86b6-b1cbaaf74616  unresponsive agent  PCF-RP03  vm-1bad1e18-6b85-41f9-8a8d-7c86e32aceca  xlarge.disk

windows_diego_cell/fdc80ed0-79fc-4436-8846-da84d22f9bf0  unresponsive agent  PCF-RP03  vm-b8bb84bb-1295-40ab-b7d7-748b1bf1cae4  xlarge.disk

8 vms

Step 2: Console into your VM through you IaaS

Login into the Windows VM with your credentials used to create the stemcell.


Step 3. Go to the "Start" menu and then to the Task Manager


Step 4. On the "Services" tab, sort by Name: Bosh Agent. Note it is stopped.


Step 5. Right click on Bosh Agent, select "Open Services".


Step 6. On the Services window, you can see that the BOSH Agent is set to Disabled by default.


Step 7. Right-click on the BOSH Agent, and click "Properties".


Step 8. Change the startup type to "Manual', click "Apply". Windows updates the BOSH Agent.


Step 9. Click "Start". The Bosh Agent starts.

Additional Information

Refer to the Bosh commands are returning 'unresponsive agent article for similar issues.


Powered by Zendesk