Check that vm-open-tools are installed #207
Comments
I believe can be a big issues if we silently do not work if cm-open-tools is not installed. We absolutely should do a simple check and at least print an error message IMO. |
One option is to add the dependency to rpm and deb to check for vm tools being installed. |
that would be very good. However there are "Vmware tools" (no rpm package) and open-vm-tools. Can you put dependency on presence of a kernel module (lsmod | grep vmw_vmci) ? |
NOTE: this obviously includes test and doc if needed, so closing #268 as dup |
Document for TP and add code level dependency for Beta. |
There are complications for checking VMCI.
Thus, adding pre installation checks are both complex and not sufficient. Run time checks equate to calling the VMCI code and getting a failure. Thus, logging has been enhanced to help outline the possible reasons. |
#452 will address the logging requirements. |
Since the cause of communication failures need more info than what can be packed into a log message. Forward the customer to the FAQ. 2016-06-11 00:15:06.869406637 +0530 IST [WARNING] 'list' failed: connection reset by peer (errno=104). Hit communication issue with ESX (vmci or ESX service) Please refer FAQ https://github.com/vmware/docker-volume-vsphere/wiki#faq
Add additional logging for vmci failures. Fixes #207
Summary:
need to check that either vm-open-tools or vmware-tools (or just vmci kernel module) are installed
Details:
The code works only if the Linux VM (running Docker) is running under ESX and vm-open-tools or vmware-tools are installed. If they are not, some mystery bugs will be reported.
Plugin GO code needs to check that the vm-open-tools or vmware-tools are installed, and that it is indeed ESX VM (we can see it in BIOS). This will simplify troubleshooting and accelerated solving customer install issues.
As an alternative, we can write a "check-prerequisites" script thst does all that and (eventually) more.
The text was updated successfully, but these errors were encountered: