To resolve this issue, you must ensure that the fileKey parameter value for the template is set correctly.
To determine and ensure that the fileKey parameter value is set for a template:
- Log in to the vCenter Server managed object browser (MOB). The URL for the MOB is https://VC_IP/FQDN/mob.
- Click the Content link.
- Click the group-d1 link.
- Click the datacenter-# (datacenter_name) link corresponding to the affected datacenter.
- Click the group-v3 (vms) link.
- If the template is stored at the root of the data center, click the vm-# (template_name) link for the suspect template. If the template is stored in a folder under the root of the data center, click on the group-v# (folder_name) link and then on the vm-# (template_name) link.
- Click the layoutEx link.
- For each disk listed in the disk area, click the disk[<####>] link and then the chain link. If the fileKey item has no value, this template is causing the issue or is one of multiple templates that are causing the issue.
- Repeat steps 1 to 7 to identify all templates that may be causing the issue.
- After identifying all templates that are causing the issue, convert each of these templates to a virtual machine and then back to a template. This sets the fileKey attribute properly and allows collections against the parent data center to succeed.