Symptoms: After entering personal information, company information, and completing the evaluation form in the Workload Management the page refreshes and leaves the form blank, rendering users unable to activate workload management.
Environment
VMware vCenter Server 8.0.x VMware vCenter Server 7.0.x
Cause
vCenter is unable to write to the appropriate file in order to activate the evaluation. See below for a sample of the wcpsvc.log:
YYYY-MM-DDT|HH:MM:SS.401Z info wcp [auth/session.go:226] Got session for [email protected] YYYY-MM-DDT|HH:MM:SS.401Z debug wcp [auth/handlers.go:160] Successfully validated session token. YYYY-MM-DDT|HH:MM:SS.401Z debug wcp [namespace/authz.go:59] [opID=wcp-AuthzFilter] Checking privileges for username: VSPHERE.LOCAL\Administrator, groupnames: [[email protected][email protected][email protected][email protected][email protected][email protected][email protected][email protected][email protected][email protected]], resIDs: [{PermissionFolder global-permission}], privs: [Namespaces.Manage] 2023-04-27T20:05:56.405Z info wcp [wcp/in_product_trial.go:33] [opID=644816e0] API called to set in-product trial. 2023-04-27T20:05:56.405Z error wcp [inproducttrial/in_product_trial.go:97] [opID=644816e0] Failed to write the configuration file; file: /etc/vmware/wcp/inProductTrial.yaml, err: open /etc/vmware/wcp/inProductTrial.yaml: permission denied
Resolution
Root access to the vCenter appliance is required to resolve this issue:
SSH to vCenter server as root
Change the permissions of the /etc/vmware/wcp/inProductTrial.yaml to allow read/write access for all users and groups
chmod 666 /etc/vmware/wcp/inProductTrial.yaml
Close the SSH connection to vCenter
Retry the Workload Management wizard
Additional Information
Impact/Risks: This will prevent enablement of Workload Management