vmware-vmsvc.log にIPv6に関するログが大量に出力される

環境

ESXi 6.0u3

CentOS 6(VMware社のvmware-toolsが導入されている)
CentOS 7(open-vm-toolsが導入されている)

※いずれもIPv6を無効にしている環境

現象

以下のログが30秒ごとに出力されている。

# cat /var/log/vmware-vmsvc.log
[2020-02-01T06:02:19.145Z] [ warning] [vmsvc] SlashProcNet_GetRoute6: open(/proc/net/ipv6_route): そのようなファイルやディレクトリはありません
[2020-02-01T06:02:19.145Z] [ warning] [vmsvc] RecordRoutingInfo: Unable to collect IPv6 routing table.

解決法

以下を記入した /etc/vmware-tools/tools.conf を作成する。

[guestinfo]
max-ipv6-routes=0


vmware-tools(open-vm-tools)サービスを再起動しなくても、以下のようなログが出て、発生していた大量のログは出力されなくなる。

[2020-02-01T06:02:33.785Z] [ message] [vmsvc] Log caching is enabled with maxCacheEntries=4096.
[2020-02-01T06:02:33.785Z] [ message] [vmsvc] Core dump limit set to -1


が、不安なのでサービスを再起動しておく。

参考

github.com