Compliance check tasks in vSphere Lifecycle Manager are failing for hosts that are managed using baselines.
The vSphere Update Manager logs, /var/log/vmware/vmware-updatemgr/vmware-vum-server.log, may show the below events:
yyyy-mm-ddThh:mm:ss.Z info vmware-vum-server[44328] [Originator@6876 sub=ServerConnection] [serverConnection 93] connecting vua on port 80
[...]
yyyy-mm-ddThh:mm:ss.Z warning vmware-vum-server[44912] [Originator@6876 sub=IO.Connection] Failed to connect; <io_obj p:0x00007f5dbccb3998, h:30, <TCP '##.##.##.## : 34598'>, <TCP '##.##.##.## : 80'>>, e: 110(Connection timed out), duration: 129636msec
yyyy-mm-ddThh:mm:ss.Z warning vmware-vum-server[44912] [Originator@6876 sub=HttpConnectionPool-000000] Failed to get pooled connection; <cs p:00007f5dc80a3a50, TCP:##.##.##.##:80>, (null), duration: 129637msec, N7Vmacore15SystemExceptionE(Connection timed out)
yyyy-mm-ddThh:mm:ss.Z info vmware-vum-server[27415] [Originator@6876 sub=ServerConnection] [serverConnection 94] connecting vua on port 80
yyyy-mm-ddThh:mm:ss.Zwarning vmware-vum-server[27429] [Originator@6876 sub=IO.Connection] Failed to SSL handshake; SSL(<io_obj p:0x00007f75d404cbc0, h:49, <TCP '##.##.##.## : 38866'>, <TCP '##.##.##.## : 80'>>), e: 104(Connection reset by peer), duration: 1msec
yyyy-mm-ddThh:mm:ss.Zwarning vmware-vum-server[27429] [Originator@6876 sub=HttpConnectionPool-000000] Failed to get pooled connection; <cs p:00007f759c0023d0, TCP:vc_fqdn:80>, SSL(<io_obj p:0x00007f75d404cbc0, h:49, <TCP '##.##.##.## : 38866'>, <TCP '##.##.##.## : 80'>>), duration: 3msec, N7Vmacore15SystemExceptionE(Connection reset by peer: The connection is terminated by the remote end with a reset packet. Usually, this is a sign of a network problem, timeout, or service overload.)
To resolve the issue,
If port 80 cannot be enabled due to security policies, work around by configuring vLCM to communicate with the VUA agent over an alternate port.
To modify the port used by vLCM:
service-control --stop updatemgr
vci-integrity.xml):
cp /usr/lib/vmware-updatemgr/bin/vci-integrity.xml /usr/lib/vmware-updatemgr/bin/vci-integrity.bak
vi /usr/lib/vmware-updatemgr/bin/vci-integrity.xml
<upgradePort> value from 80 to an alternative open port (e.g., 443):
service-control --start updatemgr
Network Port Requirements -