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

Commit

Permalink
Add additional logging for vmci failures. Fixes #207
Browse files Browse the repository at this point in the history
  • Loading branch information
Ritesh H Shukla committed Jun 10, 2016
1 parent 762be39 commit e0fa79b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vmdk_plugin/vmdkops/esx_vmdkcmd.go
Expand Up @@ -93,6 +93,9 @@ func (vmdkCmd EsxVmdkCmd) Run(cmd string, name string, opts map[string]string) (
msg := fmt.Sprintf("'%s' failed: %v (errno=%d).", cmd, err, int(errno))
if errno == syscall.ECONNRESET {
msg += " Check that ESX service is running."
msg += " Check vmware tools or open vm tools is installed."
msg += " Check vmci and vsock modules are loaded."
msg += " Check vsocket ports are the same between ESX service and plugin."
}
log.Warnf(msg)
return nil, errors.New(msg)
Expand Down

0 comments on commit e0fa79b

Please sign in to comment.