vsphere-automation-sdk-python
vsphere-automation-sdk-python copied to clipboard
Several (old) virtual machines report an incorrect guest OS
Describe the bug
The guest.guestID reported for several of our (old) virtual machines does not match the guest OS configured for the VM or the actual OS of the machine. The vsphere client is also reporting and incorrect Guest OS. Even stranger is that for one machine:
- the configured Guest OS is Debian GNU/Linux 10
- when the machine is powered down the Guest OS reported is Debian GNU/Linux 5
- when the machine is running the Guest OS reported is Debian GNU/Linux 4
- The
guest.guestID
reported by the ansible vmware inventory isdebian4_64Guest
Reproduction steps
1.Configure the Guest OS Version in the vsphere client
2.install the open-vm-tools on the guest
3.configure/run the ansible `vmware_vm_inventory` plugin (based on https://docs.ansible.com/ansible/2.9/scenario_guides/guide_vmware.html)
4. list all systems in the inventory `ansible-inventory --list -i .vmware.yml`
Expected behavior
The guest.guestID in the reported inventory should match the configured Guest OS of the machines (or the actual OS of the system)
Additional context
The specific VM's were all created with older Guest OS's and older versions of VMWare virtual hardware and guest OS settings. The machines have been upgraded and migrated to a new VMWare version. Our current VMWare is vSphere Client version 6.7.0.51000.