Closed ventz closed 10 years ago
Just looked at the debug output - the install failed because of an md5sum mismatch. Reasons for this could be that you've changed VMware Tools versions and forgot to re-compute the hash, or a broken/bad/interrupted download.
Can you correct the hashes and re-try?
The md5sum was another problem :) It just happened in that run, but the issue was the /usr/bin/vmware-config-tools.pl having been uninstalled.
In our case - this was produced by deploying the puppet module on existing systems that had the vmwaretools already (latert+running). We initialized a manual un-install on a selected few systems that we could test with, and then installed the puppet module. What happened is that the un-install seemed to uninstall everything successfully but did not unloading the kernel module.
I really think it's a "one-off" type of problem, that most people will not run into, but it would probably be a good idea to check for the dir/file, and if it's not there, just run a re-install since if the core few perl scripts are not present, the rest is probably shot.
Hi,
I'm trying to have a clean-up of outstanding issues on the project - I'll close this ticket as it's had no activity in 4 months - please do re-open if you're still experiencing the issue :)
Thanks, Craig
Hi,
To test out the module, I un-installed the vmware tools from a test box, and realized that while it removed the /usr/bin/vmware-config-tools.pl it didn't unload the module.
I wonder if it's possible to check for that binary/this scenario in this module
vmwaretools::config_tools - Executes vmware-config-tools.pl -d if the vmci.ko module doesn't exist for the running kernel
And execute a "new install" (vmware-config-tools.pl -d) if the binary is not present.
Another way to add an additional check is if "/etc/vmware-tools" is present (which in this case, it's not)
Here is the puppet run:
Notice: /Stage[main]/Vmwaretools::Install::Archive/File[/tmp/vmwaretools/download.sh]/content: --- /tmp/vmwaretools/download.sh 2013-10-31 13:36:55.103142282 -0400 +++ /tmp/puppet-file20131031-11429-4i5r2c-0 2013-10-31 13:50:43.829430932 -0400 @@ -10,7 +10,7 @@ fi }
-DOWNLOAD_URL="http://domain/public/vmware/tools//VMwareTools-8.6.0-446312.tar.gz" +DOWNLOAD_URL="http://domain/public/vmware/tools/VMwareTools-8.6.0-446312.tar.gz" DOWNLOAD_LOCATION="/tmp/vmwaretools/VMwareTools-8.6.0-446312.tar.gz" GOOD_CHECKSUM="9dfb3b1161dee8fb5eedc55b39c3cdf8"
Info: FileBucket adding {md5}7c7f2b3a6fe6f667fdada6922db905fd Info: /Stage[main]/Vmwaretools::Install::Archive/File[/tmp/vmwaretools/download.sh]: Filebucketed /tmp/vmwaretools/download.sh to puppet with sum 7c7f2b3a6fe6f667fdada6922db905fd Notice: /Stage[main]/Vmwaretools::Install::Archive/File[/tmp/vmwaretools/download.sh]/content: content changed '{md5}7c7f2b3a6fe6f667fdada6922db905fd' to '{md5}025cde72be9cf67dbed278800d4d63b7' Info: /Stage[main]/Vmwaretools::Install::Archive/File[/tmp/vmwaretools/download.sh]: Scheduling refresh of Exec[download_vmwaretools] Notice: /Stage[main]/Vmwaretools::Install::Exec/Exec[download_vmwaretools]/returns: Checksum mismatch. Got bfe086a97ae133553795d3ddcbdf24bc, should have been 9dfb3b1161dee8fb5eedc55b39c3cdf8 Error: /Stage[main]/Vmwaretools::Install::Exec/Exec[download_vmwaretools]: Failed to call refresh: /tmp/vmwaretools/download.sh returned 1 instead of one of [0] Error: /Stage[main]/Vmwaretools::Install::Exec/Exec[download_vmwaretools]: /tmp/vmwaretools/download.sh returned 1 instead of one of [0] Error: Could not find command '/usr/bin/vmware-config-tools.pl' Error: /Stage[main]/Vmwaretools::Config_tools/Exec[vmware_config_tools]/returns: change from notrun to 0 failed: Could not find command '/usr/bin/vmware-config-tools.pl'