Skip to content

Debugging the plugin

Jonathan Senkerik edited this page Jan 12, 2019 · 2 revisions

Debugging.

Debugging can be enabled to help debug connectivity or other issues. Options available are 'true', 'ip' and 'vmx'.

debug = 'true' will display some general debugging information.

debug = 'ip' will display the ip address of the guest system using two different methods. The primary (preferred) method will be used as soon as it's available (if it becomes available). The second method will be used as a last resort after a set uptime. The plugin can get this information only if vmware tools or open-vm-tools is installed on the vmware guest (preinstalled in the box).

debug = 'vmx' will display the modified vmx file on your local host that ovftool uses and the final vmx file that was sent to the esxi host. This is useful if ovftool complains about it or when you are setting custom_vmx params that causes the guest to fail to start.

You can use each on its own, or combined using spaces.

    esxi.debug = 'true'
or 
    esxi.debug = 'true ip vmx'

NOTE: Please don't send me vagrant debug (vagrant up --debug) information unless it's requested. It usually provides wayyyyy toooo much information and makes it difficult to read what's going on. Also, It doesn't actually enable the plugin debug information!