Retrieve VxRail Manager service account password from the VxRail Manager
book
Article ID: 316059
calendar_today
Updated On:
Products
VMware Cloud Foundation
Issue/Introduction
The lookup_passwords utility on the SDDC Manager does not list the service account passwords for VxRail Manager(s). This KB shows how to retrieve the password that the VxRail Manager itself has srored for the service account to assist in troubleshooting.
Symptoms: Unable to retrieve service account credentials for VxRail in VCF.
Resolution
Get SSH to the VxRail Manager as mystic user and elevate to root user.
su root
Run the following command:
wld01-vxmgr:/home/mystic # curl --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock -X GET "http://localhost/rest/vxm/internal/lockbox/v1/credentials?lockbox_name=SYSTEM&credential_names=management_account_vc"|jq
This should then list the service account password.
Additional Information
Note: The service account username has the following naming convention:
svc-<VxRmanagerHostname>@vsphere.local
Impact/Risks: This has no impact on component performance or runtime.