Problem description
Customer is unable to use current credentials with the Nutanix backup proxy
Backup are failure due to User Credentials
Proxy Deployment fails due to backup credentials
How to validate correct credentials for Nutanix backup Proxy
Procedure
Testing user credentials using the Nutanix API explorer:
Log into Prism Central or Prism Element with the credentials used for the backup proxy
Testing user credential using the curl command on the CVM, linux terminal or powershell
VM API Query for VM by Name:
From Nutanix CLI, Query VM uuid:
ncli vm list name=<vm name> | grep 'Uuid' | grep -v Host | cut -d':' -f2 | awk 'NF{$1=$1;print}'
Get VM information API Call:
From the CVM shell, Linux terminal or Windows Powershell:
curl -kX GET -u <user>:<password> --header "Accept: application/json" 'https://<PC or PE IP or FQDN>:9440/api/nutanix/v3/vms/<VM UUID>' -H 'accept: application/json' -H 'X-Nutanix-Client-Type: ui'
Check the main_service.log on the proxy for errors related to Nutanix API
less /var/log/Phoenix/main_service.log
Check the Prism_Gateway.log on the Nutanix CVM for user account login issues, such as account is locked due to failed authentication attempts
tail -F ~/data/logs/prism_gateway.log
How to reset User account Locked out on Nutanix:
Log into the Nutanix CVM as the Nutanix User.
Run the following command to reset the user account
allssh sudo faillock --user admin --reset