Vmware ESXI v7.03 issue with network portgroup name same on both standard and dv switches

We recently upgraded our venter to 7.03 and ESXI systems to v7.03 and this issues has started rearing its ugly head. Basically the scenario is as follows:

  • Standard Switch with a port-group name that is the same as Distributed Switch port-group name exists
  • When deploying a new VM via vmware_guest module - the VM is deployed to the Standard Switch, and not the Distributed Switch.

Example:

WormHoleNet on Standard Switch
WormHoleNet on Distributed Switch

Deployment code:

I found that the solution was to update my custom execution environment – which applied the latest VMware SDK.