Comment 0 for bug 1804287

Revision history for this message
Oliver Kurth (okurth-1) wrote :

In Ubuntu 18.04, when the VM is booting with disconnected NICs after SRM (Site Recovery Manager) failover, the VGAuthService is initialized by vmtoold far later than deployPkg script execution + the hardcoded 100 seconds timeout for deployPkg POSIX processes.

This causes the SRM guest enrollment script to fail since it is not able to find running VGAuthService in its execution time duration.

The issue is that vgauth starts much later than vmtoolsd. The systemd service should have a dependency on vmtoolsd. Adding this line:

After=vgauth.service

to the file /lib/systemd/system/open-vm-tools.service fixes the issue. This is also done in the package for Fedora (and hence RHEL and CentOS), see https://src.fedoraproject.org/rpms/open-vm-tools/blob/master/f/vmtoolsd.service .

This is a critical issue for us. The issue probably exists in older Ubuntu releases as well. I will also file a bug with Debian.