Performing host compliance check fails with the error: Given Services are not enabled on the port group
book
Article ID: 343166
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Symptoms:
When there are more than one vmk# ports that are enabled with different services in the same dvs portgroup, you experience these symptoms:
Host Compliance check returns the error:
Host Compliance Failures Failures Against Host Profile Given Services are not enabled on the port group <portgroupname> Given Services are not enabled on the port group <portgroupname>
The ESX host declares that it is not compliant with itself .
The compliance check is successful if vMotion and FT logging are disabled in the vmkernel port.
In the %ALLUSERSPROFILE%\Application Data\VMware\VMware VirtualCenter\PyVmomiServer.log file or C:\ProgramData\VMware\VMware VirtualCenter\Logs\PyVmomiServer.log file in vCenter Server, you see entries similar to:
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Environment
VMware vCenter Server 4.1.x VMware vCenter Server 5.0.x VMware vCenter Server 5.1.x VMware vCenter Server 5.5.x VMware vCenter Server 4.0.x
Cause
This issue occurs when host profile cannot handle more than one vmk# ports that are enabled with different services in the same dvs portgroup.
Resolution
This is a known issue affecting VMware vCenter Server.
Currently, there is no resolution. Two workarounds are available.
To work around this issue, use one of these options:
Move each vmk# port that has a service enabled to its individual dvPortgroup within the same dvSwitch. If you do not have sufficient dvportgroups to accomplish this, you may have to create more dvportgroups on the dvSwitch. For more information, see vNetwork Distributed PortGroup (dvPortGroup) Configuration (1010593).
Disable the compliance check for the services by editing the profile. When you disable the compliance check, it does not validate these services (vMotion, FT) on the dvSwitch.
To disable the compliance check:
Edit the profile of the services and navigate to Host virtual NIC folder > service profile > Services for the virtual NIC policy.
where <service> is in the format <dvswitch-name> : <dv portgroup name> : <service>.
Go to Compliance Details and deselect the validation rule.