Symptoms:
yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():81 - INFO - Running command: /usr/lib/vmware-vmdir/bin/vdcresetMachineActCred -u administrator
yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():99 - INFO - Command exited with exitcode : 32
yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():101 - WARNING - Command failed with following error:
yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():102 - WARNING - b'password: \n'
yyyy-mm-dd hh:mm:ss - pnid_utils-run_command():109 - INFO - Done running command
yyyy-mm-dd hh:mm:ss - pnid_utils-restart_services():1598 - ERROR - password:
yyyy-mm-dd hh:mm:ss - pnid_utils-update_task_status():1444 - INFO - Task : Failed to reset machine account.
yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: VmDirSendLdapResult: Request (Bind), Error (LDAP_INVALID_CREDENTIALS(49)), Message ((49)(SASL start failed.)), (0) socket (127.0.0.1)
yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: Bind Request Failed (127.0.0.1) error 49: Protocol version: 3, Bind DN: "", Method: SASL
yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: VmDirSRPGetIdentityData ([email protected]) failed, (9106)
yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: VmDirSRPGetIdentityData ([email protected]) failed, (9106)
yyyy-mm-dd hh:mm:ss err vmdird t@140291113727744: SASLSessionStart: sasl error (-20)(SASL(-13): user not found: no secret in database)
OR
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: InternalModifyEntry: VdirExecutePostModifyCommitPlugins - code(9703)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: VmDirSendLdapResult: Request (Modify), Error (LDAP_NO_SUCH_OBJECT(32)), Message (read entry (cn=vcenter.domain.com.domain.com,ou=domain controllers,dc=example,dc=com) failed), (0) socket (127.0.0.1)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: VmDirSRPGetIdentityData (vcenter.example.com.example.com) failed, (9106)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: VmDirSRPGetIdentityData (vcenter.example.com.example.com) failed, (9106)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: SASLSessionStart: sasl error (-20)(SASL(-13): user not found: no secret in database)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: VmDirSendLdapResult: Request (Bind), Error (LDAP_INVALID_CREDENTIALS(49)), Message ((49)(SASL start failed.)), (0) socket (127.0.0.1)
yyyy-mm-dd hh:mm:ss err vmdird t@140424601650944: Bind Request Failed (127.0.0.1) error 49: Protocol version: 3, Bind DN: "", Method: SASL
"vcenter.domain.com.domain.com"
which is incorrect.
This is a known issue with PNID change workflow. Engineering is aware of this and will be working on code changes to handle this situation correctly
Ensure a proper backup/snapshot of the vCenter prior to following the below steps.
Workaround:
To workaround this issue, we need to perform the PNID change twice: