Virtual Machine Metering Metrics Showing Zero Values
search cancel

Virtual Machine Metering Metrics Showing Zero Values

book

Article ID: 406317

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VCF Operations

Issue/Introduction

  • Zero value for Metrics 'Summary | Metering| Month to Date CPU CPU/Memory/Storage Price' for virtual machines.
  • Cost engine configured to run at host time (GMT+2/ CEST) and Price engine runs at GMT 0.
  • A generated report to calculate cost of virtual machines may return zero values.
  • analytics log
    ERROR [Metering Calculation worker thread 5]  com.vmware.vcops.analytics.metering.meteringengine.MeteringCalculationEngine.calc - Unable to get any value for metric cost|effectiveDailyMemoryCost in time range from 1752530400000 to 1752616800000: most probably cost and pricing engine start times are out of sync, please make sure that pricing engine is scheduled after cost engine completed
    ERROR [Metering Calculation worker thread 7]  com.vmware.vcops.analytics.metering.meteringengine.MeteringCalculationEngine.calc - Unable to get any value for metric cost|effectiveDailyStoragecost in time range from 1752530400000 to 1752616800000: most probably cost and pricing engine start times are out of sync, please make sure that pricing engine is scheduled after cost engine completed 

Environment

VCF Operations 9.0.x
Aria Operations 8.18.x

Cause

When Pricing Policy is based on Cost metrics, cost engine must run before price engine to avoid incorrect calculation.

  • Cost engine configured to run at host time (GMT+2/ CEST) and Price engine runs at GMT 0.

Resolution

Refer below steps to modify Cost Calculation.

  1. Login to VCF/Aria Operations UI page.
  2. Go to Administration > Global Settings.
  3. Change Cost Calculation to 12:00 AM under 'Cost/Price'.
  4. Save the changes.

Note: Changes in the result will reflect in 24hrs.