The SSO credential validation was removed before starting stage II restore. So, even if the credentials are invalid, the stage II restore starts but fails during reconciliation without a proper error on the UI. This article is to debug such restore failures.
Symptoms:
VC restore fails while resetting machine account password during reconciliation in stage II.
Reconciliation logs(/var/log/vmware/applmgmt/reconciliation.log) will have error message similar to below snippet.
YYYY-MM-DDTHH:MM:SS.636 [MainProcess:PID-5477] INFO: Resetting machine account password in lotus..
YYYY-MM-DDTHH:MM:SS.719 [MainProcess:PID-5477] ERROR: Command exited with non-zero return code 246. Stdout Stderr dir-cli failed. Error 382312694: Access denied, reason = rpc_s_auth_method (0x16c9a0f6).
YYYY-MM-DDTHH:MM:SS.719 [MainProcess:PID-5477] ERROR: Failed to complete reconciliation.
Error Failed to reset machine account password.
YYYY-MM-DDTHH:MM:SS.398 [MainProcess:PID-5477] ERROR: Failed to post event com.vmware.applmgmt.reconcil.job.failed.event to http://localhost:8085/sdk. Err: [Errno 111] Connection refused