License assignment fails: "Licenses could not be assigned to vCenters" after VCF 9.1 upgrade
search cancel

License assignment fails: "Licenses could not be assigned to vCenters" after VCF 9.1 upgrade

book

Article ID: 443974

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

After upgrading VMware Cloud Foundation (VCF) to version 9.1, users are unable to license the vCenter Server.

The UI displays the following errors: Licenses could not be assigned to vCenters

In the VCF Operations appliance, the /storage/log/vcops/log/adapters/ManagementAdapter/ManagementAdapter_XX.log displays the following failure: 

status = FAILED,
    cancelable = false,
    error = InvalidArgument (com.vmware.vapi.std.errors.invalid_argument) => {
        messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
    id = unused.id,
    defaultMessage = Missing Entitlement Allocation Id.,
    args = [],
    params = <null>,
    localized = Missing Entitlement Allocation Id.

In vcf-licensing-plugin.log:

YYYY-MM-DDTHH:MM:HH.000Z NOTICE vcf-licensing-plugin 29783 [ops@4413 threadId="1087642" threadName="ServerConnection on port 10000 Thread 253" operationId="#########################"] [com.vmware.vrops.licensing.vcf.task.AssignEntitlementTaskExecutor.executeAssignEntitlementTask] - Executing executeAssignEntitlementTask task ########################## with [VcAssignEntitlementsSpec(vCenterSpec=VcfLicenseVcSpec(vcId=8#########################, vcAssetUri=, vcHostname=<REDACTED_HOSTNAME>, vcAdapterName=<REDACTED_HOSTNAME>, vcfAdapterName=null, vcVersion=9.0), allocationId=########################)] for user ##########################

In the vCenter /var/log/vmware/cis-license/license.log:

YYYY-MM-DDTHH:MM:HH.000Z ERROR CISLicense 34 [vc@4413 threadName="http-nio-0.0.0.0-12080-exec-1" logger="server.vapi.impl.util.VapiTaskUtil"] entitlement update task completed with error: com.vmware.vapi.std.errors.InvalidArgument: InvalidArgument (com.vmware.vapi.std.errors.invalid_argument) => {      messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {      id = unused.id,      defaultMessage = Missing Entitlement Allocation Id.,      args = [],      params = <null>,      localized = Missing Entitlement Allocation Id. }],      data = <null>,      errorType = INVALID_ARGUMENT }
 

 

Environment

VMware Cloud Foundation (VCF) 9.1
vCenter Server 9.1
VCF Operations 9.1

Cause

Invalid '9.0' licensed components remain in the VCF Operations database, which conflicts with applying the new 9.1 license to the vCenter Server.

 

Resolution

This issue will be fixed in an upcoming version of VCF. To obtain a workaround, please open a SR with Broadcom Technical Support and reference this Knowledge Base article 443974 .