After upgrading a CoreOS virutal machine, the open-vm-tools in /usr/share/oem/ is not upgraded
search cancel

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.
  1. Stop the running vmtoolsd service with this command:

    sudo systemctl stop vmtoolsd

  2. Backup the /usr/share/oem/cloud-config.yml file.
  3. Deploy a new CoreOS virtual machine using the same build as the affected virtual machine.
  4. Verify that the deployed virtual machine contains the correct version of open-vm-tools.
  5. On the affected virtual machine, delete all files under /usr/share/oem/.
  6. Copy the files in the /usr/share/oem/ directory from the freshly installed virtual machine to the affected virtual machine.
  7. Open the cloud-config.yml that was backed up earlier and modify the version-id to the version from step 3.
  8. Copy the cloud-config.yml file to /usr/share/oem/.
  9. Reboot the virtual machine.