When performing the Integration of VMware Aria Operations for Logs with vSphere, you see failures similar to:
In the vCenter Server vSphere Client UI, click on one of the ESXi hosts that was to be configured, expand the Monitor > Tasks view:
vSphere ESXi 7.0.x
vSphere ESXi 8.0.x
vSphere vCenter Server 7.0.x
vSphere vCenter Server 8.0.x
vSphere Cloud Foundation 4.x
vSphere Cloud Foundation 5.x
When reviewing the logging on each ESXi host, you see failures in the hostd logging similar to:
2024-09-04T19:46:49.524Z Er(163) Hostd[2334996]: [Originator@6876 sub=Hostsvc.SyslogConfigProvider opID=xxxxxx-xx-xxxx sid=xxxxxxx user=vpxuser:DOMAIN\svc_VMLogOps] Failed to set global syslog configuration : Failed to resolve remote host syslogServer.domain.com
2024-09-04T20:59:47.128Z Db(167) Hostd[2106387]: [Originator@6876 sub=Solo.Vmomi syslogServer.domain.com user=vpxuser:DOMAIN\svc_VMLogOps] Arg changedValue:
2024-09-04T20:59:47.128Z Db(167) Hostd[2106341]: --> (vim.option.OptionValue) [
2024-09-04T20:59:47.128Z Db(167) Hostd[2106341]: --> (vim.option.OptionValue) {
2024-09-04T20:59:47.128Z Db(167) Hostd[2106341]: --> key = "Syslog.global.logHost",
2024-09-04T20:59:47.128Z Db(167) Hostd[2106341]: --> value = "udp://syslogServer.domain.com:514"
2024-09-04T20:59:47.128Z Db(167) Hostd[2106341]: --> }
2024-09-04T20:59:47.128Z Db(167) Hostd[2106341]: --> ]
2024-09-04T20:59:47.128Z In(166) Hostd[2106387]: [Originator@6876 sub=Solo.Vmomi opID=xxxxxx-xx-xxxx sid=xxxxxxx user=vpxuser:DOMAIN\svc_VMLogOps] Throw vmodl.fault.SystemError
2024-09-04T20:59:47.128Z In(166) Hostd[2106387]: [Originator@6876 sub=Solo.Vmomi opID=xxxxxx-xx-xxxx sid=xxxxxxx user=vpxuser:DOMAIN\svc_VMLogOps] Result:
2024-09-04T20:59:47.128Z In(166) Hostd[2106341]: --> (vmodl.fault.SystemError) {
2024-09-04T20:59:47.128Z In(166) Hostd[2106341]: --> reason = "Internal error",
2024-09-04T20:59:47.128Z In(166) Hostd[2106341]: --> msg = "",
2024-09-04T20:59:47.128Z In(166) Hostd[2106341]: --> }
Further, attempting to manually configure the same remote syslog location fails on the ESXi hosts.
The DNS records are at issue for the remote syslog server that is trying to be configured and/or the ESXi hosts. Check forward and reverse lookup for the ESXi host as well as the remote syslog server that is trying to be configured. Ensure that DNS is set correctly and working for the ESXi host, vCenter Server, and remote syslog server that is trying to be configured.