Machine API controller does not use new vCenter credentials

Solution Verified - Updated -

Issue

  • vCenter events show failed login attempts after credentials change, that can lead to account lockout.
  • After following the solution "Modifying the vSphere configuration in RHOCP4 ", the machine-api-controller continues showing 401: Unauthorized error.
  • After changing the password following the documentation steps in "Rotating cloud provider credentials manually" , the machine-api-controller pod will not update and reconcile the new credentials automatically.

    "master-node" error: master-node: reconciler failed to Update machine: failed to reconcile tags: POST https://VCENTER-URL/rest/com/vmware/cis/session: 401 Unauthorized
    

Environment

  • Red Hat Openshift Container Platform (RHOCP)
    • 4
  • VMware vSphere

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content