VCF License fails on the workload domain vCenter after the upgrade from 9.0.2 to 9.1.0.0 with error "vCenter has been removed, but still uses license capacity from the license server"
search cancel

VCF License fails on the workload domain vCenter after the upgrade from 9.0.2 to 9.1.0.0 with error "vCenter has been removed, but still uses license capacity from the license server"

book

Article ID: 455873

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Post upgrading vCenter to 9.1.0.0, 

  • Navigating to VCF Operations UI > Manage > Licenses & Registrations displays the warning: "vCenter has been removed, but still uses license capacity from the license server"
  • Selecting the license server triggers the error  " One or more license servers have assets that have been removed, but still utilize license capacity. You must reclaim used capacity manually."

 

From the VCFOPs logs we see the below entries : 

 /log/adapters/managementadapter/managementadapter.log:

YYYY-MM-DDT1HH:MM:SS.709Z ERROR ManagementAdapter 9232 [ops@4413 threadId="2987441" threadName="vcf-licensing-assign-16593" instanceId="96"] [(96) com.vmware.adapter.management.components.licensing.vcf.EntitlementMutationManager.updateEntitlement] - Task b6b2b20c-be4c-443e-a8fa-c14ce189caef:com.vmware.cis.license.subscription.entitlement.entitlements failed to assigning entitlement ########-####-####-####-##########, task details: Info (com.vmware.cis.task.info) => {
    progress = Progress (com.vmware.cis.task.progress) => {
        total = 100,
        completed = 100,
        message = LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
            id = unused.id,
            defaultMessage = Task failed.,
            args = [],
            params = <null>,
            localized = Task failed.
        }
    },
    result = <null>,
    description = LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
        id = unused.id,
        defaultMessage = Entitlement task,
        args = [],
        params = <null>,
        localized = Entitlement task
    },
    service = com.vmware.cis.license.subscription.entitlement.entitlements,
    operation = update,
    parent = <null>,
    target = <null>,
    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.
}],
        data = <null>,
        errorType = INVALID_ARGUMENT
    },
    startTime = 9/7/26 13:19:27 +0000,
    endTime = 9/7/26 13:19:27 +0000,
    user = VSPHERE.LOCAL\svc-ops-vc-#######-####-####-####-##########-##########-# }

Environment

VCF 9.1.0.0

Cause

The VCF license migration completed as expected during the upgrade sequence; however, a transient error caused the automated vCenter license update task to fail

Resolution

  • Log in to the VCFOPs UI, navigate to the Manage menu, and click on License and Registration.
  • Locate and click on the specific vCenter instance that is currently showing a failed state.
  • Click the  Assign Primary License option to manual link the vCenter back to the Primary license server.
  • Refresh the VCFOPs UI to reload the changes.