Error: "The license has expired and cannot be assigned" Auto Deploy stateless host fails to connect to vCenter 9.1
search cancel

Error: "The license has expired and cannot be assigned" Auto Deploy stateless host fails to connect to vCenter 9.1

book

Article ID: 446155

calendar_today

Updated On:

Products

VMware Cloud Foundation VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

Upgrading the environment to version 9.1 requires strict adherence to the mandatory component upgrade sequence. For environments using vSphere Auto Deploy with stateless caching, ensure the environment is fully licensed before upgrading stateless hosts to 9.1. vSphere stateless hosts will fail to reconnect to vCenter Server on reboot with the below error if the mandatory component upgrade sequence is not followed.

“The license has expired and cannot be assigned.”

Environment

  • VVF 9.1
  • VCF 9.1

Cause

The vSphere Host Profiles capability is deprecated in ESX 9.0 and will be removed in a future release. ESX hosts provisioned using vSphere Auto Deploy with stateless caching are not eligible for the 90 day evaluation period.

Resolution

Assign a license to the vCenter before upgrading the stateless hosts to 9.1. Follow the correct upgrade sequence mentioned below:

  1. Follow the appropriate upgrade guide based on the current version you are upgrading from. For more information, see Upgrade Sequence for VMware Cloud Foundation and vSphere Foundation 9.1 (KB 440630). Complete all steps in this KB before upgrading the stateless ESX hosts.
  2. After you install VCF Operations 9.1 and a License Server, register and license your environment. For more information, see Registering VCF Operations with the VCF Business Services console. For clarity, VCF Operations and the license server are mandatory components for VCF and vSphere Foundation environments.
  3. If you have not already done so, add the vCenter 9.1 instance to VCF Operations. For more information, see Configuring a vCenter Account in VCF Operations.
  4. Assign a VMware Cloud Foundation or VMware vSphere Foundation license to the vCenter 9.1 instance. For more information, see Assign a Primary License to a vCenter Instance.
  5. Once the vCenter is fully licensed, upgrade the stateless hosts to VCF 9.1.