CPM - VMware ESXi password reconciliation failure
141
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:04 PM
Symptom
CPM is not able to reconcile ESXi password, it returns below error message on the screen
Reconciliation Process - Invalid new password while trying to reconcile password. code: 8027
In the plugin console log, we could find below messages
Alternatively, if no one else can see your terminal now, you can pick this as your password: "xxxx“In the next stage of the console log, the system reported a password mismatch error and required a re-try.
send: sending "****\r" to { exp4 }
Re-type new password:
Sorry, passwords do not match.
Try again.
Environment
10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10 CPM--10.5--Windows 2012 R2--ESXi 6.5
Cause
The issue here is the "password: "
This causes a positive match on the password prompt, so the plugin proceeds with sending the new password prematurely.
"Password:|password:.*"? yes
Resolution
We can resolve that issue by updating the password match pattern.
When we are at an actual password prompt we should expect either a space and end of line or just the end of the line after the colon.
So if we update our RegEx with this, it should eliminate the early positive.
IE in (UnixPrompts.ini)
Change
Password=Password:|password:.*
To
Password=[Pp]assword: ?$
After the above changes saved, please reboot the CPM and retest reconcile for that account.