Daily Price Estimate shows error for catalog items with OVF-based images from Content Library Items
search cancel

Daily Price Estimate shows error for catalog items with OVF-based images from Content Library Items

book

Article ID: 432920

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

When requesting upfront price for a catalog item, the Price Estimate may fail with the error: Invalid storage class size for the '<storage policy>', must be greater than 0.

Sample of a Pricing Error in a Catalog Item Request

The pricing estimate fails when requesting a VM from a catalog item with an OVF image:

 

Storage Configuration

The environment has a single storage class configured:

 

 

Environment

VCF Automation 9.1.0.0

Cause

The pricing estimation service requires the storage class size (disk capacity) of the VM image to calculate the daily price. For OVF-based images, the content library item API currently does not provide total capacity for those disks and hence the validation throws the error.

Resolution

The VM itself deploys successfully even though the pricing estimate fails. Users can proceed with the deployment and ignore the pricing estimate error.