Remove duplicate Service account entry from SDDC manager
search cancel

Remove duplicate Service account entry from SDDC manager

book

Article ID: 423378

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • Retrieving the service account secret password using a GET request displays a duplicate service account entry, as highlighted below.

# TOKEN=$(curl -d '{"username" : "<sso_username>", "password" : "<sso_password>"}' -H "Content-Type: application/json" -X POST http://127.0.0.1/v1/tokens | jq -r '.accessToken')
# curl -k -X GET -H "Authorization: Bearer "$TOKEN"" --insecure 'https://localhost/v1/system/credentials/service' | json_pp | less

{
      "serviceType" : "SDDC_MANAGER",
      "entityId" : "9189####-####-####-####-########8251",
      "username" : "svc-vcf-esxi###,
      "id" : "688dz###-####-####-####-########ad5e",
      "entityType" : "ESXI",
      "targetType" : "ESXI",
      "serviceId" : "2f7a####-####-####-####-########cb79",
      "secret" : "##############",
      "credentialType" : "SSH",
      "creationTime" : 16#######96,
      "modificationTime" : 16#######96

}

{
      "serviceType" : "SDDC_MANAGER",
      "entityId" : "9189####-####-####-####-########8251",
      "username" : "svc-vcf-esxi###",
      "id" : "399ba###-####-####-####-########cb6f",
      "entityType" : "ESXI",
      "targetType" : "ESXI",
      "serviceId" : "3d4b####-####-####-####-########de67",
      "secret" : "##############",
      "credentialType" : "SSH",
      "creationTime" : 17#######97,
      "modificationTime" : 17#######97

}

 

Environment

VMware SDDC Manager

Resolution

The troubleshooting steps requires validation and updates in SDDC manager database. Please raise a Case with Broadcom Support to seek further assistance.

Raise support with Broadcom