VMware Cloud Community
aenagy
Hot Shot
Hot Shot
Jump to solution

Can Host Profiles be used to join a host to a dvSwitch? (vSphere 6.0)

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?

0 Kudos
1 Solution

Accepted Solutions
aenagy
Hot Shot
Hot Shot
Jump to solution

In my case I ended up re-deploying the host. After that the Host Profiles were able to add the host to the dvSwitch. It would seem that the clear configuration option isn't enough.

View solution in original post

0 Kudos
4 Replies
msripada
Virtuoso
Virtuoso
Jump to solution

I havent tried it but you can try the steps in the below url

Use Host Profiles to deploy vDS

did you try extracting the host profile from an existing host which is already part of dvs?

Thanks,

MS

0 Kudos
aenagy
Hot Shot
Hot Shot
Jump to solution

I havent tried it but you can try the steps in the below url

Use Host Profiles to deploy vDS

Yes. This was one of the resources I consulted.

did you try extracting the host profile from an existing host which is already part of dvs?

Yes. That's how the original Host Profile was created.

0 Kudos
BattleNerd
Enthusiast
Enthusiast
Jump to solution

I'm having the same issue, we have 6x vDS Switches and host profile fails in 6.5 as well.... I was thinking of opening up a support ticket to see what is going on as I can't afford to spend a lot more time on this.... Has anyone found anything new on this?

0 Kudos
aenagy
Hot Shot
Hot Shot
Jump to solution

In my case I ended up re-deploying the host. After that the Host Profiles were able to add the host to the dvSwitch. It would seem that the clear configuration option isn't enough.

0 Kudos