Switching back to service credentials fails or returns old credentials in VCF Automation
search cancel

Switching back to service credentials fails or returns old credentials in VCF Automation

book

Article ID: 459794

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VCF Automation

Issue/Introduction

After switching to manual credentials and saving, then switching back to service credentials, one of these happens:

  • Create and validate service credentials fails or never completes.
  • It completes, but the service usernames are the same as before the rotation and validation fails.
  • The Save button stays disabled.

Environment

  • Aria Automation 8.18.x
  • VCF Automation 9.x

Cause

  1. Switching to manual credentials should remove the old service-credential records in VCF Automation. If that cleanup did not happen, the records stay in the table cgs_vcf_servicecredential.
  2. When we switch back, VCF Automation finds the existing vCenter and NSX records for that SDDC Manager and domain and reuses them instead of creating new accounts, thus we get the old credentials.

Resolution

The resolution involves deleting the entry from the database. Do raise a support request with Broadcom Support referring to the KB 459794 for assistance.

Prerequisite:

  1. For VRA 8.18.x: Take a non-memory snapshot of all the vRA nodes, also be sure that there are known good backups to restore from.
  2. For VCFA 9.x : Make sure SFTP backup's are taken as vCenter Snapshot backup's are not supported , Refer Configure SFTP Backup Location for VCF Automation and VCF Management Services for steps.

 

Additional Information

Impact / Risks:

  • Going through the steps with invalid manual credentials leaves the account without a validated connection until you finish.
  • Direct database changes cannot be reversed without a backup.

Reconfigure a VCF cloud account with new service credentials