Symptoms:
- vLCM fails to download the updates from HTTPS depot url if proxy is configured on vCenter Server(VCSA) using credentials
- /var/log/vmware/vmware-updatemgr/vum-server/lifecycle.log:
ImageManagerCTL: 48833: 2020-09-28 14:49:12,290 Downloader:262 INFO Opening https://hostupdate.vmware.com/software/VUM/PRODUCTION/iovp-main/vmw-depot-index.xml for download
ImageManagerCTL: 48833: 2020-09-28 14:49:12,372 DepotCollection:271 INFO Could not download from depot at https://hostupdate.vmware.com/software/VUM/PRODUCTION/iovp-main/vmw-depot-index.xml, skipp
ing (('https://hostupdate.vmware.com/software/VUM/PRODUCTION/iovp-main/vmw-depot-index.xml', '', '<urlopen error [Errno -2] Name or service not known>'))
ImageManagerCTL: 48833: 2020-09-28 14:49:12,372 DepotMgr:137 ERROR Unable to connect to depot(s) https://hostupdate.vmware.com/software/VUM/PRODUCTION/iovp-main/vmw-depot-index.xml:
('https://hostupdate.vmware.com/software/VUM/PRODUCTION/iovp-main/vmw-depot-index.xml', '', "Could not download from depot at https://hostupdate.vmware.com/software/VUM/PRODUCTION/iovp-main/vmw-de
pot-index.xml, skipping (('https://hostupdate.vmware.com/software/VUM/PRODUCTION/iovp-main/vmw-depot-index.xml', '', '<urlopen error [Errno -2] Name or service not known>'))")
Traceback (most recent call last):
File "/usr/lib/vmware-imagebuilder/site-packages/vmware/esximage/Utils/Proxy.py", line 209, in _https_open
h.request(req.get_method(), selector, req.data, headers)
File "/usr/lib/python3.7/http/client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 966, in send
self.connect()
File "/usr/lib/vmware-imagebuilder/site-packages/vmware/esximage/Utils/Proxy.py", line 126, in connect
sock = socket.create_connection((proxyport[0], int(proxyport[1] or 80)))
File "/usr/lib/python3.7/socket.py", line 707, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
- There are duplicate URLs in the Download Source section.