A few weeks ago I noticed a warning on some of our hosts in our HyperFlex clusters and wondered what was going on. It was only hitting Compute Only nodes in the clusters.
The warning is indicating that the Syslog.global.logDir is not set as per KB2006834. But when I looked via ssh on the host it was logging data and the config option was set so it was working – so why the warning?
Well it turns out to be something not that complicated to fix. The admin who set up the nodes set the option to:
[] /vmfs/volumes/<UUID>/logs/hostname
That is giving it an absolute path on the host like you would do with the ScratchConfig.ConfiguredScratchLocation option. This works but triggers the warning as if it was not set.
The fix is simple. Simply change it to use the DatastoreName notation as this:
[DatastoreName] logs/hostname
This immediately removed the warning and everything continued as it had before.