Unable to activate Workload Management for vSphere Kubernetes Server on the vCenter UI.
search cancel

Unable to activate Workload Management for vSphere Kubernetes Server on the vCenter UI.

book

Article ID: 319411

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • 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.
  • Following log entries are observed under /var/log/vmware/wcp/wcpsvc.log in the vCenter Server: 

    YYYY-MM-DDT|HH:MM:SS.Z info wcp [auth/session.go:226] Got session for [email protected]
    YYYY-MM-DDT|HH:MM:SS.Z debug wcp [auth/handlers.go:160] Successfully validated session token.
    YYYY-MM-DDT|HH:MM:SS.Z 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]
    YYYY-MM-DDT|HH:MM:SS.Z info wcp [wcp/in_product_trial.go:33] [opID=644816e0] API called to set in-product trial.
    YYYY-MM-DDT|HH:MM:SS.Z 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

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.

Resolution

  1. SSH to vCenter server as root
  2. 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

  3. Close the SSH connection to vCente
  4. Retry the Workload Management wizard