Failed to validate operations credentials error while deploying VCH
search cancel

Failed to validate operations credentials error while deploying VCH

book

Article ID: 316998

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article provides the information on the password requirements and exceptions.

Symptoms:
  • You see an error similar to the following when deploying VCH via HTML5 Plugin: 
Failed to validate operations credentials: ServerFaultCode: Cannot complete login due to an incorrect user name or password
  • The operations user is valid and exists in the vCenter. You can successfully login as this user.
  • You see errors similar to the following when deploying VCH via " vic-machine-create" CLI:

time="2020-06-24T21:16:48-05:00" level=error msg=--------------------

time="2020-06-24T21:16:48-05:00" level=error msg="Failed to validate operations credentials: ServerFaultCode: Cannot complete login due to an incorrect user name or password."

time="2020-06-24T21:16:48-05:00" level=error msg="Configuring cannot continue: configuration validation failed"

time="2020-06-24T21:16:49-05:00" level=error msg=--------------------

time="2020-06-24T21:16:49-05:00" level=error msg="vic-machine-windows.exe configure failed: validation of configuration failed\n"


Environment

VMware vSphere Integrated Containers 1.x

Resolution

This issue can occur when there is a special character in the operations user password which is not permissible.
  • To resolve this issue, you would need to ensure certain special characters like " # ? " are not included in the password.
  • Ensure password requirements are compliant and met.