vSphere Update manager cannot scan or remediate Host: Error "vCenter cannot deploy Host upgrade agent to host"
search cancel

vSphere Update manager cannot scan or remediate Host: Error "vCenter cannot deploy Host upgrade agent to host"

book

Article ID: 318466

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • vSphere Update Manager fails to scan or remmediate host
  • The vSphere Webclient shows the error" vCenter cannot deploy host upgrade agent  to host <hostname>
  • Check vua logs Ex: /var/log/vua-1.log shows "OSError: [Errno 28] No space left on device"
  • ls -l / shows /scratch folder is pointing to root /
  • Under ESXi Advanced Settings the Scratch location is set to "/"


Environment

VMware vSphere ESXi 6.7
VMware vSphere Update Manager 6.5.x
VMware vSphere ESXi 7.0.0
VMware Update Manager 7.0
VMware vCenter Update Manager 7.0.x
VMware vSphere Update Manager 6.7.x
VMware vSphere ESXi 6.5

Cause

vSphere Update Manager requires the upgrade agents to be deployed under /scratch and since there was not enough free space under /scratch it failed with error. In the above example /scratch location was incorrectly set to root "/" which is only 32MB in size.

Resolution

Modify the Scratch location to /tmp/scratch folder or another location with enough free space (~250MB or more) by following KB article, Creating a persistent scratch location for ESXi 4.x/5.x/6.x (1033696).