I have been trying to get a host (ESXi 6.0.0 Update 3 build-5050593) to join a dvSwitch (6.0) using a Host Profile and it keeps failing. This fails for other hosts too. The error in vpxd.log is:
2017-07-31T17:22:31.697-04:00 info vpxd[08692] [Originator@6876 sub=Default opID=cf4e050b-b76b-4d35-b606-22a540f3cd34-2106-ngc-f] [VpxLRO] -- ERROR task-2910 -- HostProfileManager -- vim.profile.host.ProfileManager.applyHostConfiguration: vmodl.fault.InvalidArgument:
--> Result:
--> (vmodl.fault.InvalidArgument) {
--> faultCause = (vmodl.MethodFault) null,
--> invalidProperty = "dvsName",
--> msg = ""
--> }
After a number or rounds of testing I have stripped down a full Host Profile to just "Host Profile > Networking configuration > vSphere Distributed Switch > [DvSwitch Instance] >Uplink port configuration > 2 x [Uplink port configuration]". vmk0 is on a Standard Switch. Other iterations included more of the "Host Profile > Networking configuration" branch, and all cases failed with the same error. I tried resetting the configuration of the host, rejoining to vCenter but this also did not work.
At one point I thought ESXi600-201504401-BG might be the fix, but this is more than two years old and I'm not doing any stateless/AutoDeploy thing at this time.
So, is it possible to join a host to a dvSwitch using a Host Profile?