Auto Deploy is constantly restarted when vCenter uses a proxy
search cancel

Auto Deploy is constantly restarted when vCenter uses a proxy

book

Article ID: 385928

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

In the logs of Auto Deploy, there are many snippets reporting [Errno 111] Connection refused.

Use the grep command to flag the keyword "Connection refused", for example: cat /var/log/vmware/rbd/rbd-cached.log | grep  'Connection refused'

Log signature should look like the below

2024-11-29T08:00:53.642 [437731:CacheWorker-3]INFO:cache_inject:cacher responding to injection -- vlcm, https://example_vcenter.com:9087/vum-filedownload/download?file=OFFLINE_BUNDLE_abcdefgh-abcd-efgh-ijkl-abcd01234567.zip
2024-11-29T08:00:53.643 [437731:CacheWorker-3]ERROR:pluginmaster:exception:rbdplugins.vlcm.vmwCacheRequest -- <urlopen error [Errno 111] Connection refused>

Environment


VMware vCenter Server 8.x

Cause

The Auto Deploy service is attempting to download some files from the current vCenter and the proxy used is blocking the request.

Resolution

  • Add the FQDN of this vCenter as excluded from the proxy as written in KB: How to configure Proxy Settings for vCenter Server and then reboot the vCenter to apply the changes.
    • Edit the Proxy Settings by inputting the FQDN in the space highlighted in blue as seen in the picture below.