Issue: Assigning license for VSAN shows 0TB usage
search cancel

Issue: Assigning license for VSAN shows 0TB usage

book

Article ID: 387458

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • vSAN disk groups created during 7.x
  • ESXi upgraded to 8.0.x
  • vSAN storage is all flash
  • When assigning license to cluster, the Usage shows 0 TB, but cluster is using more than that. 

Environment

vSphere ESXi 8.x

vCenter 8.x

Cause

During upgrade, the vSAN storage capacity is not updated into configstore to allow usage data to flow to license usage.

 

Resolution

Run the attached python script on each host in the cluster.

1. Download the script attached to KB and upload to each host  in the cluster into /tmp.

2. Run the script in an SSH session on the host by executing: python /tmp/remediateLicense.py 

Attachments

remediateLicense.py get_app