HCX log shows "The provided key is invalid" error
search cancel

HCX log shows "The provided key is invalid" error

book

Article ID: 371017

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • In the HCX Cloud admin UI (port 9443) under Configuration -> Licensing and Activation, the license is displayed as valid with an Active status.
  • On the HCX logs, you see the following message "The provided key is invalid" :

    /common/logs/admin/app.log
2024-06-26 22:00:00.447 UTC [LicensingService_SvcThread-29869, Ent: HybridityAdmin, , TxId: 87f9477d-5a00-457f-8b43-b4d989bc45a8] ERROR c.v.v.h.license.VLicenseChecker- Serial Key Error. Error Message : Invalid Serial Number Format
2024-06-26 22:00:00.447 UTC [LicensingService_SvcThread-29869, Ent: HybridityAdmin, , TxId: 87f9477d-5a00-457f-8b43-b4d989bc45a8] ERROR c.v.v.h.s.ActivationKeyUtil- Not a valid license key, licenseKey: ################################
2024-06-26 22:00:00.447 UTC [LicensingService_SvcThread-29869, Ent: HybridityAdmin, , TxId: 87f9477d-5a00-457f-8b43-b4d989bc45a8] WARN  c.v.v.h.s.licensing.LicensingUtil- Provided key is not a base license key, reason is: The provided key is invalid. In case you do not have a valid key contact your administrator for assistance.

 

Environment

HCX 4.9 or later.
Activation keys generated for VMware Cloud on AWS, hyperscalers, and cloud provider environments entitled to HCX.

Cause

There have been significant changes to HCX licensing starting from version 4.9 .
The new VCF local license check does not recognize the hyperscalers activation key, resulting in errors.

Resolution

These errors can be safely ignored, as they do not impact HCX licensing or its services.

 

Additional Information

The HCX release notes for version 4.9 covers the license changes.
For more information regarding license, please access About HCX Licensing documentation.
Also refer Activating New HCX Systems:.