After upgrading a CoreOS virutal machine, the open-vm-tools in /usr/share/oem/ is not upgraded
book
Article ID: 337961
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
Symptoms:
- The CoreOS virtual machine has been upgraded to build 660.0.0 or later.
- The version of open-vm-tools is still 9.4.6 after the operating system upgrade.
Environment
VMware vSphere ESXi 6.0
VMware vSphere ESXi 5.5
Cause
This issue occurs due to the Operating System update mechanism of CoreOS no longer updates the /usr/share/oem/ partition.
Resolution
To work around this issue deploy a new CoreOS installation and copy the open-vm-tools from this installation.
- Stop the running vmtoolsd service with this command:
sudo systemctl stop vmtoolsd
- Backup the /usr/share/oem/cloud-config.yml file.
- Deploy a new CoreOS virtual machine using the same build as the affected virtual machine.
- Verify that the deployed virtual machine contains the correct version of open-vm-tools.
- On the affected virtual machine, delete all files under /usr/share/oem/.
- Copy the files in the /usr/share/oem/ directory from the freshly installed virtual machine to the affected virtual machine.
- Open the cloud-config.yml that was backed up earlier and modify the version-id to the version from step 3.
- Copy the cloud-config.yml file to /usr/share/oem/.
- Reboot the virtual machine.
Feedback
thumb_up
Yes
thumb_down
No