Symptoms:
"Profile validation failed: check the profile for errors"
and "Required parameter is missing"
errors./var/log/vmware/vpxd/vpxd.log,
we were able to find the following error when updating the host profile:[YYYY-MM-DDTHH:MM:SS] info vpxd[06733] [Originator@6876 sub=Default opID=l7nk989w-8862775-auto-59ykh-h5:70537677-73] [VpxLRO] -- ERROR task-1485428 --
hostprofile-610 -- vim.profile.host.HostProfile.update: vim.fault.ProfileUpdateFailed:
Result:
(vim.fault.ProfileUpdateFailed) {
faultCause = (vmodl.MethodFault) null,
faultMessage = <unset>,
failure = (vim.fault.ProfileUpdateFailed.UpdateFailure) [
(vim.fault.ProfileUpdateFailed.UpdateFailure) {
profilePath = (vim.profile.ProfilePropertyPath) {
profilePath = "security_SecurityProfile_SecurityConfigProfile.security_UserAccountProfile_UserAccountProfile["680
###########################################301"]",
policyId = "security.UserAccountProfile.PasswordPolicy",
parameterId = "password",
policyOptionId = <unset>
},
errMsg = (vmodl.LocalizableMessage) {
key = "com.vmware.vim.profile.host.UpdateError.InvalidPassword.label",
arg = (vmodl.KeyAnyValue) [
(vmodl.KeyAnyValue) {
key = "error",
value = "b'Bad passphrase (not enough different characters or classes)\n'" }
],
message = "Password validation error: b'Bad passphrase (not enough different characters or classes)\n'." }
}
],
(vmodl.KeyAnyValue)
{
key = "module",
value = "/lib/security/$ISA/pam_passwdqc.so"
}, (vmodl.KeyAnyValue) {
key = "arguments",
value = "retry=3 min=disabled,disabled,disabled,disabled,8"
}
VMware vSphere ESXi 7.x
retry=3 min=disabled,disabled,disabled,disabled,8"
, sets the password complexity requirement to require eight characters from four character classes with 3 trials in case of wrong entry.
Workaround:
To workaround this issue in order to use the same password, do the following:
Security.PasswordQualityControl
and update its value to: retry=3 min=disabled,disabled,disabled,7,7