Duplicate Cloud Service Account for VMware named "empty" is created using incorrect UUID


Description

When creating a Cloud Service Account for VMware, an empty account is created on your instance.

Steps to Reproduce

  1. Log into the instance with Cloud Management Plugin installed
  2. In the Navigation Filter type "Service Accounts" or go to /cmdb_ci_cloud_service_account_list.do
  3. Create a new Service Account for VMware following this doc: Create a service account for cloud discovery
  4. Enter the wrong UUID for Account ID and fill all the mandatory fields.
  5. Run discovery for datacenter.
  6. Select any discovered DC and discover the resource.
  7. Go back to your list of Service Accounts and observe that there is one dummy (empty) service account got created.

Workaround


Related Problem: PRB1314608