Booting on vSphere fails the cloud-init guest customization due to missing dbus.service dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-vm-tools (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When booting a virtual machine on vSphere there is an error that guest-customiza
I was using: Ubuntu 20.04.2 LTS release deployed to a template using the ova file.
I ran into this problem, when attempting to boot a machine using ansible and ran into this VMWare bug: https:/
To summarize: the vmware tools attempt to use dbus before it's available and guest customization fails, which leads to the network adapters of the VM not being attached.
It seems all that is missing to make this work is to add the missing:
After=dbus.service
dependency to the systemd-service for open-vm-
Once this is added the guest customizations can be used and after booting the network adapters will be attached successfully.
Hello Florian and thanks for this bug report. The vmware page you linked says that:
This issue is resolved in VMware vSphere 6.7 Update 3,
available at VMware downloads.
which makes me think that:
- This is actually a vSphere bug tools.service is a workaround.
- The bug is fixed in the newer versions of vSphere
- The proposed change to open-vm-
Could you please confirm the above, especially the fact that this is now fixed?
Workaround for high-impact issues can be included in Ubuntu if necessary, however I doubt the impact of this problem is high enough to justify a SRU to Focal (see the process details at [1]), especially given that a fix already exists. This makes be doubt that the proposed change is worth including at all, especially given that open-vm-tools is almost a sync from Debian.
However I lack familiarity the the VMware virtualization technology and I may be missing the scope of this problem. Is there a reason why this is better fixed with an Ubuntu upgrade rather than with a vSphere update? Thanks!
[1] https:/ /wiki.ubuntu. com/StableRelea seUpdates