Trying to configure cluster "desired state" and during "draft pre checks", might get below errors.
vpxuser,dcui,nsx-user,da-user,nsxuser,mux_user,lldpVim-user,vxpsvc_ptagent_op,esximgmt,baremetal,waiter.
Compliance check failed or skipped on 'x.x.x.x'
/profile/esx/authorization/permissions/3/principal
Validation plugin error: Invalid value 'dcui'.
/var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log
will show entries similar to :Task Failed. Error: Error:--> com.vmware.vapi.std.errors.error
--> Messages:
--> com.vmware.vcIntegrity.lifecycle.ConfigurationCheckComplianceTask.Failure<Compliance check failed or sk
ipped on 'x.x.x.x'.>
-->
Task Failed. Error: Error:--> com.vmware.vapi.std.errors.error
--> Messages:
--> com.vmware.vcIntegrity.lifecycle.DraftConfigurationPrecheckTask.Failure<Draft configuration Precheck ta
sk failed or skipped on 'x.x.x.x'.>
-->
In pre-8.0U3 ESXi, certain internal users' permissions were considered user configurations. As a result, a desired configuration generated using such hosts would include these configurations. However, ESXi 8.0U3 no longer treat these internal configurations as user configurations and have implemented validation checks to prevent them.
This issue is resolved in ESXI 8.0U3,
To workaround this issue, follow any of below options :
Option 1 (remove the internal users permissions from the draft:
Cluster -> Configure -> Configuration -> Create draft -> Remove the problem causing internal users' permissions from the draft config document and apply.
Option 2 (import from ESXi 8.0 U3 host):
Cluster -> Configure -> Configuration -> Draft -> Import from ESXi 8.0U3 host.
This will not import the internal users' permissions and will allow any new configuration to be applied.
Option 3 (create vslauser and remove it):