Open drvink opened 8 years ago
Thanks for the report. I have reported an internal bug to track it.
Could you please help with details of the Linux distro that we can use to reproduce this issue ourselves? This will also be helpful to test/verify any fixes we make for this.
I'm seeing this on a 64-bit Arch install. Arch doesn't explicitly make releases, so I can't direct you to a specific version to try, but an up-to-date install should allow you to reproduce the issue. If there are any other details you need to know, please specify and I'll be happy to provide them.
Hey, I just ran into this using a NetBSD 6.1 VM with openvmtools installed.
I can confirm I see the same issue in ESXi (build 2809209): Unable to convert Vigor value 'Gentoo-64' of type 'char const*' to VIM type 'Vim::Vm::GuestOsDescriptor::GuestOsIdentifier'
Centos 6 & 7. OracleLinux 6 & 7. ESX 6.0 (5572656)
I figured out that somehow the vmx file on vmware was being configured to use a guestOS only compatible with 6.5 when running ESXi hosts 4,5 or 6 (not 6.5). i reconfigured the vmx to fix this issue, open vm tools had no further issues reporting. the vmx can be reloaded without vm shutdown
I was able to resolve this on Arch Linux (Antergos) by doing the following. I did not have my server name and IP nor the localhost defined in /etc/hosts. Verify that the /etc/hosts file is written correctly and has entries similar to
127.0.0.1 localhost localhost.local 10.0.0.1 myHostname myHostname.myDomain
@a13xchan what was the setting in the VMX file that you changed?
@splitbrained for me and cent os it was the guestOS field in the vmx. I ran at the time vSphere 6 and had yet to upgrade to 6.5 all the cent os vms i created for some strange reason had the guest os set to centos6-64 which is an unsupported guest os config in vSphere 6. centos6-64 is used in 6.5. I changed this to guestOS = "centos-64" which is supported in vSphere 6 and this corrected it.
I corrected it also on a few other linux distro who was configured as guestOS = ... to something not supported by that version of vSphere. There is a difference to what you configure in the vmx file to what the tools detects as the running OS.
This will obviously if you run tools/scripts to make sure that the guestos matches the actual guest os detected by tools flag up inconsistencies but it will not spam the log files/ syslog with "Unable to convert Vigor ...".
While this is probably a Workstation bug, it's possible to work around it by patching vmtoolsd, so I thought I'd make a report here so that it can be forwarded to the right place. (BTW, you might want to indicate in the readme on the master branch that this repo isn't dead, because it looks like the code hasn't been touched for two years unless you click around and notice that there's been activity in the branches.)
I reported this on the VMware forum:
The patch in that thread is a hack to prevent vmtoolsd from providing the information that ultimately makes vmware-hostd crash. In case someone sees this thread hoping for a quick fix, here's an updated one for 9.10.2 (cd to
open-vm-tools-stable-9.10.2/open-vm-tools
and apply withpatch -p2
):