It's not often you run into a VMware error message that has almost no search engine hits, which we managed to do recently...
When trying to apply an existing host profile to a new host added to a cluster, vSphere errored out:
A general system error occurred: Batch host remediation failed.
A specified parameter was not correct: portgroupName
We later learned that the same error would appear when trying to reapply the host profile to a machine that had been in the cluster for quite some time...
I'll spare you the details, but as it turns out this happened ... because we were configuring vmkernel ports on dvSwitch portgroups in the host profile, and I had changed one of those port group names.
Knowing that, the error message suddenly makes sense 🙄
So instead of changing back the names, we went forward and updated all our host profiles with the new designations, which also meant reacknowledging host profile customizations that were referencing these port groups.
When trying to apply an existing host profile to a new host added to a cluster, vSphere errored out:
A general system error occurred: Batch host remediation failed.
A specified parameter was not correct: portgroupName
We later learned that the same error would appear when trying to reapply the host profile to a machine that had been in the cluster for quite some time...
I'll spare you the details, but as it turns out this happened ... because we were configuring vmkernel ports on dvSwitch portgroups in the host profile, and I had changed one of those port group names.
Knowing that, the error message suddenly makes sense 🙄
So instead of changing back the names, we went forward and updated all our host profiles with the new designations, which also meant reacknowledging host profile customizations that were referencing these port groups.