YYYY-MM-DDT HH:MM:SS.###Z error wcp [eamlib/lister.go:84] [opID=EAMAgent] Failed to get EAM agencies. Err ServerFaultCode: NotAuthorizedYYYY-MM-DDT HH:MM:SS.###Z error wcp [informer/informer.go:129] [opID=EAMAgent] Failed to list EAMAgent. Err ServerFaultCode: NotAuthorizedYYYY-MM-DDT HH:MM:SS.###Z error wcp [clustersvc/monitor.go:218] [opID=vCLS] Failed to get EAM agencies: ServerFaultCode: NotAuthorized
YYYY-MM-DDTHH:MM:SS error wcp [library/cl_operations.go:299] [opID=cl-5a9b8d2d-406d-4bfd-8fe3-4b6acbd5a5de] Failed to create download session for itemID: 3415ab7a-a162-4da5-9e75-c37b8f98d373, error: POST http://<FQDN>:1080/rest/com/vmware/content/library/item/download-session: 403 Forbidden
YYYY-MM-DDTHH:MM:SS error wcp [content/controller.go:446] [opID=cl-5a9b8d2d-406d-4bfd-8fe3-4b6acbd5a5de] Failed to download item file 3415ab7a-a162-4da5-9e75-c37b8f98d373, itemFileName: spherelet-solution-##.###.##.##.3.0-24522471.json, err: POST http://<FQDN>:1080/rest/com/vmware/content/library/item/download-session: 403 Forbidden
YYYY-MM-DDTHH:MM:SS error wcp [content/controller.go:373] [opID=cl-5a9b8d2d-406d-4bfd-8fe3-4b6acbd5a5de] Failed to process spherelet item 3415ab7a-a162-4da5-9e75-c37b8f98d373, err: POST http://<FQDN>:1080/rest/com/vmware/content/library/item/download-session: 403 Forbidden
YYYY-MM-DDTHH:MM:SS error wcp [content/controller.go:328] [opID=cl-5a9b8d2d-406d-4bfd-8fe3-4b6acbd5a5de] Error processing Spherelet items, err: POST http://<FQDN>:1080/rest/com/vmware/content/library/item/download-session: 403 Forbidden
vCenter 9.x
vSphere Kubernetes Service
The issue is caused by the internal Workload Control Plane (WCP) service account, formatted as wcp-<vCenter Machine ID>, losing or missing the Administrator role at the Global Permissions level in vCenter.
/var/log/vmware/wcp/wcpsvc.log
YYYY-MM-DDT HH:MM:SS.###Z error wcp [library/cl_operations.go:299] [opID=cl-####] Failed to create download session for itemID: ####, error: POST http://<vCenter FQDN>:1080/rest/com/vmware/content/library/item/download-session: 403 Forbidden
YYYY-MM-DDT HH:MM:SS.###Z error wcp [workload/controller.go:1227] [opID=####] Error setting permission for workload <Namespace Name>: error while setting VC permissions ... on workload entity Folder: <Folder ID>: ServerFaultCode: Permission to perform this operation was denied.
/var/log/vmware/vpxd/vpxd.log
YYYY-MM-DDT HH:MM:SS.###Z warning vpxd[####] [Originator@6876 sub=MoHost opID=####] Failed request to VAPI service; Error: com.vmware.vapi.std.errors.error Messages: vcenter.wcp.api.error<API request to VMware vCenter Server (vpxd) failed. Details 'ServerFaultCode: Permission to perform this operation was denied.'>
To resolve this issue, you must manually restore the Administrator role to the WCP service account at the Global Permissions level.
Log in to the vSphere Client with an account that has Administrator privileges.
Navigate to Administration > Access Control > Global Permissions
Search for the user account starting with wcp- (e.g., wcp-<vcsa-machine-id>@vsphere.local).
Command to get the vCSA Machine ID: /usr/lib/vmware-vmafd/bin/vmafd-cli get-machine-id --server-name localhost
If the account is missing or has incorrect permissions:
Click Add.
Domain: Select the local SSO domain (usually vsphere.local).
User/Group: Enter the full wcp-<vcsa-machine-id> identified in Step-3.
Role: Select Administrator.
Propagate to children: Ensure this checkbox is Selected.
Click OK to save the changes.
Connect to the vCenter Server Appliance via SSH.
Restart the WCP service to trigger a re-initialization of the upgrade process:vmon-cli --restart wcp
Monitor the Supervisor Cluster status in the vSphere Client. It should move from "Configuring" to "Running" (Normal) once the service re-authenticates and completes the pending tasks.
Granting permissions at the Global level is necessary because WCP manages objects across multiple hierarchies (Folders, Content Libraries, and EAM) that require high-level authorization to synchronize state during a major version upgrade.