vApp templates migrations for over 25 organizations result in an error "Cannot read properties of undefined (reading ‘id’)", when logged in as a System Administrator in VMware Cloud Director Availability.
When we login using the organization administrator we don't need to list orgs because there is only one (Tenants cannot browse ORGs, they only see their own ORG) but when we are logged in using the system admin credentials we need to list them all.
VMware vCloud Director Availability 4.6.
This issue occurs when the VMware Cloud Director environment has more than 25 organizations and we log in as a provider / System administrator in VMware Cloud Director Availability, then if the vApp template we are trying to replicate is listed on a position over 25, you see the error "Cannot read properties of undefined (reading ‘id’)".
1. Start with exploring the HAR file from the browser Dev mode. For more information refer to this article:
2. In the vCloud Director HAR logs you see the below entries:
{
"id": "1111111111-2222-3333-4444-555555555555",
"name": "#############",
"displayName": "############",
"enabled": true
},
{
"id": "1111111111-2222-3333-4444-555555555555",
"name": "#########",
"displayName": "#########",
"enabled": true
},
{
"id": "1111111111-2222-3333-4444-555555555555",
"name": "#############",
"displayName": "#############",
"enabled": true
},
{
"id": "1111111111-2222-3333-4444-555555555555",
"name": "IPLAB-####-IL-Arc-AVS",
"displayName": "IPLAB-####-IL-Arc-###",
"enabled": true
}
],
"total": 37,
"offset": 0,
"limit": 25
Workaround:
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Note: This issue is a known issue affecting VMware vCloud Director Availability 4.6 and the versions below.
Impact/Risks:
WARNING: HAR files can capture and contain sensitive data, for example user access tokens or passwords.
Please remove any sensitive information from the HAR file with a text editor before sharing it with Broadcom if required.