2022-05-11T09:23:25.006Z error vmware-vum-server[11126] [Originator@6876 sub=com.vmware.vcIntegrity.lifecycle.SyncDepotsTask] [SyncDepotsTask 221] Failed to sync depots. Merged depot content is invalid: Error:
--> com.vmware.vapi.std.errors.error
--> Messages:
--> com.vmware.vcIntegrity.lifecycle.depotContent.ValidationError<A depot is inaccessible or has invalid contents. Make sure an official depot source is used and verify connection to the depot.>
To resolve "Sync Updates" error when using UMDS on vCenter where a proxy is enabled, we can workaround this issue by configuring the "no_proxy" variable to include the hostname / IP address of the UMDS server.
cd /etc/sysconfig/
# Enable a generation of the proxy settings to the profile.
# This setting allows to turn the proxy on and off while
# preserving the particular proxy setup.
#
PROXY_ENABLED="yes"
# Some programs (e.g. wget) support proxies, if set in
# the environment.
# Example: HTTP_PROXY="http://proxy.example.com:3128/"
HTTP_PROXY=""
# Example: HTTPS_PROXY="https://proxy.example.com:3128/"
HTTPS_PROXY=""
# Example: FTP_PROXY="http://proxy.example.com:3128/"
FTP_PROXY=""
# Example: GOPHER_PROXY="http://proxy.example.com:3128/"
GOPHER_PROXY=""
# Example: SOCKS_PROXY="socks://proxy.example.com:8080"
SOCKS_PROXY=""
# Example: SOCKS5_SERVER="office-proxy.example.com:8881"
SOCKS5_SERVER=""
# Example: NO_PROXY="www.me.de, do.main, localhost"
NO_PROXY="localhost, 127.0.0.1"
# Enable a generation of the proxy settings to the profile.
# This setting allows to turn the proxy on and off while
# preserving the particular proxy setup.
#
PROXY_ENABLED="yes"
# Some programs (e.g. wget) support proxies, if set in
# the environment.
# Example: HTTP_PROXY="http://proxy.example.com:3128/"
HTTP_PROXY="http://proxy.example.com:3128"
# Example: HTTPS_PROXY="https://proxy.example.com:3128/"
HTTPS_PROXY=""
# Example: FTP_PROXY="http://proxy.example.com:3128/"
FTP_PROXY=""
# Example: GOPHER_PROXY="http://proxy.example.com:3128/"
GOPHER_PROXY=""
# Example: SOCKS_PROXY="socks://proxy.example.com:8080"
SOCKS_PROXY=""
# Example: SOCKS5_SERVER="office-proxy.example.com:8881"
SOCKS5_SERVER=""
# Example: NO_PROXY="www.me.de, do.main, localhost"
NO_PROXY="localhost, 127.0.0.1, umdsserver.example.com"
:wq!