vRealize Operations - vRealize Automation upfront price is incorrect
search cancel

vRealize Operations - vRealize Automation upfront price is incorrect

book

Article ID: 320339

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Symptoms:
Upfront pricing in vRealize Automation shows incorrect results intermittently.

In the bm-controller.log you will see output similar to the following:

2022-10-27T16:27:20,860+0000 INFO [ServerConnection on port 10000 Thread 2335] com.vmware.vcops.businessmgmt.bridge.server.PlanningServiceImpl - Running planning service
2022-10-27T16:27:21,366+0000 WARN [ForkJoinPool.commonPool-worker-0] com.vmware.vrbc.vrops.cloudcomparison.interaction.impl.VropsModelAccessorImpl - Policy Id: [Unassigned], associated with Resource ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx is not a valid UUID
2022-10-27T16:27:21,366+0000 WARN [ForkJoinPool.commonPool-worker-0] com.vmware.commons.vrbc.vrops.VropsQueryService - Could not fetch Metering Policy with PolicyId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
2022-10-27T16:27:21,366+0000 WARN [ForkJoinPool.commonPool-worker-0] com.vmware.commons.vrbc.vrops.VropsQueryService - Could not fetch Metering Policy with PolicyId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx



In CAS adapter logs (/storage/log/vcops/log/adapters/CASAdapter) you may see an ERROR similar to the following:

2022-10-27T18:53:16,753+0000 ERROR [CASAdapterDataCollectionThread thread 8 >> Project >> MeteringPolicy] (47) com.vmware.adapter3.cas.util.CASAdapterUtil.handleResponse - Error connecting to CAS for URL =https://api.mgmt.cloud.vmware.com/price/api/private/pricing-card-assignments?expandPricingCard=true&$top=100&$skip=0 response is, <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>
 response code is 502
2022-10-27T18:53:16,753+0000 ERROR [CASAdapterDataCollectionThread thread 8 >> Project >> MeteringPolicy] (47) com.vmware.adapter3.cas.collector.resource.MeteringPolicyCollector.getResourceModelsFromSpecifiedURL - Unable to get a response for the API call https://api.mgmt.cloud.vmware.com//price/api/private/pricing-card-assignments?expandPricingCard=true&$top=100&$skip=0


Resolution

There is currently no resolution, please follow the workaround.

Workaround:
  1. Re-sync the pricing policies in vRealize Automation.
  2. Wait for about 10-20 mins for the vRealize Operations to finish a successful data collection
  3. Retry upfront pricing.