Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #452 from vmware/poormansvmci.kerneltime
Browse files Browse the repository at this point in the history
Add additional logging for vmci failures. Fixes #207
  • Loading branch information
kerneltime committed Jun 10, 2016
2 parents b9338e4 + e4cb0b2 commit 52624ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vmdk_plugin/vmdkops/esx_vmdkcmd.go
Expand Up @@ -92,7 +92,8 @@ func (vmdkCmd EsxVmdkCmd) Run(cmd string, name string, opts map[string]string) (
errno = err.(syscall.Errno)
msg := fmt.Sprintf("'%s' failed: %v (errno=%d).", cmd, err, int(errno))
if errno == syscall.ECONNRESET {
msg += " Check that ESX service is running."
msg += " Hit communication issue with ESX (vmci or ESX service)\n"
msg += " Please refer to the FAQ https://github.com/vmware/docker-volume-vsphere/wiki#faq"
}
log.Warnf(msg)
return nil, errors.New(msg)
Expand Down

0 comments on commit 52624ba

Please sign in to comment.